More screen icons and fixes, includes patch by johnconners, fixes #8380

git-svn-id: https://develop.svn.wordpress.org/trunk@9912 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-11-26 23:35:23 +00:00
parent e200f660bc
commit 0b85e05cda
13 changed files with 161 additions and 86 deletions
+3 -2
View File
@@ -16,14 +16,14 @@ if ( ! empty($cat_ID) ) {
/**
* @var string
*/
$heading = '<h2>' . __('Edit Category') . '</h2>';
$heading = '<h2>' . __('Edit Link Category') . '</h2>';
$submit_text = __('Edit Category');
$form = '<form name="editcat" id="editcat" method="post" action="link-category.php" class="validate">';
$action = 'editedcat';
$nonce_action = 'update-link-category_' . $cat_ID;
do_action('edit_link_category_form_pre', $category);
} else {
$heading = '<h2>' . __('Add Category') . '</h2>';
$heading = '<h2>' . __('Add Link Category') . '</h2>';
$submit_text = __('Add Category');
$form = '<form name="addcat" id="addcat" class="add:the-list: validate" method="post" action="link-category.php">';
$action = 'addcat';
@@ -53,6 +53,7 @@ _fill_empty_link_category($category);
?>
<div class="wrap">
<?php screen_icon(); ?>
<?php echo $heading ?>
<div id="ajax-response"></div>
<?php echo $form ?>