Make WordPress Core


Ignore:
Timestamp:
02/18/2008 10:07:57 PM (18 years ago)
Author:
ryan
Message:

Move timestamp to submitbox. Put it in a slidedown. see #5846

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r6875 r6904  
    755755        $tab_index_attribute = " tabindex=\"$tab_index\"";
    756756
    757     echo '<fieldset><legend><input type="checkbox" class="checkbox" name="edit_date" value="1" id="timestamp"'.$tab_index_attribute.' /> <label for="timestamp">'.__( 'Edit timestamp' ).'</label></legend>';
     757    echo '<legend><input type="checkbox" class="checkbox" name="edit_date" value="1" id="timestamp"'.$tab_index_attribute.' /> <label for="timestamp">'.__( 'Edit timestamp' ).'</label></legend>';
    758758
    759759    $time_adj = time() + (get_option( 'gmt_offset' ) * 3600 );
     
    781781<input type="hidden" id="ss" name="ss" value="<?php echo $ss ?>" size="2" maxlength="2" onchange="edit_date.checked=true" />
    782782<?php
    783     if ( $edit ) {
    784         printf( _c( 'Existing timestamp: %1$s %2$s, %3$s @ %4$s:%5$s|1: month, 2: month string, 3: full year, 4: hours, 5: minutes' ), $wp_locale->get_month( $mm ), $jj, $aa, $hh, $mn );
    785     }
    786 ?>
    787 </fieldset>
    788     <?php
    789 
    790783}
    791784
Note: See TracChangeset for help on using the changeset viewer.