<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[12934] trunk/wp-admin: Use Network and Site for labels.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/12934">12934</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2010-02-03 17:23:29 +0000 (Wed, 03 Feb 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Use Network and Site for labels. see <a href="http://trac.wordpress.org/ticket/11644">#11644</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminmsadminphp">trunk/wp-admin/ms-admin.php</a></li>
<li><a href="#trunkwpadminmssitesphp">trunk/wp-admin/ms-sites.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminmsadminphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-admin.php (12933 => 12934)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-admin.php        2010-02-03 01:00:57 UTC (rev 12933)
+++ trunk/wp-admin/ms-admin.php        2010-02-03 17:23:29 UTC (rev 12934)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> if ( !is_multisite() )
</span><span class="cx">         wp_die( __('Multisite support is not enabled.') );
</span><span class="cx"> 
</span><del>-$title = __('Site Admin');
</del><ins>+$title = __('Network Admin');
</ins><span class="cx"> $parent_file = 'ms-admin.php';
</span><span class="cx"> 
</span><span class="cx"> function index_css() {
</span><span class="lines">@@ -25,7 +25,6 @@
</span><span class="cx"> $blog_text = sprintf( _n( '%s blog', '%s blogs', $c_blogs ), number_format_i18n( $c_blogs ) );
</span><span class="cx"> 
</span><span class="cx"> $sentence = sprintf( __( 'You have %1$s and %2$s.' ), $blog_text, $user_text );
</span><del>-$title = __( 'Site Admin' );
</del><span class="cx"> ?&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;div class=&quot;wrap&quot;&gt;
</span><span class="lines">@@ -33,7 +32,7 @@
</span><span class="cx">         &lt;h2&gt;&lt;?php echo esc_html( $title ); ?&gt;&lt;/h2&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;ul class=&quot;subsubsub&quot;&gt;
</span><del>-        &lt;li&gt;&lt;a href=&quot;ms-sites.php#form-add-blog&quot; class=&quot;rbutton&quot;&gt;&lt;strong&gt;&lt;?php _e('Create a New Blog'); ?&gt;&lt;/strong&gt;&lt;/a&gt; | &lt;/li&gt;
</del><ins>+        &lt;li&gt;&lt;a href=&quot;ms-sites.php#form-add-blog&quot; class=&quot;rbutton&quot;&gt;&lt;strong&gt;&lt;?php _e('Create a New Site'); ?&gt;&lt;/strong&gt;&lt;/a&gt; | &lt;/li&gt;
</ins><span class="cx">         &lt;li&gt;&lt;a href=&quot;ms-users.php#form-add-user&quot; class=&quot;rbutton&quot;&gt;&lt;?php _e('Create a New User'); ?&gt;&lt;/a&gt;&lt;/li&gt;
</span><span class="cx">         &lt;/ul&gt;
</span><span class="cx">         &lt;br clear='all' /&gt;
</span><span class="lines">@@ -53,7 +52,7 @@
</span><span class="cx">                 &lt;p&gt;
</span><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;blogs&quot; /&gt;
</span><span class="cx">                         &lt;input type=&quot;text&quot; name=&quot;s&quot; value=&quot;&quot; size=&quot;17&quot; /&gt;
</span><del>-                        &lt;input class=&quot;button&quot; type=&quot;submit&quot; name=&quot;blog_name&quot; value=&quot;&lt;?php esc_attr_e(&quot;Search Blogs&quot;); ?&gt;&quot; /&gt;
</del><ins>+                        &lt;input class=&quot;button&quot; type=&quot;submit&quot; name=&quot;blog_name&quot; value=&quot;&lt;?php esc_attr_e(&quot;Search Sites&quot;); ?&gt;&quot; /&gt;
</ins><span class="cx">                 &lt;/p&gt;
</span><span class="cx">         &lt;/form&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminmssitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-sites.php (12933 => 12934)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-sites.php        2010-02-03 01:00:57 UTC (rev 12933)
+++ trunk/wp-admin/ms-sites.php        2010-02-03 17:23:29 UTC (rev 12934)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> if ( !is_multisite() )
</span><span class="cx">         wp_die( __('Multisite support is not enabled.') );
</span><span class="cx"> 
</span><del>-$title = __('Blogs');
</del><ins>+$title = __('Sites');
</ins><span class="cx"> $parent_file = 'ms-admin.php';
</span><span class="cx"> 
</span><span class="cx"> wp_enqueue_script( 'admin-forms' );
</span><span class="lines">@@ -82,7 +82,7 @@
</span><span class="cx">                 ?&gt;
</span><span class="cx">                 &lt;div class=&quot;wrap&quot;&gt;
</span><span class="cx">                 &lt;?php screen_icon(); ?&gt;
</span><del>-                &lt;h2&gt;&lt;?php _e('Edit Blog'); ?&gt; - &lt;a href='http://&lt;?php echo $details-&gt;domain . $details-&gt;path; ?&gt;'&gt;http://&lt;?php echo $details-&gt;domain . $details-&gt;path; ?&gt;&lt;/a&gt;&lt;/h2&gt;
</del><ins>+                &lt;h2&gt;&lt;?php _e('Edit Site'); ?&gt; - &lt;a href='http://&lt;?php echo $details-&gt;domain . $details-&gt;path; ?&gt;'&gt;http://&lt;?php echo $details-&gt;domain . $details-&gt;path; ?&gt;&lt;/a&gt;&lt;/h2&gt;
</ins><span class="cx">                 &lt;form method=&quot;post&quot; action=&quot;ms-edit.php?action=updateblog&quot;&gt;
</span><span class="cx">                         &lt;?php wp_nonce_field('editblog'); ?&gt;
</span><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;id&quot; value=&quot;&lt;?php echo esc_attr($id) ?&gt;&quot; /&gt;
</span><span class="lines">@@ -372,7 +372,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;div class=&quot;wrap&quot; style=&quot;position:relative;&quot;&gt;
</span><span class="cx">                 &lt;?php screen_icon(); ?&gt;
</span><del>-                &lt;h2&gt;&lt;?php _e('Blogs') ?&gt;&lt;/h2&gt;
</del><ins>+                &lt;h2&gt;&lt;?php _e('Sites') ?&gt;&lt;/h2&gt;
</ins><span class="cx"> 
</span><span class="cx">                 &lt;form action=&quot;ms-sites.php&quot; method=&quot;get&quot; id=&quot;ms-search&quot;&gt;
</span><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;blogs&quot; /&gt;
</span><span class="lines">@@ -592,13 +592,12 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;div class=&quot;wrap&quot;&gt;
</span><span class="cx">                         &lt;a name=&quot;form-add-blog&quot;&gt;&lt;/a&gt;
</span><del>-                        &lt;?php screen_icon(); ?&gt;
-                        &lt;h2&gt;&lt;?php _e('Add Blog') ?&gt;&lt;/h2&gt;
</del><ins>+                        &lt;h2&gt;&lt;?php _e('Add Site') ?&gt;&lt;/h2&gt;
</ins><span class="cx">                         &lt;form method=&quot;post&quot; action=&quot;ms-edit.php?action=addblog&quot;&gt;
</span><span class="cx">                                 &lt;?php wp_nonce_field('add-blog') ?&gt;
</span><span class="cx">                                 &lt;table class=&quot;form-table&quot;&gt;
</span><span class="cx">                                         &lt;tr class=&quot;form-field form-required&quot;&gt;
</span><del>-                                                &lt;th style=&quot;text-align:center;&quot; scope='row'&gt;&lt;?php _e('Blog Address') ?&gt;&lt;/th&gt;
</del><ins>+                                                &lt;th style=&quot;text-align:center;&quot; scope='row'&gt;&lt;?php _e('Site Address') ?&gt;&lt;/th&gt;
</ins><span class="cx">                                                 &lt;td&gt;
</span><span class="cx">                                                 &lt;?php if ( is_subdomain_install() ) { ?&gt;
</span><span class="cx">                                                         &lt;input name=&quot;blog[domain]&quot; type=&quot;text&quot; title=&quot;&lt;?php _e('Domain') ?&gt;&quot;/&gt;.&lt;?php echo $current_site-&gt;domain;?&gt;
</span><span class="lines">@@ -610,7 +609,7 @@
</span><span class="cx">                                                 &lt;/td&gt;
</span><span class="cx">                                         &lt;/tr&gt;
</span><span class="cx">                                         &lt;tr class=&quot;form-field form-required&quot;&gt;
</span><del>-                                                &lt;th style=&quot;text-align:center;&quot; scope='row'&gt;&lt;?php _e('Blog Title') ?&gt;&lt;/th&gt;
</del><ins>+                                                &lt;th style=&quot;text-align:center;&quot; scope='row'&gt;&lt;?php _e('Site Title') ?&gt;&lt;/th&gt;
</ins><span class="cx">                                                 &lt;td&gt;&lt;input name=&quot;blog[title]&quot; type=&quot;text&quot; size=&quot;20&quot; title=&quot;&lt;?php _e('Title') ?&gt;&quot;/&gt;&lt;/td&gt;
</span><span class="cx">                                         &lt;/tr&gt;
</span><span class="cx">                                         &lt;tr class=&quot;form-field form-required&quot;&gt;
</span><span class="lines">@@ -622,7 +621,7 @@
</span><span class="cx">                                         &lt;/tr&gt;
</span><span class="cx">                                 &lt;/table&gt;
</span><span class="cx">                                 &lt;p class=&quot;submit&quot;&gt;
</span><del>-                                        &lt;input class=&quot;button&quot; type=&quot;submit&quot; name=&quot;go&quot; value=&quot;&lt;?php esc_attr_e('Add Blog') ?&gt;&quot; /&gt;&lt;/p&gt;
</del><ins>+                                        &lt;input class=&quot;button&quot; type=&quot;submit&quot; name=&quot;go&quot; value=&quot;&lt;?php esc_attr_e('Add Site') ?&gt;&quot; /&gt;&lt;/p&gt;
</ins><span class="cx">                         &lt;/form&gt;
</span><span class="cx">                 &lt;/div&gt;
</span><span class="cx">                 &lt;?php
</span></span></pre>
</div>
</div>

</body>
</html>