h2 removal per wireframes. Props Viper007Bond. see #7552

git-svn-id: https://develop.svn.wordpress.org/trunk@9032 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-09-29 22:06:23 +00:00
parent 2084dc7f8f
commit 8f62bd766a
35 changed files with 14 additions and 134 deletions
+3 -3
View File
@@ -16,14 +16,14 @@ if ( ! empty($cat_ID) ) {
/**
* @var string
*/
$heading = __('Edit Category');
$heading = '';
$submit_text = __('Edit Category');
$form = '<form name="editcat" id="editcat" method="post" action="categories.php" class="validate">';
$action = 'editedcat';
$nonce_action = 'update-category_' . $cat_ID;
do_action('edit_category_form_pre', $category);
} else {
$heading = __('Add Category');
$heading = '<h2>' . __('Add Category') . '</h2>';
$submit_text = __('Add Category');
$form = '<form name="addcat" id="addcat" method="post" action="categories.php" class="add:the-list: validate">';
$action = 'addcat';
@@ -56,7 +56,7 @@ _fill_empty_category($category);
?>
<div class="wrap">
<h2><?php echo $heading ?></h2>
<?php echo $heading ?>
<div id="ajax-response"></div>
<?php echo $form ?>
<input type="hidden" name="action" value="<?php echo $action ?>" />