Revision 119
Added by stefan about 19 years ago
index.php | ||
---|---|---|
125 | 125 |
if($file != '.' AND $file != '..' AND $file != '.svn' AND is_dir(WB_PATH."/modules/$file") AND file_exists(WB_PATH."/modules/$file/info.php")) { |
126 | 126 |
// Include the modules info file |
127 | 127 |
require(WB_PATH.'/modules/'.$file.'/info.php'); |
128 |
$template->set_var('VALUE', $file); |
|
129 |
$template->set_var('NAME', $module_name); |
|
130 |
$template->parse('module_list', 'module_list_block', true); |
|
128 |
if ($module_type=='page') { |
|
129 |
$template->set_var('VALUE', $file); |
|
130 |
$template->set_var('NAME', $module_name); |
|
131 |
$template->parse('module_list', 'module_list_block', true); |
|
132 |
} |
|
131 | 133 |
} |
132 | 134 |
} |
133 | 135 |
} |
Also available in: Unified diff
Implemented new module type 'tool'. Added setting section 'Tools' (advanced). Removed possibility to set permissions for all module types other than 'page'.