Changeset 8752
- Timestamp:
- 08/27/2008 07:41:51 PM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r8697 r8752 320 320 <div id="poststuff"> 321 321 322 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Show Settings') ?></a> 323 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Settings') ?></a></div> 324 325 <div id="edit-settings" class="hide-if-js hide-if-no-js"> 326 <div id="edit-settings-wrap"> 327 <h5><?php _e('Show on screen') ?></h5> 328 <div class="metabox-prefs"> 329 <?php meta_box_prefs('page') ?> 330 <br class="clear" /> 331 </div></div> 332 </div> 333 322 334 <div id="side-info-column" class="inner-sidebar"> 323 335 -
trunk/wp-admin/js/page.js
r8691 r8752 1 jQuery(document).ready( function( ) {1 jQuery(document).ready( function($) { 2 2 postboxes.add_postbox_toggles('page'); 3 3 make_slugedit_clickable(); … … 40 40 return false; 41 41 }); 42 43 // Edit Settings 44 $('#show-settings-link').click(function () { 45 $('#edit-settings').slideDown('normal', function(){ 46 $('#show-settings-link').hide(); 47 $('#hide-settings-link').show(); 48 49 }); 50 $('#show-settings').addClass('show-settings-opened'); 51 return false; 52 }); 53 54 $('#hide-settings-link').click(function () { 55 $('#edit-settings').slideUp('normal', function(){ 56 $('#hide-settings-link').hide(); 57 $('#show-settings-link').show(); 58 $('#show-settings').removeClass('show-settings-opened'); 59 }); 60 61 return false; 62 }); 42 63 });
Note: See TracChangeset
for help on using the changeset viewer.