alphabetized category drop down list

git-svn-id: http://svn.automattic.com/wordpress/trunk@358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
alex_t_king 2003-09-08 04:44:40 +00:00
parent af51dd7eac
commit 76eb648fc9
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ function profile($user_login) {
function dropdown_categories($blog_ID=1, $default=1) { function dropdown_categories($blog_ID=1, $default=1) {
global $postdata,$tablecategories,$mode,$querycount, $wpdb; global $postdata,$tablecategories,$mode,$querycount, $wpdb;
$query="SELECT * FROM $tablecategories"; $query="SELECT * FROM $tablecategories ORDER BY cat_name";
$results = $wpdb->get_results($query); $results = $wpdb->get_results($query);
++$querycount; ++$querycount;
$width = ($mode=="sidebar") ? "100%" : "170px"; $width = ($mode=="sidebar") ? "100%" : "170px";