Revision 384
Added by Matthias almost 18 years ago
index.php | ||
---|---|---|
480 | 480 |
$module_permissions = $_SESSION['MODULE_PERMISSIONS']; |
481 | 481 |
// Modules list |
482 | 482 |
$template->set_block('main_block', 'module_list_block', 'module_list'); |
483 |
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'page'"); |
|
483 |
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'page' order by name");
|
|
484 | 484 |
if($result->numRows() > 0) { |
485 | 485 |
while ($module = $result->fetchRow()) { |
486 | 486 |
// Check if user is allowed to use this module |
Also available in: Unified diff
Added List sorting in admin area (thanks to rsmith)