Changeset 17975
- Timestamp:
- 05/19/2011 07:52:11 PM (13 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-link-form.php
r17748 r17975 54 54 <div class="wrap"> 55 55 <?php screen_icon(); ?> 56 <h2><?php echo esc_html( $title ); ?> </h2>56 <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a></h2> 57 57 58 58 <?php if ( isset( $_GET['added'] ) ) : ?> -
trunk/wp-admin/media.php
r17748 r17975 98 98 <div class="wrap"> 99 99 <?php screen_icon(); ?> 100 <h2><?php _e( 'Edit Media' ); ?></h2> 100 <h2> 101 <?php 102 echo esc_html( $title ); 103 if ( current_user_can( 'upload_files' ) ) { ?> 104 <a href="media-new.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> 105 <?php } ?> 106 </h2> 101 107 102 108 <form method="post" action="" class="media-upload-form" id="media-single-form"> -
trunk/wp-admin/user-edit.php
r17748 r17975 169 169 <div class="wrap" id="profile-page"> 170 170 <?php screen_icon(); ?> 171 <h2><?php echo esc_html( $title ); ?></h2> 171 <h2> 172 <?php 173 echo esc_html( $title ); 174 if ( ! IS_PROFILE_PAGE ) { 175 if ( current_user_can( 'create_users' ) ) { ?> 176 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a> 177 <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> 178 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> 179 <?php } 180 } ?> 181 </h2> 172 182 173 183 <form id="your-profile" action="<?php echo esc_url( self_admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post"<?php do_action('user_edit_form_tag'); ?>>
Note: See TracChangeset
for help on using the changeset viewer.