Changeset 9032
- Timestamp:
- 09/29/2008 10:06:23 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 35 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r9028 r9032 78 78 break; 79 79 case 'edit': 80 81 $title = __('Edit Category'); 80 82 81 83 require_once ('admin-header.php'); … … 141 143 <div class="wrap"> 142 144 143 <h2><?php printf( current_user_can('manage_categories') ? __('Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2>144 145 145 <form id="posts-filter" action="" method="get"> 146 146 <div class="tablenav"> -
trunk/wp-admin/edit-category-form.php
r8944 r9032 17 17 * @var string 18 18 */ 19 $heading = __('Edit Category');19 $heading = ''; 20 20 $submit_text = __('Edit Category'); 21 21 $form = '<form name="editcat" id="editcat" method="post" action="categories.php" class="validate">'; … … 24 24 do_action('edit_category_form_pre', $category); 25 25 } else { 26 $heading = __('Add Category');26 $heading = '<h2>' . __('Add Category') . '</h2>'; 27 27 $submit_text = __('Add Category'); 28 28 $form = '<form name="addcat" id="addcat" method="post" action="categories.php" class="add:the-list: validate">'; … … 57 57 58 58 <div class="wrap"> 59 < h2><?php echo $heading ?></h2>59 <?php echo $heading ?> 60 60 <div id="ajax-response"></div> 61 61 <?php echo $form ?> -
trunk/wp-admin/edit-comments.php
r9029 r9032 124 124 <div class="wrap"> 125 125 126 <h2><?php _e('Manage Comments'); ?></h2>127 128 126 <ul class="subsubsub"> 129 127 <?php -
trunk/wp-admin/edit-form-advanced.php
r9016 r9032 427 427 <div class="wrap"> 428 428 429 <h2><?php430 if ( !isset($post_ID) || 0 == $post_ID)431 printf( __( '<a href="%s">Posts</a> / Write New Post' ), 'edit.php' );432 else433 printf( __( '<a href="%s">Posts</a> / Edit Post' ), 'edit.php' );434 ?></h2>435 436 429 <form name="post" action="post.php" method="post" id="post"> 437 430 <?php -
trunk/wp-admin/edit-form-comment.php
r8913 r9032 19 19 <?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?> 20 20 <div class="wrap"> 21 <h2><?php echo $toprow_title; ?></h2>22 21 23 22 <div id="poststuff"> -
trunk/wp-admin/edit-link-categories.php
r9028 r9032 78 78 79 79 <div class="wrap"> 80 81 <h2><?php printf( current_user_can('manage_categories') ? __('Link Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2>82 80 83 81 <form id="posts-filter" action="" method="get"> -
trunk/wp-admin/edit-link-category-form.php
r8944 r9032 17 17 * @var string 18 18 */ 19 $heading = __('Edit Category');19 $heading = ''; 20 20 $submit_text = __('Edit Category'); 21 21 $form = '<form name="editcat" id="editcat" method="post" action="link-category.php" class="validate">'; … … 24 24 do_action('edit_link_category_form_pre', $category); 25 25 } else { 26 $heading = __('Add Category');26 $heading = '<h2>' . __('Add Category') . '</h2>'; 27 27 $submit_text = __('Add Category'); 28 28 $form = '<form name="addcat" id="addcat" class="add:the-list: validate" method="post" action="link-category.php">'; … … 54 54 55 55 <div class="wrap"> 56 < h2><?php echo $heading ?></h2>56 <?php echo $heading ?> 57 57 <div id="ajax-response"></div> 58 58 <?php echo $form ?> -
trunk/wp-admin/edit-link-form.php
r9016 r9032 279 279 <div class="wrap"> 280 280 281 <h2><?php echo $heading; ?></h2>282 283 281 <!-- 284 282 <p id="big-add-button"> -
trunk/wp-admin/edit-page-form.php
r9016 r9032 293 293 <div class="wrap"> 294 294 295 <h2><?php296 if ( !isset($post_ID) || 0 == $post_ID )297 printf( __( '<a href="%s">Pages</a> / Write New Page' ), 'edit-pages.php' );298 else299 printf( __( '<a href="%s">Pages</a> / Edit Page' ), 'edit-pages.php' );300 ?></h2>301 302 295 <form name="post" action="page.php" method="post" id="post"> 303 296 <?php if ( $notice ) : ?> -
trunk/wp-admin/edit-pages.php
r9028 r9032 131 131 endif; ?> 132 132 133 <h2><?php134 // Use $_GET instead of is_ since they can override each other135 $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( stripslashes( $_GET['s'] ) ) ) : '';136 $h2_author = '';137 if ( isset($_GET['author']) && $_GET['author'] ) {138 $author_user = get_userdata( (int) $_GET['author'] );139 $h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name ));140 }141 printf( _c( '%1$s%2$s%3$s (<a href="%4$s">Add New</a>)|You can reorder these: 1: Pages, 2: by {s}, 3: matching {s}' ), $post_status_label, $h2_author, $h2_search, 'page-new.php' );142 ?></h2>143 144 133 <ul class="subsubsub"> 145 134 <?php -
trunk/wp-admin/edit-tag-form.php
r8944 r9032 11 11 * @var string 12 12 */ 13 $heading = __('Edit Tag');13 $heading = ''; 14 14 $submit_text = __('Edit Tag'); 15 15 $form = '<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate">'; … … 18 18 do_action('edit_tag_form_pre', $tag); 19 19 } else { 20 $heading = __('Add Tag');20 $heading = '<h2>' . __('Add Tag') . '</h2>'; 21 21 $submit_text = __('Add Tag'); 22 22 $form = '<form name="addtag" id="addtag" method="post" action="edit-tags.php" class="add:the-list: validate">'; … … 28 28 29 29 <div class="wrap"> 30 < h2><?php echo $heading ?></h2>30 <?php echo $heading ?> 31 31 <div id="ajax-response"></div> 32 32 <?php echo $form ?> -
trunk/wp-admin/edit-tags.php
r9028 r9032 73 73 74 74 case 'edit': 75 $title = __('Edit Tag'); 75 76 76 77 require_once ('admin-header.php'); … … 145 146 <div class="wrap"> 146 147 147 <h2><?php printf( current_user_can('manage_categories') ? __('Tags (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addtag' ); ?></h2>148 149 148 <form id="posts-filter" action="" method="get"> 150 149 <div class="tablenav"> -
trunk/wp-admin/edit.php
r9028 r9032 121 121 <div class="wrap"> 122 122 123 <h2><?php124 if ( is_single() ) {125 printf(__('Comments on %s'), apply_filters( "the_title", $post->post_title));126 } else {127 $post_status_label = _c('Posts|manage posts header');128 if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) )129 $post_status_label = $post_stati[$_GET['post_status']][1];130 //TODO: Unreachable code: $post_listing_pageable is undefined, Similar code in upload.php131 //if ( $post_listing_pageable && !is_archive() && !is_search() )132 // $h2_noun = is_paged() ? sprintf(__( 'Previous %s' ), $post_status_label) : sprintf(__('Latest %s'), $post_status_label);133 //else134 $h2_noun = $post_status_label;135 // Use $_GET instead of is_ since they can override each other136 $h2_author = '';137 $_GET['author'] = isset($_GET['author']) ? (int) $_GET['author'] : 0;138 if ( $_GET['author'] != 0 ) {139 if ( $_GET['author'] == '-' . $user_ID ) { // author exclusion140 $h2_author = ' ' . __('by other authors');141 } else {142 $author_user = get_userdata( get_query_var( 'author' ) );143 $h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name ));144 }145 }146 $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( get_search_query() ) ) : '';147 $h2_cat = isset($_GET['cat']) && $_GET['cat'] ? ' ' . sprintf( __('in “%s”'), single_cat_title('', false) ) : '';148 $h2_tag = isset($_GET['tag']) && $_GET['tag'] ? ' ' . sprintf( __('tagged with “%s”'), single_tag_title('', false) ) : '';149 $h2_month = isset($_GET['m']) && $_GET['m'] ? ' ' . sprintf( __('during %s'), single_month_title(' ', false) ) : '';150 printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s (<a href="%7$s">Add New</a>)|You can reorder these: 1: Posts, 2: by {s}, 3: matching {s}, 4: in {s}, 5: tagged with {s}, 6: during {s}' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_tag, $h2_month, 'post-new.php' );151 }152 ?></h2>153 154 123 <ul class="subsubsub"> 155 124 <?php -
trunk/wp-admin/export.php
r8691 r9032 23 23 24 24 <div class="wrap"> 25 <h2><?php _e('Export'); ?></h2>26 25 <p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p> 27 26 <p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p> -
trunk/wp-admin/import.php
r8691 r9032 14 14 15 15 <div class="wrap"> 16 <h2><?php _e('Import'); ?></h2>17 16 <p><?php _e('If you have posts or comments in another system, WordPress can import those into this blog. To get started, choose a system to import from below:'); ?></p> 18 17 -
trunk/wp-admin/inbox.php
r8973 r9032 22 22 <div class="wrap"> 23 23 <form id="inbox-filter" action="" method="get"> 24 <h2><?php _e('Inbox'); ?></h2>25 24 <ul class="subsubsub"> 26 25 <li><a href="#" class="current"><?php _e('Messages') ?></a> | </li><li><a href="#"><?php echo sprintf(__('Archived') . ' (%s)', '42'); ?></a></li> -
trunk/wp-admin/link-category.php
r8645 r9032 62 62 63 63 case 'edit': 64 $title = __(' Categories');64 $title = __('Edit Category'); 65 65 $parent_file = 'edit.php'; 66 66 $submenu_file = 'edit-link-categories.php'; -
trunk/wp-admin/link-manager.php
r9028 r9032 99 99 100 100 <div class="wrap"> 101 102 <h2><?php printf( __('Links (<a href="%s">Add New</a>)' ), 'link-add.php' ); ?></h2>103 101 104 102 <form id="list-filter" action="" method="get"> -
trunk/wp-admin/media-upload.php
r8998 r9032 57 57 require_once('admin-header.php'); ?> 58 58 <div class="wrap"> 59 <h2><?php _e('Upload Media') ?></h2>60 59 61 60 <form enctype="multipart/form-data" method="post" action="media-upload.php?inline=&upload-page-form=" class="media-upload-form type-form validate" id="file-form"> -
trunk/wp-admin/options-discussion.php
r8961 r9032 17 17 18 18 <div class="wrap"> 19 <h2><?php _e('Discussion Settings') ?></h2>20 19 <form method="post" action="options.php"> 21 20 <input type='hidden' name='option_page' value='discussion' /> -
trunk/wp-admin/options-general.php
r8855 r9032 17 17 18 18 <div class="wrap"> 19 <h2><?php _e('General Settings') ?></h2>20 19 <form method="post" action="options.php"> 21 20 <?php wp_nonce_field('general-options') ?> -
trunk/wp-admin/options-media.php
r8947 r9032 19 19 <div class="wrap"> 20 20 21 <h2><?php _e('Media Settings') ?></h2>22 21 <form action="options.php" method="post"> 23 22 <p><?php _e('The setting below determines where images, documents, and other media files will be linked to when inserted into the body of a post.'); ?></p> -
trunk/wp-admin/options-misc.php
r8905 r9032 18 18 19 19 <div class="wrap"> 20 <h2><?php _e('Miscellaneous Settings') ?></h2>21 20 <form method="post" action="options.php"> 22 21 <input type='hidden' name='option_page' value='misc' /> -
trunk/wp-admin/options-permalink.php
r8855 r9032 124 124 125 125 <div class="wrap"> 126 <h2><?php _e('Customize Permalink Structure') ?></h2>127 126 <form name="form" action="options-permalink.php" method="post"> 128 127 <?php wp_nonce_field('update-permalink') ?> -
trunk/wp-admin/options-privacy.php
r8855 r9032 17 17 18 18 <div class="wrap"> 19 <h2><?php _e('Privacy Settings') ?></h2>20 19 <form method="post" action="options.php"> 21 20 <?php wp_nonce_field('privacy-options') ?> -
trunk/wp-admin/options-reading.php
r8855 r9032 17 17 18 18 <div class="wrap"> 19 <h2><?php _e('Reading Settings') ?></h2>20 19 <form name="form1" method="post" action="options.php"> 21 20 <?php wp_nonce_field('reading-options') ?> -
trunk/wp-admin/options-writing.php
r8855 r9032 17 17 18 18 <div class="wrap"> 19 <h2><?php _e('Writing Settings') ?></h2>20 19 <form method="post" action="options.php"> 21 20 <?php wp_nonce_field('writing-options') ?> -
trunk/wp-admin/page.php
r8656 r9032 83 83 84 84 case 'edit': 85 $title = __('Edit ');85 $title = __('Edit Page'); 86 86 $editing = true; 87 87 $page_ID = $post_ID = $p = (int) $_GET['post']; -
trunk/wp-admin/plugin-editor.php
r8845 r9032 97 97 <?php endif; ?> 98 98 <div class="wrap"> 99 <div class="bordertitle">100 <h2><?php _e('Plugin Editor'); ?></h2>101 </div>102 99 <div class="tablenav"> 103 100 <div class="alignleft"> -
trunk/wp-admin/plugin-install.php
r8656 r9032 49 49 ?> 50 50 <div class="wrap"> 51 <h2><?php _e('Install Plugins') ?></h2>52 51 <ul class="subsubsub"> 53 52 <?php -
trunk/wp-admin/plugins.php
r9028 r9032 204 204 205 205 <div class="wrap"> 206 <h2><?php _e('Plugin Management'); ?></h2>207 206 <p><?php _e('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.'); ?></p> 208 207 <?php -
trunk/wp-admin/upload.php
r9029 r9032 187 187 188 188 <div class="wrap"> 189 190 <h2><?php191 if ( isset($_GET['detached']) ) {192 _e('Unattached Media');193 } elseif ( is_singular() ) {194 printf( __('Comments on %s'), apply_filters("the_title", $post->post_title) );195 } else {196 $post_mime_type_label = _c('Media|manage media header');197 if ( isset($_GET['post_mime_type']) && in_array( $_GET['post_mime_type'], array_keys($post_mime_types) ) )198 $post_mime_type_label = $post_mime_types[$_GET['post_mime_type']][1];199 //TODO: Unreachable code: $post_listing_pageable is undefined, Similar code in edit.php200 //if ( $post_listing_pageable && !is_archive() && !is_search() )201 // $h2_noun = is_paged() ? sprintf(__( 'Previous %s' ), $post_mime_type_label) : sprintf(__('Latest %s'), $post_mime_type_label);202 //else203 $h2_noun = $post_mime_type_label;204 // Use $_GET instead of is_ since they can override each other205 $h2_author = '';206 $_GET['author'] = isset( $_GET['author'] ) ? (int) $_GET['author'] : 0;207 if ( $_GET['author'] != 0 ) {208 if ( $_GET['author'] == '-' . $user_ID ) { // author exclusion209 $h2_author = ' ' . __('by other authors');210 } else {211 $author_user = get_userdata( get_query_var( 'author' ) );212 $h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name ));213 }214 }215 $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( get_search_query() ) ) : '';216 $h2_cat = isset($_GET['cat']) && $_GET['cat'] ? ' ' . sprintf( __('in “%s”'), single_cat_title('', false) ) : '';217 $h2_tag = isset($_GET['tag']) && $_GET['tag'] ? ' ' . sprintf( __('tagged with “%s”'), single_tag_title('', false) ) : '';218 $h2_month = isset($_GET['m']) && $_GET['m'] ? ' ' . sprintf( __('during %s'), single_month_title(' ', false) ) : '';219 printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s (<a href="%7$s">Add New</a>)|You can reorder these: 1: Posts, 2: by {s}, 3: matching {s}, 4: in {s}, 5: tagged with {s}, 6: during {s}' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_tag, $h2_month, 'media-upload.php?inline' );220 }221 ?></h2>222 189 223 190 <ul class="subsubsub"> -
trunk/wp-admin/user-edit.php
r8944 r9032 170 170 171 171 <div class="wrap" id="profile-page"> 172 <h2><?php $is_profile_page? _e('Your Profile and Personal Options') : _e('Edit User'); ?></h2>173 172 174 173 <form id="your-profile" action="" method="post"> -
trunk/wp-admin/users.php
r9028 r9032 272 272 <?php if ( $wp_user_search->is_search() ) : ?> 273 273 <h2><?php printf( current_user_can('create_users') ? __('Users Matching "%2$s" (<a href="%1$s">Add New</a>)') : __('Add New'), '#add-new-user', wp_specialchars($wp_user_search->search_term) ); ?></h2> 274 <?php else : ?>275 <h2><?php printf( current_user_can('create_users') ? __('Users (<a href="%s">Add New</a>)') : __('Add New'), '#add-new-user' ); ?></h2>276 274 <?php endif; ?> 277 275 -
trunk/wp-content/themes/default/functions.php
r8999 r9032 365 365 <div class='wrap'> 366 366 <div id="kubrick-header"> 367 <h2><?php _e('Header Image and Color'); ?></h2>368 367 <div id="headwrap"> 369 368 <div id="header">
Note: See TracChangeset
for help on using the changeset viewer.