diff -r a4642baaf829 -r 4d4862461b8d web/wp-admin/edit-link-category-form.php --- a/web/wp-admin/edit-link-category-form.php Tue Feb 02 14:45:47 2010 +0000 +++ b/web/wp-admin/edit-link-category-form.php Tue Feb 02 15:44:16 2010 +0000 @@ -1,89 +1,90 @@ -' . __('Edit Link Category') . ''; - $submit_text = __('Update Category'); - $form = '
'; - $action = 'editedcat'; - $nonce_action = 'update-link-category_' . $cat_ID; - do_action('edit_link_category_form_pre', $category); -} else { - $heading = '

' . __('Add Link Category') . '

'; - $submit_text = __('Add Category'); - $form = ''; - $action = 'addcat'; - $nonce_action = 'add-link-category'; - do_action('add_link_category_form_pre', $category); -} - -/** - * @ignore - * @since 2.7 - * @internal Used to prevent errors in page when no category is being edited. - * - * @param object $category - */ -function _fill_empty_link_category(&$category) { - if ( ! isset( $category->name ) ) - $category->name = ''; - - if ( ! isset( $category->slug ) ) - $category->slug = ''; - - if ( ! isset( $category->description ) ) - $category->description = ''; -} - -_fill_empty_link_category($category); -?> - -
- - -
- - - - - - - - - - - - - - - - - - -

-
-

- - -
+' . __('Edit Link Category') . ''; + $submit_text = __('Update Category'); + $form = '
'; + $action = 'editedcat'; + $nonce_action = 'update-link-category_' . $cat_ID; + do_action('edit_link_category_form_pre', $category); +} else { + $heading = '

' . __('Add Link Category') . '

'; + $submit_text = __('Add Category'); + $form = ''; + $action = 'addcat'; + $nonce_action = 'add-link-category'; + do_action('add_link_category_form_pre', $category); +} + +/** + * @ignore + * @since 2.7 + * @internal Used to prevent errors in page when no category is being edited. + * + * @param object $category + */ +function _fill_empty_link_category(&$category) { + if ( ! isset( $category->name ) ) + $category->name = ''; + + if ( ! isset( $category->slug ) ) + $category->slug = ''; + + if ( ! isset( $category->description ) ) + $category->description = ''; +} + +_fill_empty_link_category($category); +?> + +
+ + +
+ + + + + + + + + + + + + + + + + + +

+

+
+

+ + +