- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/site-users.php
r17322 r18129 158 158 add_screen_option( 'per_page', array( 'label' => _x( 'Users', 'users per page (screen options)' ) ) ); 159 159 160 $title = sprintf( __('Edit Site: %s'), get_blogaddress_by_id($id)); 160 $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) ); 161 $title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http ); 162 $title = sprintf( __('Edit Site: %s'), $site_url_no_http ); 163 161 164 $parent_file = 'sites.php'; 162 165 $submenu_file = 'sites.php'; … … 166 169 <div class="wrap"> 167 170 <?php screen_icon('ms-admin'); ?> 168 <h2 id="edit-site"><?php echo $title ?></h2>171 <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2> 169 172 <h3 class="nav-tab-wrapper"> 170 173 <?php … … 265 268 </table> 266 269 <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 267 <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>270 <?php submit_button( __('Add User'), 'primary', 'add-user', false, array( 'id' => 'submit-add-existing-user' ) ); ?> 268 271 </form> 269 272 <?php endif; ?> … … 301 304 </table> 302 305 <?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ) ?> 303 <?php submit_button( __('Add New User'), 'primary', 'add-user' ); ?>306 <?php submit_button( __('Add New User'), 'primary', 'add-user', false, array( 'id' => 'submit-add-user' ) ); ?> 304 307 </form> 305 308 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.