Changeset 1355 for trunk/wp-admin/link-add.php
- Timestamp:
- 05/24/2004 08:22:18 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-add.php
r1200 r1355 7 7 8 8 function category_dropdown($fieldname, $selected = 0) { 9 global $wpdb , $tablelinkcategories;10 11 $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle FROM $ tablelinkcategories ORDER BY cat_id");9 global $wpdb; 10 11 $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle FROM $wpdb->linkcategories ORDER BY cat_id"); 12 12 echo ' <select name="'.$fieldname.'" size="1">'."\n"; 13 13 foreach ($results as $row) {
Note: See TracChangeset
for help on using the changeset viewer.