diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
index 73b97ad..fa46859 100644
a
|
b
|
h2 .nav-tab { |
1957 | 1957 | line-height: 24px; |
1958 | 1958 | } |
1959 | 1959 | |
| 1960 | .nav-link { |
| 1961 | font-size: 12px; |
| 1962 | padding: 4px 14px 6px; |
| 1963 | } |
| 1964 | |
1960 | 1965 | |
1961 | 1966 | /*------------------------------------------------------------------------------ |
1962 | 1967 | 26.0 - Misc |
diff --git a/src/wp-admin/network/site-info.php b/src/wp-admin/network/site-info.php
index 61fea29..42a96e3 100644
a
|
b
|
$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $ |
129 | 129 | $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); |
130 | 130 | $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); |
131 | 131 | |
| 132 | $dashboard = '<a class="nav-link" href="' . get_admin_url( $id ) . '">' . __( 'Dashboard' ) . '</a>'; |
| 133 | |
132 | 134 | $parent_file = 'sites.php'; |
133 | 135 | $submenu_file = 'sites.php'; |
134 | 136 | |
… |
… |
foreach ( $tabs as $tab_id => $tab ) { |
150 | 152 | $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; |
151 | 153 | echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; |
152 | 154 | } |
| 155 | // link to the site dashboard is displayed after the tabs |
| 156 | echo $dashboard; |
153 | 157 | ?> |
154 | 158 | </h3> |
155 | 159 | <?php |
diff --git a/src/wp-admin/network/site-settings.php b/src/wp-admin/network/site-settings.php
index 31980ee..d815a5f 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 class="nav-link" href="' . get_admin_url( $id ) . '">' . __( 'Dashboard' ) . '</a>'; |
| 83 | |
82 | 84 | $parent_file = 'sites.php'; |
83 | 85 | $submenu_file = 'sites.php'; |
84 | 86 | |
… |
… |
foreach ( $tabs as $tab_id => $tab ) { |
100 | 102 | $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; |
101 | 103 | echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; |
102 | 104 | } |
| 105 | // link to the site dashboard is displayed after the tabs |
| 106 | echo $dashboard; |
103 | 107 | ?> |
104 | 108 | </h3> |
105 | 109 | <?php |
diff --git a/src/wp-admin/network/site-themes.php b/src/wp-admin/network/site-themes.php
index 0042601..9cc2b65 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 class="nav-link" href="' . get_admin_url( $id ) . '">' . __( 'Dashboard' ) . '</a>'; |
| 137 | |
136 | 138 | $parent_file = 'sites.php'; |
137 | 139 | $submenu_file = 'sites.php'; |
138 | 140 | |
… |
… |
foreach ( $tabs as $tab_id => $tab ) { |
152 | 154 | $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; |
153 | 155 | echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; |
154 | 156 | } |
| 157 | // link to the site dashboard is displayed after the tabs |
| 158 | echo $dashboard; |
155 | 159 | ?> |
156 | 160 | </h3><?php |
157 | 161 | |
diff --git a/src/wp-admin/network/site-users.php b/src/wp-admin/network/site-users.php
index f290565..6620357 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 class="nav-link" href="' . get_admin_url( $id ) . '">' . __( 'Dashboard' ) . '</a>'; |
| 165 | |
164 | 166 | $parent_file = 'sites.php'; |
165 | 167 | $submenu_file = 'sites.php'; |
166 | 168 | |
… |
… |
foreach ( $tabs as $tab_id => $tab ) { |
195 | 197 | $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; |
196 | 198 | echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; |
197 | 199 | } |
| 200 | // link to the site dashboard is displayed after the tabs |
| 201 | echo $dashboard; |
198 | 202 | ?> |
199 | 203 | </h3><?php |
200 | 204 | |