Revision 887
Added by aldus almost 16 years ago
trunk/wb/admin/admintools/index.php | ||
---|---|---|
41 | 41 |
|
42 | 42 |
// Insert tools into tool list |
43 | 43 |
$template->set_block('main_block', 'tool_list_block', 'tool_list'); |
44 |
$results = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'tool'"); |
|
44 |
$results = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'tool' order by name");
|
|
45 | 45 |
if($results->numRows() > 0) { |
46 | 46 |
while($tool = $results->fetchRow()) { |
47 | 47 |
$template->set_var('TOOL_NAME', $tool['name']); |
Also available in: Unified diff
add 'order by name' to the select-query to display the admintools in alphabetic order.