equal
deleted
inserted
replaced
133 </tr> |
133 </tr> |
134 <tr class="form-field form-required"> |
134 <tr class="form-field form-required"> |
135 <th scope="row"><?php _e( 'Path' ) ?></th> |
135 <th scope="row"><?php _e( 'Path' ) ?></th> |
136 <?php if ( $is_main_site ) { ?> |
136 <?php if ( $is_main_site ) { ?> |
137 <td><code><?php echo esc_attr( $details->path ) ?></code></td> |
137 <td><code><?php echo esc_attr( $details->path ) ?></code></td> |
138 <?php } else { ?> |
138 <?php |
|
139 } else { |
|
140 switch_to_blog( $id ); |
|
141 ?> |
139 <td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style='margin-bottom:5px;' /> |
142 <td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style='margin-bottom:5px;' /> |
140 <br /><input type="checkbox" style="width:20px;" name="update_home_url" value="update" <?php if ( get_blog_option( $id, 'siteurl' ) == untrailingslashit( get_blogaddress_by_id ($id ) ) || get_blog_option( $id, 'home' ) == untrailingslashit( get_blogaddress_by_id( $id ) ) ) echo 'checked="checked"'; ?> /> <?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?></td> |
143 <br /><input type="checkbox" style="width:20px;" 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.' ); ?></td> |
141 <?php } ?> |
144 <?php |
|
145 restore_current_blog(); |
|
146 } ?> |
142 </tr> |
147 </tr> |
143 <tr class="form-field"> |
148 <tr class="form-field"> |
144 <th scope="row"><?php _ex( 'Registered', 'site' ) ?></th> |
149 <th scope="row"><?php _ex( 'Registered', 'site' ) ?></th> |
145 <td><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ) ?>" size="40" /></td> |
150 <td><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ) ?>" size="40" /></td> |
146 </tr> |
151 </tr> |