Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-users.php

    r17322 r18129  
    158158add_screen_option( 'per_page', array( 'label' => _x( 'Users', 'users per page (screen options)' ) ) );
    159159
    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
    161164$parent_file = 'sites.php';
    162165$submenu_file = 'sites.php';
     
    166169<div class="wrap">
    167170<?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>
    169172<h3 class="nav-tab-wrapper">
    170173<?php
     
    265268    </table>
    266269    <?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' ) ); ?>
    268271</form>
    269272<?php endif; ?>
     
    301304    </table>
    302305    <?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' ) ); ?>
    304307</form>
    305308<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.