Revision 144
Added by ryan about 20 years ago
| index.php | ||
|---|---|---|
| 125 | 125 |
|
| 126 | 126 |
// Insert groups into signup list |
| 127 | 127 |
$template->set_block('main_block', 'tool_list_block', 'tool_list');
|
| 128 |
$results = $database->query("SELECT * FROM ".TABLE_PREFIX."modules WHERE type = 'tool'");
|
|
| 128 |
$results = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'tool'");
|
|
| 129 | 129 |
$tool_list_empty=true; |
| 130 | 130 |
if($results->numRows() > 0) {
|
| 131 | 131 |
while($tool = $results->fetchRow()) {
|
Also available in: Unified diff
Updated tool-handling code