projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated .gitattributes with export-ignore.
[fa-stable.git]
/
admin
/
inst_module.php
diff --git
a/admin/inst_module.php
b/admin/inst_module.php
index f467ce5f73ec81628f3cf832050a9d6e1e56f9c6..77a16cbd5ba85b1536fa8676b49ffa56a7fa1889 100644
(file)
--- a/
admin/inst_module.php
+++ b/
admin/inst_module.php
@@
-42,8
+42,8
@@
function local_extension($id)
'active' => false
);
'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)) {
}
$hooks_class = 'hooks_'.$id;
if (class_exists($hooks_class, false)) {
@@
-113,13
+113,12
@@
function display_extensions()
$available = @$ext['available'];
$installed = @$ext['version'];
$id = @$ext['local_id'];
$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);
$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);
label_cell($available ? get_package_view_str($pkg_name, $ext['name']) : $ext['name']);
label_cell($tabs);
label_cell($entries);