'active' => false
);
- if (file_exists($path_to_root.'/modules/'.$id.'/hooks.php')) {
- include_once($path_to_root.'/modules/'.$id.'/hooks.php');
+ if (file_exists($path_to_root.'/modules/'.clean_file_name($id).'/hooks.php')) {
+ include_once($path_to_root.'/modules/'.clean_file_name($id).'/hooks.php');
}
$hooks_class = 'hooks_'.$id;
if (class_exists($hooks_class, false)) {
$available = @$ext['available'];
$installed = @$ext['version'];
$id = @$ext['local_id'];
- $is_mod = $ext['type'] == 'module';
$entries = fmt_titles(@$ext['entries']);
$tabs = fmt_titles(@$ext['tabs']);
alt_table_row_color($k);
-// label_cell(is_array($ext['Descr']) ? $ext['Descr'][0] : $ext['Descr']);
+
label_cell($available ? get_package_view_str($pkg_name, $ext['name']) : $ext['name']);
label_cell($tabs);
label_cell($entries);