3,10 → 3,10 |
include_once('includes/common.php'); |
Prolog(); |
|
$db->query("select category_id, category_name, category_comment, category_export_key" |
. " from telbook_categories order by category_name"); |
$db->query("select category_id, category_name, category_comment" |
. " from telbook_categories order by upper(category_name), category_name"); |
|
$table = new Table(array('Name', 'Comment', 'Export Key', '')); |
$table = new Table(array('Name', 'Comment', '')); |
$table->set_table_class('telbook list category_list'); |
|
while($line = $db->fetch_row()) { |
13,7 → 13,6 |
$table->newrow(); |
$table->addcell($line['category_name']); |
$table->addcell($line['category_comment']); |
$table->addcell($line['category_export_key']); |
$table->addcell(array('class' => 'link', 'html' => |
display_link('telbook_categories_details.php?id=' . $line['category_id'], 'Edit'))); |
} |