Changeset 14022
- Timestamp:
- 04/06/2010 11:13:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-sites.php
r14020 r14022 121 121 <td><input name="blog[last_updated]" type="text" id="blog_last_updated" value="<?php echo esc_attr( $details->last_updated ) ?>" size="40" /></td> 122 122 </tr> 123 <tr> 124 <th scope="row"><?php _e( 'Site Settings' ); ?></th> 125 <td> 123 126 <?php 124 127 if ( $is_main_site ) … … 130 133 'spam' => __('Spam'), 131 134 'deleted' => __('Deleted'), 132 'mature' => __('Mature'),133 135 ); 134 136 $checked_fields['mature'] = __( 'Mature' ); 135 137 foreach ( $checked_fields as $field_key => $field_label ) { 136 138 ?> 137 <tr class="form-field"> 138 <th scope="row"><label for="blog_<?php echo $field_key; ?>"><?php echo $field_label; ?></label></th> 139 <td><input type="checkbox" name="blog[<?php echo $field_key; ?>]" id="blog_<?php echo $field_key; ?>" value="<?php echo $details->$field_key; ?>"<?php checked( $details->$field_key ); ?> /></td> 139 <input type="checkbox" name="blog[<?php echo $field_key; ?>]" id="blog_<?php echo $field_key; ?>" value="<?php echo $details->$field_key; ?>"<?php checked( $details->$field_key ); ?> /> 140 <label for="blog_<?php echo $field_key; ?>"><?php echo $field_label; ?></label><br/> 141 <?php } ?> 142 </td> 140 143 </tr> 141 <?php } ?>142 144 </table> 143 145 <p class="submit" style="text-align:center;"><input type="submit" name="Submit" value="<?php esc_attr_e( 'Update Options' ) ?>" /></p>
Note: See TracChangeset
for help on using the changeset viewer.