Ticket #30486: 30486.3.diff
File 30486.3.diff, 9.5 KB (added by , 10 years ago) |
---|
-
src/wp-admin/includes/ms.php
470 470 471 471 ?> 472 472 <tr> 473 <th>< ?php _e( 'Site Upload Space Quota '); ?></th>474 <td><input type="number" step="1" min="0" style="width: 100px" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /> <?php _e( 'MB (Leave blank for network default)' ); ?></td>473 <th><?php _e( 'Site Upload Space Quota '); ?></th> 474 <td><input type="number" step="1" min="0" style="width: 100px" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /> <?php _e( 'MB (Leave blank for network default)' ); ?></td> 475 475 </tr> 476 476 <?php 477 477 } -
src/wp-admin/network/site-info.php
124 124 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 125 125 <table class="form-table"> 126 126 <tr class="form-field form-required"> 127 <th scope="row">< ?php _e( 'Domain' ) ?></th>127 <th scope="row"><></th> 128 128 <?php if ( $is_main_site ) { ?> 129 129 <td><code><?php echo $parsed['scheme'] . '://' . esc_attr( $details->domain ) ?></code></td> 130 130 <?php } else { ?> … … 132 132 <?php } ?> 133 133 </tr> 134 134 <tr class="form-field form-required"> 135 <th scope="row">< ?php _e( 'Path' ) ?></th>135 <th scope="row"><></th> 136 136 <?php if ( $is_main_site ) { ?> 137 137 <td><code><?php echo esc_attr( $details->path ) ?></code></td> 138 138 <?php … … 141 141 ?> 142 142 <td> 143 143 <input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" /><br /> 144 < label><input type="checkbox" name="update_home_url" value="update" <?php if ( get_option( 'siteurl' ) == untrailingslashit( get_blogaddress_by_id ($id ) ) || get_option( 'home' ) == untrailingslashit( get_blogaddress_by_id( $id ) ) ) echo 'checked="checked"'; ?> /><?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?></label>144 <<?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?></label> 145 145 </td> 146 146 <?php 147 147 restore_current_blog(); 148 148 } ?> 149 149 </tr> 150 150 <tr class="form-field"> 151 <th scope="row">< ?php _ex( 'Registered', 'site' ) ?></th>151 <th scope="row"><></th> 152 152 <td><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ) ?>" /></td> 153 153 </tr> 154 154 <tr class="form-field"> 155 <th scope="row">< ?php _e( 'Last Updated' ); ?></th>155 <th scope="row"><></th> 156 156 <td><input name="blog[last_updated]" type="text" id="blog_last_updated" value="<?php echo esc_attr( $details->last_updated ) ?>" /></td> 157 157 </tr> 158 158 <?php -
src/wp-admin/network/site-new.php
127 127 <?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ) ?> 128 128 <table class="form-table"> 129 129 <tr class="form-field form-required"> 130 <th scope="row">< ?php _e( 'Site Address' ) ?></th>130 <th scope="row"><></th> 131 131 <td> 132 132 <?php if ( is_subdomain_install() ) { ?> 133 133 <input name="blog[domain]" type="text" class="regular-text" id="site-address" title="<?php esc_attr_e( 'Domain' ) ?>"/><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', $current_site->domain ); ?></span> … … 139 139 </td> 140 140 </tr> 141 141 <tr class="form-field form-required"> 142 <th scope="row">< ?php _e( 'Site Title' ) ?></th>142 <th scope="row"><></th> 143 143 <td><input name="blog[title]" type="text" class="regular-text" id="site-title" title="<?php esc_attr_e( 'Title' ) ?>"/></td> 144 144 </tr> 145 145 <tr class="form-field form-required"> 146 <th scope="row">< ?php _e( 'Admin Email' ) ?></th>146 <th scope="row"><></th> 147 147 <td><input name="blog[email]" type="email" class="regular-text wp-suggest-user" id="admin-email" data-autocomplete-type="search" data-autocomplete-field="user_email" title="<?php esc_attr_e( 'Email' ) ?>"/></td> 148 148 </tr> 149 149 <tr class="form-field"> -
src/wp-admin/network/site-settings.php
138 138 if ( strpos( $option->option_value, "\n" ) !== false ) { 139 139 ?> 140 140 <tr class="form-field"> 141 <th scope="row">< ?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></th>141 <th scope="row"><></th> 142 142 <td><textarea class="<?php echo $class; ?>" rows="5" cols="40" name="option[<?php echo esc_attr( $option->option_name ) ?>]" id="<?php echo esc_attr( $option->option_name ) ?>"<?php disabled( $disabled ) ?>><?php echo esc_textarea( $option->option_value ) ?></textarea></td> 143 143 </tr> 144 144 <?php 145 145 } else { 146 146 ?> 147 147 <tr class="form-field"> 148 <th scope="row">< ?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></th>148 <th scope="row"><></th> 149 149 <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?> 150 150 <td><code><?php echo esc_html( $option->option_value ) ?></code></td> 151 151 <?php } else { ?> -
src/wp-admin/network/site-users.php
262 262 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 263 263 <table class="form-table"> 264 264 <tr> 265 <th scope="row">< ?php _e( 'Username' ); ?></th>265 <th scope="row"><></th> 266 266 <td><input type="text" class="regular-text wp-suggest-user" name="newuser" id="newuser" /></td> 267 267 </tr> 268 268 <tr> 269 <th scope="row">< ?php _e( 'Role' ); ?></th>270 <td><select name="new_role" id="new_role_ 0">269 <th scope="row"><></th> 270 <td><select name="new_role" id="new_role_"> 271 271 <?php wp_dropdown_roles( get_option( 'default_role' ) ); ?> 272 272 </select></td> 273 273 </tr> … … 291 291 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 292 292 <table class="form-table"> 293 293 <tr> 294 <th scope="row">< ?php _e( 'Username' ) ?></th>295 <td><input type="text" class="regular-text" name="user[username]" /></td>294 <th scope="row"><></th> 295 <td><input type="text" class="regular-text" name="user[username]" /></td> 296 296 </tr> 297 297 <tr> 298 <th scope="row">< ?php _e( 'Email' ) ?></th>299 <td><input type="text" class="regular-text" name="user[email]" /></td>298 <th scope="row"><></th> 299 <td><input type="text" class="regular-text" name="user[email]" /></td> 300 300 </tr> 301 301 <tr> 302 <th scope="row">< ?php _e( 'Role' ); ?></th>303 <td><select name="new_role" id="new_role_ 0">302 <th scope="row"><></th> 303 <td><select name="new_role" id="new_role_"> 304 304 <?php wp_dropdown_roles( get_option( 'default_role' ) ); ?> 305 305 </select></td> 306 306 </tr> -
src/wp-admin/network/user-new.php
87 87 <form action="<?php echo network_admin_url('user-new.php?action=add-user'); ?>" id="adduser" method="post"> 88 88 <table class="form-table"> 89 89 <tr class="form-field form-required"> 90 <th scope="row">< ?php _e( 'Username' ) ?></th>91 <td><input type="text" class="regular-text" name="user[username]" /></td>90 <th scope="row"><></th> 91 <td><input type="text" class="regular-text" name="user[username]" /></td> 92 92 </tr> 93 93 <tr class="form-field form-required"> 94 <th scope="row">< ?php _e( 'Email' ) ?></th>95 <td><input type="text" class="regular-text" name="user[email]" /></td>94 <th scope="row"><></th> 95 <td><input type="text" class="regular-text" name="user[email]" /></td> 96 96 </tr> 97 97 <tr class="form-field"> 98 98 <td colspan="2"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></td>