Changeset 6961
- Timestamp:
- 02/21/08 22:20:19 (9 months ago)
- Files:
-
- trunk/wp-admin/edit-form-advanced.php (modified) (2 diffs)
- trunk/wp-admin/edit-form-comment.php (modified) (1 diff)
- trunk/wp-admin/edit-page-form.php (modified) (2 diffs)
- trunk/wp-admin/includes/template.php (modified) (1 diff)
- trunk/wp-admin/js/comment.js (modified) (1 diff)
- trunk/wp-admin/js/page.js (modified) (1 diff)
- trunk/wp-admin/js/post.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/edit-form-advanced.php
r6955 r6961 145 145 <a href="#edit_timestamp" class="edit-timestamp"><?php _e('Edit') ?></a></p> 146 146 147 <div id='timestamp '><?php touch_time(($action == 'edit')); ?></div>147 <div id='timestampdiv'><?php touch_time(($action == 'edit')); ?></div> 148 148 149 149 </div> … … 298 298 299 299 <div id="commentstatusdiv" class="postbox <?php echo postbox_classes('commentstatusdiv', 'post'); ?>"> 300 <h3><?php _e('Comments & Pings') ?></h3>300 <h3><?php _e('Comments & Pings') ?></h3> 301 301 <div class="inside"> 302 302 <input name="advanced_view" type="hidden" value="1" /> trunk/wp-admin/edit-form-comment.php
r6949 r6961 74 74 <a href="#edit_timestamp" class="edit-timestamp"><?php _e('Edit') ?></a></p> 75 75 76 <div id='timestamp '><?php touch_time(('editcomment' == $action), 0, 5); ?></div>76 <div id='timestampdiv'><?php touch_time(('editcomment' == $action), 0, 5); ?></div> 77 77 78 78 </div> trunk/wp-admin/edit-page-form.php
r6955 r6961 123 123 <a href="#edit_timestamp" class="edit-timestamp"><?php _e('Edit') ?></a></p> 124 124 125 <div id='timestamp '><?php touch_time(($action == 'edit')); ?></div>125 <div id='timestampdiv'><?php touch_time(($action == 'edit')); ?></div> 126 126 127 127 </div> … … 195 195 196 196 <div id="pagecommentstatusdiv" class="postbox <?php echo postbox_classes('pagecommentstatusdiv', 'page'); ?>"> 197 <h3><?php _e('Comments & Pings') ?></h3>197 <h3><?php _e('Comments & Pings') ?></h3> 198 198 <div class="inside"> 199 199 <input name="advanced_view" type="hidden" value="1" /> trunk/wp-admin/includes/template.php
r6950 r6961 774 774 $tab_index_attribute = " tabindex=\"$tab_index\""; 775 775 776 echo '< legend><input type="checkbox" class="checkbox" name="edit_date" value="1" id="timestamp"'.$tab_index_attribute.' /> <label for="timestamp">'.__( 'Edit timestamp' ).'</label></legend>';776 echo '<input type="checkbox" class="checkbox" name="edit_date" value="1" id="timestamp"'.$tab_index_attribute.' /> <label for="timestamp">'.__( 'Edit timestamp' ).'</label>'; 777 777 778 778 $time_adj = time() + (get_option( 'gmt_offset' ) * 3600 ); trunk/wp-admin/js/comment.js
r6924 r6961 2 2 add_postbox_toggles('comment'); 3 3 4 jQuery('#timestamp ').css('display', 'none');4 jQuery('#timestampdiv').css('display', 'none'); 5 5 jQuery('.edit-timestamp').click(function () { 6 if (jQuery('#timestamp ').is(":hidden")) {7 jQuery('#timestamp ').slideDown("normal");6 if (jQuery('#timestampdiv').is(":hidden")) { 7 jQuery('#timestampdiv').slideDown("normal"); 8 8 } else { 9 jQuery('#timestamp ').hide();9 jQuery('#timestampdiv').hide(); 10 10 } 11 11 }); trunk/wp-admin/js/page.js
r6955 r6961 6 6 jQuery('#pageslugdiv').hide(); 7 7 8 jQuery('#timestamp ').css('display', 'none');8 jQuery('#timestampdiv').css('display', 'none'); 9 9 jQuery('.edit-timestamp').click(function () { 10 if (jQuery('#timestamp ').is(":hidden")) {11 jQuery('#timestamp ').slideDown("normal");10 if (jQuery('#timestampdiv').is(":hidden")) { 11 jQuery('#timestampdiv').slideDown("normal"); 12 12 } else { 13 jQuery('#timestamp ').hide();13 jQuery('#timestampdiv').hide(); 14 14 } 15 15 }); trunk/wp-admin/js/post.js
r6955 r6961 145 145 jQuery('.categorychecklist :checkbox').change( syncChecks ).filter( ':checked' ).change(); 146 146 147 jQuery('#timestamp ').css('display', 'none');147 jQuery('#timestampdiv').css('display', 'none'); 148 148 jQuery('.edit-timestamp').click(function () { 149 if (jQuery('#timestamp ').is(":hidden")) {150 jQuery('#timestamp ').slideDown("normal");149 if (jQuery('#timestampdiv').is(":hidden")) { 150 jQuery('#timestampdiv').slideDown("normal"); 151 151 } else { 152 jQuery('#timestamp ').hide();152 jQuery('#timestampdiv').hide(); 153 153 } 154 154 });
