Changeset 3313
- Timestamp:
- 12/15/2005 09:48:12 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r3306 r3313 84 84 <?php endif; ?> 85 85 <script type="text/javascript" src="../wp-includes/js/dbx.js"></script> 86 <script type="text/javascript"> 87 addLoadEvent( function() { 88 <?php switch ( $pagenow ) : case 'post.php' : ?> 89 var manager = new dbxManager('postmeta'); //session ID [/-_a-zA-Z0-9/] 90 <?php break; case 'page-new.php' : ?> 91 var manager = new dbxManager('pagemeta'); //session ID [/-_a-zA-Z0-9/] 92 <?php break; endswitch; ?> 93 }); 94 </script> 86 95 <script type="text/javascript" src="../wp-includes/js/dbx-key.js"></script> 87 96 88 <?php if ( isset($editing) &¤t_user_can('manage_categories') ) : ?>97 <?php if ( current_user_can('manage_categories') ) : ?> 89 98 <style type="text/css"> 90 99 #newcat { width: 120px; margin-right: 5px; } -
trunk/wp-includes/js/dbx-key.js
r2812 r3313 3 3 addLoadEvent( function() 4 4 { 5 //initialise the docking boxes manager6 var manager = new dbxManager('postmeta'); //session ID [/-_a-zA-Z0-9/]7 8 9 5 //create new docking boxes group 10 6 var meta = new dbxGroup(
Note: See TracChangeset
for help on using the changeset viewer.