diff --git a/wp-admin/linkcategories.php b/wp-admin/linkcategories.php index 2682c4093..99adfe1d2 100644 --- a/wp-admin/linkcategories.php +++ b/wp-admin/linkcategories.php @@ -67,24 +67,24 @@ switch ($action) { if ($show_images != 'Y') { $show_images = 'N'; } - + $show_description = $HTTP_POST_VARS["show_description"]; if ($show_description != 'Y') { $show_description = 'N'; } - + $show_rating = $HTTP_POST_VARS["show_rating"]; if ($show_rating != 'Y') { $show_rating = 'N'; } - + $show_updated = $HTTP_POST_VARS["show_updated"]; if ($show_updated != 'Y') { $show_updated = 'N'; } - + $sort_order = $HTTP_POST_VARS["sort_order"]; - + $sort_desc = $HTTP_POST_VARS["sort_desc"]; if ($sort_desc != 'Y') { $sort_desc = 'N'; @@ -163,9 +163,9 @@ switch ($action) { Sort order: - - + @@ -221,12 +221,12 @@ switch ($action) { if (isset($submit) && ($submit == "Save")) { $cat_id=$HTTP_POST_VARS["cat_id"]; - + $cat_name=addslashes($HTTP_POST_VARS["cat_name"]); $auto_toggle = $HTTP_POST_VARS["auto_toggle"]; if ($auto_toggle != 'Y') { $auto_toggle = 'N'; - } + } $show_images = $HTTP_POST_VARS["show_images"]; if ($show_images != 'Y') { @@ -278,7 +278,7 @@ switch ($action) { WHERE cat_id=$cat_id "); } // end if save - + header("Location: linkcategories.php"); break; @@ -318,7 +318,6 @@ switch ($action) { between after -
get_results("SELECT cat_id, cat_name, auto_toggle, show_images } ?> - - -
+ + + +
@@ -380,15 +380,17 @@ $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle, show_images Sort order: - - +    - Descending?
+ Descending?
+ Text/HTML @@ -413,9 +415,8 @@ $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle, show_images - - +
@@ -428,6 +429,4 @@ $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle, show_images } // end default } // end case ?> - -