summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/admin-header.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-25 11:27:27 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-25 11:27:27 +0000
commitc1ef28a0c9034737265c5b31b3dcea0e759ce500 (patch)
tree6f94da7cc40f9620b29b7b72bb329dedfa338d08 /wp-inst/wp-admin/admin-header.php
parent9d447d872c7a8f914c14dc7a0f981be51d214227 (diff)
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@447 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/admin-header.php')
-rw-r--r--wp-inst/wp-admin/admin-header.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/wp-inst/wp-admin/admin-header.php b/wp-inst/wp-admin/admin-header.php
index 14e28c7..5747ebc 100644
--- a/wp-inst/wp-admin/admin-header.php
+++ b/wp-inst/wp-admin/admin-header.php
@@ -114,7 +114,7 @@ tinyMCE.init({
<script type="text/javascript" src="../wp-includes/js/dbx.js"></script>
<script type="text/javascript" src="../wp-includes/js/dbx-key.js"></script>
-<?php if ( current_user_can('manage_categories') ) : ?>
+<?php if ( isset($editing) && current_user_can('manage_categories') ) : ?>
<style type="text/css">
#newcat { width: 120px; margin-right: 5px; }
input#catadd { background: #a4a4a4;
@@ -330,7 +330,6 @@ function myPload( str ) {
fixedExplode[count] = currentElement;
return fixedExplode;
}
-
</script>
<?php endif; ?>