Changeset 9073 for trunk/wp-admin/edit.php
- Timestamp:
- 10/03/2008 12:13:12 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r9069 r9073 100 100 </div></form> 101 101 </div> 102 <div class="wrap">103 102 104 103 <?php … … 111 110 <div id="message" class="updated fade"><p> 112 111 <?php if ( (int) $_GET['updated'] ) { 113 printf( __ngettext( '%d p age updated.', '%d pages updated.', $_GET['updated'] ), number_format_i18n( $_GET['updated'] ) );112 printf( __ngettext( '%d post updated.', '%d posts updated.', $_GET['updated'] ), number_format_i18n( $_GET['updated'] ) ); 114 113 unset($_GET['updated']); 115 114 } … … 119 118 120 119 if ( (int) $_GET['locked'] ) { 121 printf( __ngettext( ' %d p age not updated, somebody is editing it.', ' %d pages not updated, somebody is editing them.', $_GET['locked'] ), number_format_i18n( $_GET['skipped'] ) );120 printf( __ngettext( ' %d post not updated, somebody is editing it.', ' %d posts not updated, somebody is editing them.', $_GET['locked'] ), number_format_i18n( $_GET['locked'] ) ); 122 121 unset($_GET['locked']); 123 122 } ?> … … 125 124 <?php } ?> 126 125 126 <div class="wrap"> 127 127 <ul class="subsubsub"> 128 128 <?php … … 198 198 </div> 199 199 200 <div class="view-switch"> 201 <a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'list' == $mode ) echo 'class="current"'; ?> src="images/list.gif" title="<?php _e('List View') ?>" alt="<?php _e('List View') ?>" /></a> 202 <a href="<?php echo clean_url(add_query_arg('mode', 'excerpt', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'excerpt' == $mode ) echo 'class="current"'; ?> src="images/exc.gif" title="<?php _e('Excerpt View') ?>" alt="<?php _e('Excerpt View') ?>" /></a> 203 </div> 204 205 <form id="posts-filter" action="" method="get"> 206 207 <p id="post-search"> 200 <form class="search-form" action="<?php echo $pagenow ?>" method="get"> 201 <p class="search-box"> 208 202 <label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label> 209 <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />203 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 210 204 <input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" /> 211 205 </p> 206 </form> 207 208 <form id="posts-filter" action="" method="get"> 212 209 213 210 <?php if ( isset($_GET['post_status'] ) ) : ?> … … 225 222 )); 226 223 227 if ( $page_links )228 echo "<div class='tablenav-pages'>$page_links</div>";229 224 ?> 230 225 … … 239 234 </div> 240 235 241 <br class="clear" /> 242 </div> 243 244 <br class="clear" /> 236 <?php if ( $page_links ) { ?> 237 <div class="tablenav-pages"><?php echo $page_links; ?></div> 238 <?php } ?> 239 240 <div class="view-switch"> 241 <a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'list' == $mode ) echo 'class="current"'; ?> src="images/list.gif" title="<?php _e('List View') ?>" alt="<?php _e('List View') ?>" /></a> 242 <a href="<?php echo clean_url(add_query_arg('mode', 'excerpt', $_SERVER['REQUEST_URI'])) ?>"><img <?php if ( 'excerpt' == $mode ) echo 'class="current"'; ?> src="images/exc.gif" title="<?php _e('Excerpt View') ?>" alt="<?php _e('Excerpt View') ?>" /></a> 243 </div> 244 245 <div class="clear"></div> 246 </div> 247 248 <div class="clear"></div> 245 249 246 250 <?php include( 'edit-post-rows.php' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.