Changeset 8295
- Timestamp:
- 07/09/2008 01:04:24 AM (17 years ago)
- Location:
- branches/crazyhorse/wp-admin
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crazyhorse/wp-admin/categories.php
r8162 r8295 119 119 <div class="wrap"> 120 120 <form id="posts-filter" action="" method="get"> 121 <h2><?php _e('Manage Categories') ?> </h2> 122 123 <?php if ( current_user_can('manage_categories') ) : ?> 124 <p id="big-add-button"> 125 <a href="#addcat" class="button"><?php _e('Add New Category'); ?></a> 126 </p> 127 <?php endif; ?> 121 <h2><?php printf( current_user_can('manage_categories') ? __('Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2> 128 122 129 123 <p id="post-search"> -
branches/crazyhorse/wp-admin/edit-link-categories.php
r8163 r8295 57 57 58 58 <form id="posts-filter" action="" method="get"> 59 <h2><?php _e('Manage Link Categories') ?> </h2> 60 61 <?php if ( current_user_can('manage_categories') ) : ?> 62 <p id="big-add-button"> 63 <a href="#addcat" class="button"><?php _e('Add New Category'); ?></a> 64 </p> 65 <?php endif; ?> 59 <h2><?php printf( current_user_can('manage_categories') ? __('Link Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2> 66 60 67 61 <p id="post-search"> -
branches/crazyhorse/wp-admin/edit-pages.php
r8156 r8295 46 46 ); 47 47 48 $post_status_label = __(' ManagePages');48 $post_status_label = __('Pages'); 49 49 $post_status_q = ''; 50 50 if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) { … … 74 74 $h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name )); 75 75 } 76 printf( _c( '%1$s%2$s%3$s |You can reorder these: 1: Pages, 2: by {s}, 3: matching {s}' ), $post_status_label, $h2_author, $h2_search);76 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' ); 77 77 ?></h2> 78 78 … … 112 112 endif; 113 113 ?> 114 115 <p id="big-add-button">116 <a href="page-new.php" class="button"><?php _e( 'Write New Page' ); ?></a>117 </p>118 114 119 115 <p id="post-search"> -
branches/crazyhorse/wp-admin/edit-tags.php
r8161 r8295 126 126 127 127 <form id="posts-filter" action="" method="get"> 128 <h2><?php _e('Manage Tags'); ?></h2> 129 130 <?php if ( current_user_can('manage_categories') ) : ?> 131 <p id="big-add-button"> 132 <a href="#addtag" class="button"><?php _e('Add New Tag'); ?></a> 133 </p> 134 <?php endif; ?> 128 <h2><?php printf( current_user_can('manage_categories') ? __('Tags (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addtag' ); ?></h2> 135 129 136 130 <p id="post-search"> -
branches/crazyhorse/wp-admin/edit.php
r8288 r8295 66 66 printf(__('Comments on %s'), apply_filters( "the_title", $post->post_title)); 67 67 } else { 68 $post_status_label = _c(' ManagePosts|manage posts header');68 $post_status_label = _c('Posts|manage posts header'); 69 69 if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) 70 70 $post_status_label = $post_stati[$_GET['post_status']][1]; … … 88 88 $h2_tag = isset($_GET['tag']) && $_GET['tag'] ? ' ' . sprintf( __('tagged with “%s”'), single_tag_title('', false) ) : ''; 89 89 $h2_month = isset($_GET['m']) && $_GET['m'] ? ' ' . sprintf( __('during %s'), single_month_title(' ', false) ) : ''; 90 printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s |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);90 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' ); 91 91 } 92 92 ?></h2> … … 127 127 endif; 128 128 ?> 129 130 <p id="big-add-button">131 <a href="post-new.php" class="button"><?php _e( 'Write New Post' ); ?></a>132 </p>133 129 134 130 <p id="post-search"> -
branches/crazyhorse/wp-admin/link-manager.php
r8155 r8295 78 78 79 79 <form id="posts-filter" action="" method="get"> 80 <h2><?php _e( 'Manage Links' ); ?></h2> 81 82 <p id="big-add-button"> 83 <a href="link-add.php" class="button"><?php _e( 'Add New Link' ); ?></a> 84 </p> 80 <h2><?php printf( __('Links (<a href="%s">Add New</a>)' ), 'link-add.php' ); ?></h2> 85 81 86 82 <p id="post-search"> -
branches/crazyhorse/wp-admin/upload.php
r8154 r8295 61 61 printf(__('Comments on %s'), apply_filters( "the_title", $post->post_title)); 62 62 } else { 63 $post_mime_type_label = _c('M anage Media|manage media header');63 $post_mime_type_label = _c('Media|manage media header'); 64 64 if ( isset($_GET['post_mime_type']) && in_array( $_GET['post_mime_type'], array_keys($post_mime_types) ) ) 65 65 $post_mime_type_label = $post_mime_types[$_GET['post_mime_type']][1]; … … 83 83 $h2_tag = isset($_GET['tag']) && $_GET['tag'] ? ' ' . sprintf( __('tagged with “%s”'), single_tag_title('', false) ) : ''; 84 84 $h2_month = isset($_GET['m']) && $_GET['m'] ? ' ' . sprintf( __('during %s'), single_month_title(' ', false) ) : ''; 85 printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s |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);85 printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s (<a href="%7$s" class="thickbox">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?TB_iframe=true' ); 86 86 } 87 87 ?></h2> … … 129 129 ?> 130 130 131 <p id="big-add-button">132 <a href="media-upload.php?TB_iframe=true" class="button thickbox"><?php _e( 'Add Media' ); ?></a>133 </p>134 135 131 <p id="post-search"> 136 132 <label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label> -
branches/crazyhorse/wp-admin/users.php
r8163 r8295 242 242 <form id="posts-filter" action="" method="get"> 243 243 <?php if ( $wp_user_search->is_search() ) : ?> 244 <h2><?php printf( __('Users Matching "%s"'), wp_specialchars($wp_user_search->search_term)); ?></h2>244 <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> 245 245 <?php else : ?> 246 <h2><?php _e('Manage Users'); ?></h2>246 <h2><?php printf( current_user_can('create_users') ? __('Users (<a href="%s">Add New</a>)') : __('Add New'), '#add-new-user' ); ?></h2> 247 247 <?php endif; ?> 248 248 … … 285 285 ?> 286 286 </ul> 287 288 <?php if ( current_user_can('create_users') ) : ?>289 <p id="big-add-button">290 <a href="#add-new-user" class="button"><?php _e('Add New User'); ?></a>291 </p>292 <?php endif; ?>293 287 294 288 <p id="post-search">
Note: See TracChangeset
for help on using the changeset viewer.