Changeset 3660 for trunk/wp-admin/admin-header.php
- Timestamp:
- 03/29/2006 01:51:55 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r3570 r3660 4 4 if ( $editing ) { 5 5 $dbx_js = true; 6 if ( current_user_can('manage_categories') ) 6 $pmeta_js = true; 7 if ( current_user_can('manage_categories') ) { 8 $list_js = true; 7 9 $cat_js = true; 10 } 8 11 } 9 if ( $list_js || $cat_js)12 if ( $list_js ) 10 13 $sack_js = true; 11 14 ?> … … 30 33 <?php } ?> 31 34 <?php if ( $list_js ) { ?> 32 <script type="text/javascript" src="list-manipulation.js"></script> 35 <script type="text/javascript" src="list-manipulation-js.php"></script> 36 <?php } ?> 37 <?php if ( $pmeta_js ) { ?> 38 <script type="text/javascript" src="custom-fields.js"></script> 39 <?php } ?> 40 <?php if ( 'categories.php' == $pagenow && 'edit' != $action ) { ?> 41 <script type="text/javascript" src="categories.js"></script> 33 42 <?php } ?> 34 43 <?php if ( $dbx_js ) { ?>
Note: See TracChangeset
for help on using the changeset viewer.