Revision 384
Added by Matthias almost 18 years ago
index.php | ||
---|---|---|
33 | 33 |
|
34 | 34 |
// Insert values into template list |
35 | 35 |
$template->set_block('main_block', 'template_list_block', 'template_list'); |
36 |
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template'"); |
|
36 |
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template' order by name");
|
|
37 | 37 |
if($result->numRows() > 0) { |
38 | 38 |
while($addon = $result->fetchRow()) { |
39 | 39 |
$template->set_var('VALUE', $addon['directory']); |
Also available in: Unified diff
Added List sorting in admin area (thanks to rsmith)