Revision 348
Added by stefan over 19 years ago
| trunk/wb/admin/pages/index.php | ||
|---|---|---|
| 484 | 484 |
if($result->numRows() > 0) {
|
| 485 | 485 |
while ($module = $result->fetchRow()) {
|
| 486 | 486 |
// Check if user is allowed to use this module |
| 487 |
if(!isset($module['function'])) { $module['function'] = 'unknown'; }
|
|
| 488 | 487 |
if(!is_numeric(array_search($module['directory'], $module_permissions))) {
|
| 489 | 488 |
$template->set_var('VALUE', $module['directory']);
|
| 490 | 489 |
$template->set_var('NAME', $module['name']);
|
| ... | ... | |
| 495 | 494 |
} |
| 496 | 495 |
$template->parse('module_list', 'module_list_block', true);
|
| 497 | 496 |
} |
| 498 |
if(isset($module_function)) { unset($module_function); } // Unset module type
|
|
| 499 | 497 |
} |
| 500 | 498 |
} |
| 501 | 499 |
|
| ... | ... | |
| 544 | 542 |
// Print admin |
| 545 | 543 |
$admin->print_footer(); |
| 546 | 544 |
|
| 547 |
?> |
|
| 545 |
?> |
|
Also available in: Unified diff
Removed superfluous lines from admin/pages/index.php