Revision 122
Added by ryan about 19 years ago
index.php | ||
---|---|---|
129 | 129 |
$tool_list_empty=true; |
130 | 130 |
if($results->numRows() > 0) { |
131 | 131 |
while($tool = $results->fetchRow()) { |
132 |
$template->set_var('LINK', '<a href="'.ADMIN_URL.'/settings/tool.php?tool='.$tool['directory'].'">'.$tool['name'].'</a>'); |
|
132 |
$template->set_var('TOOL_NAME', $tool['name']); |
|
133 |
$template->set_var('TOOL_DIR', $tool['directory']); |
|
133 | 134 |
} |
134 | 135 |
} else { |
135 | 136 |
$template->set_var('LINK', $TEXT['NONE_FOUND']); |
137 |
|
|
136 | 138 |
} |
137 | 139 |
$template->parse('tool_list', 'tool_list_block', true); |
138 | 140 |
|
Also available in: Unified diff
Fixed mis-use of templating for Administrative Tools section