<!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>[15494] trunk/wp-admin/network: Fix network files.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/15494">15494</a></dd>
<dt>Author</dt> <dd>scribu</dd>
<dt>Date</dt> <dd>2010-08-12 00:38:46 +0000 (Thu, 12 Aug 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fix network files. See <a href="http://trac.wordpress.org/ticket/14579">#14579</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminnetworksitesphp">trunk/wp-admin/network/sites.php</a></li>
<li><a href="#trunkwpadminnetworkusersphp">trunk/wp-admin/network/users.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminnetworksitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/sites.php (15493 => 15494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/sites.php        2010-08-12 00:15:31 UTC (rev 15493)
+++ trunk/wp-admin/network/sites.php        2010-08-12 00:38:46 UTC (rev 15494)
</span><span class="lines">@@ -109,12 +109,12 @@
</span><span class="cx">                 $editblog_roles = get_blog_option( $id, &quot;{$blog_prefix}user_roles&quot; );
</span><span class="cx">                 $is_main_site = is_main_site( $id );
</span><span class="cx"> 
</span><del>-                require_once( './admin-header.php' );
</del><ins>+                require_once( '../admin-header.php' );
</ins><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><span class="cx">                 &lt;h2&gt;&lt;?php _e( 'Edit Site' ); ?&gt; - &lt;a href=&quot;&lt;?php echo esc_url( get_home_url( $id ) ); ?&gt;&quot;&gt;&lt;?php echo esc_url( get_home_url( $id ) ); ?&gt;&lt;/a&gt;&lt;/h2&gt;
</span><del>-                &lt;form method=&quot;post&quot; action=&quot;ms-edit.php?action=updateblog&quot;&gt;
</del><ins>+                &lt;form method=&quot;post&quot; action=&quot;edit.php?action=updateblog&quot;&gt;
</ins><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="cx">                         &lt;div class=&quot;metabox-holder&quot; style=&quot;width:49%;float:left;&quot;&gt;
</span><span class="lines">@@ -348,11 +348,11 @@
</span><span class="cx">         // List sites
</span><span class="cx">         case 'list':
</span><span class="cx">         default:
</span><del>-                require_once( './includes/default-list-tables.php' );
</del><ins>+                require_once( '../includes/default-list-tables.php' );
</ins><span class="cx"> 
</span><span class="cx">                 $table = new WP_Sites_Table;
</span><span class="cx"> 
</span><del>-                require_once( './admin-header.php' );
</del><ins>+                require_once( '../admin-header.php' );
</ins><span class="cx">                 ?&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;div class=&quot;wrap&quot;&gt;
</span><span class="lines">@@ -364,7 +364,7 @@
</span><span class="cx">                 } ?&gt;
</span><span class="cx">                 &lt;/h2&gt;
</span><span class="cx"> 
</span><del>-                &lt;form action=&quot;ms-sites.php&quot; method=&quot;get&quot; id=&quot;ms-search&quot;&gt;
</del><ins>+                &lt;form action=&quot;&quot; method=&quot;get&quot; id=&quot;ms-search&quot;&gt;
</ins><span class="cx">                 &lt;p class=&quot;search-box&quot;&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;&lt;?php echo esc_attr( $s ); ?&gt;&quot; /&gt;
</span><span class="lines">@@ -377,14 +377,14 @@
</span><span class="cx">                 &lt;/p&gt;
</span><span class="cx">                 &lt;/form&gt;
</span><span class="cx"> 
</span><del>-                &lt;form id=&quot;form-site-list&quot; action=&quot;ms-edit.php?action=allblogs&quot; method=&quot;post&quot;&gt;
</del><ins>+                &lt;form id=&quot;form-site-list&quot; action=&quot;edit.php?action=allblogs&quot; method=&quot;post&quot;&gt;
</ins><span class="cx">                         &lt;?php $table-&gt;display(); ?&gt;
</span><span class="cx">                 &lt;/form&gt;
</span><span class="cx">                 &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;div id=&quot;form-add-site&quot; class=&quot;wrap&quot;&gt;
</span><span class="cx">                         &lt;h3&gt;&lt;?php _e( 'Add Site' ) ?&gt;&lt;/h3&gt;
</span><del>-                        &lt;form method=&quot;post&quot; action=&quot;ms-edit.php?action=addblog&quot;&gt;
</del><ins>+                        &lt;form method=&quot;post&quot; action=&quot;edit.php?action=addblog&quot;&gt;
</ins><span class="cx">                                 &lt;?php wp_nonce_field( 'add-blog', '_wpnonce_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><span class="lines">@@ -419,4 +419,4 @@
</span><span class="cx">         break;
</span><span class="cx"> } // end switch( $action )
</span><span class="cx"> 
</span><del>-include( './admin-footer.php' ); ?&gt;
</del><ins>+require_once( '../admin-footer.php' ); ?&gt;
</ins></span></pre></div>
<a id="trunkwpadminnetworkusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/users.php (15493 => 15494)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/users.php        2010-08-12 00:15:31 UTC (rev 15493)
+++ trunk/wp-admin/network/users.php        2010-08-12 00:38:46 UTC (rev 15494)
</span><span class="lines">@@ -32,11 +32,11 @@
</span><span class="cx">         '&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;'
</span><span class="cx"> );
</span><span class="cx"> 
</span><del>-require_once( './includes/default-list-tables.php' );
</del><ins>+require_once( '../includes/default-list-tables.php' );
</ins><span class="cx"> 
</span><span class="cx"> $table = new WP_MS_Users_Table;
</span><span class="cx"> 
</span><del>-require_once( './admin-header.php' );
</del><ins>+require_once( '../admin-header.php' );
</ins><span class="cx"> 
</span><span class="cx"> if ( isset( $_REQUEST['updated'] ) &amp;&amp; $_REQUEST['updated'] == 'true' &amp;&amp; ! empty( $_REQUEST['action'] ) ) {
</span><span class="cx">         ?&gt;
</span><span class="lines">@@ -74,14 +74,14 @@
</span><span class="cx">         ?&gt;
</span><span class="cx">         &lt;/h2&gt;
</span><span class="cx"> 
</span><del>-        &lt;form action=&quot;ms-users.php&quot; method=&quot;get&quot; class=&quot;search-form&quot;&gt;
</del><ins>+        &lt;form action=&quot;&quot; method=&quot;get&quot; class=&quot;search-form&quot;&gt;
</ins><span class="cx">                 &lt;p class=&quot;search-box&quot;&gt;
</span><span class="cx">                 &lt;input type=&quot;text&quot; name=&quot;s&quot; value=&quot;&lt;?php echo esc_attr( $s ); ?&gt;&quot; class=&quot;search-input&quot; id=&quot;user-search-input&quot; /&gt;
</span><span class="cx">                 &lt;input type=&quot;submit&quot; id=&quot;post-query-submit&quot; value=&quot;&lt;?php esc_attr_e( 'Search Users' ) ?&gt;&quot; class=&quot;button&quot; /&gt;
</span><span class="cx">                 &lt;/p&gt;
</span><span class="cx">         &lt;/form&gt;
</span><span class="cx"> 
</span><del>-        &lt;form id=&quot;form-user-list&quot; action='ms-edit.php?action=allusers' method='post'&gt;
</del><ins>+        &lt;form id=&quot;form-user-list&quot; action='edit.php?action=allusers' method='post'&gt;
</ins><span class="cx">                 &lt;?php $table-&gt;display(); ?&gt;
</span><span class="cx">         &lt;/form&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;div class=&quot;wrap&quot; id=&quot;form-add-user&quot;&gt;
</span><span class="cx">         &lt;h3&gt;&lt;?php _e( 'Add User' ) ?&gt;&lt;/h3&gt;
</span><del>-        &lt;form action=&quot;ms-edit.php?action=adduser&quot; method=&quot;post&quot;&gt;
</del><ins>+        &lt;form action=&quot;edit.php?action=adduser&quot; method=&quot;post&quot;&gt;
</ins><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><span class="cx">                         &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Username' ) ?&gt;&lt;/th&gt;
</span><span class="lines">@@ -110,6 +110,6 @@
</span><span class="cx">                 &lt;input class=&quot;button&quot; type=&quot;submit&quot; value=&quot;&lt;?php esc_attr_e( 'Add user' ) ?&gt;&quot; /&gt;&lt;/p&gt;
</span><span class="cx">         &lt;/form&gt;
</span><span class="cx"> &lt;/div&gt;
</span><del>-&lt;?php endif; ?&gt;
</del><ins>+&lt;?php endif;
</ins><span class="cx"> 
</span><del>-&lt;?php include( './admin-footer.php' ); ?&gt;
</del><ins>+require_once( '../admin-footer.php' ); ?&gt;
</ins></span></pre>
</div>
</div>

</body>
</html>