Make WordPress Core

Changeset 14669


Ignore:
Timestamp:
05/15/2010 07:27:02 PM (15 years ago)
Author:
nacin
Message:

Wrap a label around an inline input. Same tactic we use in options-discussion. see [14668].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-options.php

    r14668 r14669  
    251251                <th scope="row"><?php _e( 'Site upload space' ) ?></th>
    252252                <td>
    253                 <label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><input name="blog_upload_space" type="text" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 10) ) . '" size="3" />' ); ?><br />
     253                <label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><label><input name="blog_upload_space" type="text" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 10) ) . '" size="3" />' ); ?></label><br />
    254254                </td>
    255255            </tr>
Note: See TracChangeset for help on using the changeset viewer.