---
src/wp-admin/network/site-info.php | 4 +++-
src/wp-admin/network/site-settings.php | 4 +++-
src/wp-admin/network/site-themes.php | 4 +++-
src/wp-admin/network/site-users.php | 4 +++-
4 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/wp-admin/network/site-info.php b/src/wp-admin/network/site-info.php
index 87ca256..2983756 100644
a
|
b
|
$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $ |
91 | 91 | $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); |
92 | 92 | $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); |
93 | 93 | |
| 94 | $dashboard = '<a href="' . get_admin_url( $id ) . '">' . __( '(go to dashboard)' ) . '</a>'; |
| 95 | |
94 | 96 | $parent_file = 'sites.php'; |
95 | 97 | $submenu_file = 'sites.php'; |
96 | 98 | |
… |
… |
require( ABSPATH . 'wp-admin/admin-header.php' ); |
99 | 101 | ?> |
100 | 102 | |
101 | 103 | <div class="wrap"> |
102 | | <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2> |
| 104 | <h2 id="edit-site"><?php echo $title_site_url_linked ?> <small><?php echo $dashboard ?></small></h2> |
103 | 105 | <h3 class="nav-tab-wrapper"> |
104 | 106 | <?php |
105 | 107 | $tabs = array( |
diff --git a/src/wp-admin/network/site-settings.php b/src/wp-admin/network/site-settings.php
index ecf8a12..ba140a8 100644
a
|
b
|
$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $ |
79 | 79 | $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); |
80 | 80 | $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); |
81 | 81 | |
| 82 | $dashboard = '<a href="' . get_admin_url( $id ) . '">' . __( '(go to dashboard)' ) . '</a>'; |
| 83 | |
82 | 84 | $parent_file = 'sites.php'; |
83 | 85 | $submenu_file = 'sites.php'; |
84 | 86 | |
… |
… |
require( ABSPATH . 'wp-admin/admin-header.php' ); |
87 | 89 | ?> |
88 | 90 | |
89 | 91 | <div class="wrap"> |
90 | | <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2> |
| 92 | <h2 id="edit-site"><?php echo $title_site_url_linked ?> <small><?php echo $dashboard ?></small></h2> |
91 | 93 | <h3 class="nav-tab-wrapper"> |
92 | 94 | <?php |
93 | 95 | $tabs = array( |
diff --git a/src/wp-admin/network/site-themes.php b/src/wp-admin/network/site-themes.php
index 384f58c..06a9618 100644
a
|
b
|
$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $ |
133 | 133 | $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); |
134 | 134 | $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); |
135 | 135 | |
| 136 | $dashboard = '<a href="' . get_admin_url( $id ) . '">' . __( '(go to dashboard)' ) . '</a>'; |
| 137 | |
136 | 138 | $parent_file = 'sites.php'; |
137 | 139 | $submenu_file = 'sites.php'; |
138 | 140 | |
139 | 141 | require( ABSPATH . 'wp-admin/admin-header.php' ); ?> |
140 | 142 | |
141 | 143 | <div class="wrap"> |
142 | | <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2> |
| 144 | <h2 id="edit-site"><?php echo $title_site_url_linked ?> <small><?php echo $dashboard ?></small></h2> |
143 | 145 | <h3 class="nav-tab-wrapper"> |
144 | 146 | <?php |
145 | 147 | $tabs = array( |
diff --git a/src/wp-admin/network/site-users.php b/src/wp-admin/network/site-users.php
index 57a189b..5a8b6f3 100644
a
|
b
|
$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $ |
161 | 161 | $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); |
162 | 162 | $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); |
163 | 163 | |
| 164 | $dashboard = '<a href="' . get_admin_url( $id ) . '">' . __( '(go to dashboard)' ) . '</a>'; |
| 165 | |
164 | 166 | $parent_file = 'sites.php'; |
165 | 167 | $submenu_file = 'sites.php'; |
166 | 168 | |
… |
… |
var current_site_id = <?php echo $id; ?>; |
182 | 184 | |
183 | 185 | |
184 | 186 | <div class="wrap"> |
185 | | <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2> |
| 187 | <h2 id="edit-site"><?php echo $title_site_url_linked ?> <small><?php echo $dashboard ?></small></h2> |
186 | 188 | <h3 class="nav-tab-wrapper"> |
187 | 189 | <?php |
188 | 190 | $tabs = array( |