2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php: fixed the default value for refresh in the extensions. Fixes: #2310 * include/functions_extensions.php: cleaned source code style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d1a999334f
commit
84d47d8e9d
|
@ -1,3 +1,12 @@
|
|||
2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/menu.php: fixed the default value for refresh in the
|
||||
extensions.
|
||||
|
||||
Fixes: #2310
|
||||
|
||||
* include/functions_extensions.php: cleaned source code style.
|
||||
|
||||
2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/users/user_edit.php: fixed the "home page" for user,
|
||||
|
|
|
@ -49,6 +49,7 @@ if (check_acl ($config['id_user'], 0, "AW") || check_acl ($config['id_user'], 0,
|
|||
|
||||
$menu_godmode["gagente"]["sub"] = $sub;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (check_acl ($config['id_user'], 0, "AW")) {
|
||||
|
@ -276,7 +277,7 @@ if (check_acl ($config['id_user'], 0, "PM")) {
|
|||
$menu_godmode[$extmenu['fatherId']]['sub'][$extmenu['sec2']]["refr"] = $config['refr'];
|
||||
}
|
||||
else {
|
||||
$menu_godmode[$extmenu['fatherId']]['sub'][$extmenu['sec2']]["refr"] = 60;
|
||||
$menu_godmode[$extmenu['fatherId']]['sub'][$extmenu['sec2']]["refr"] = 0;
|
||||
}
|
||||
}
|
||||
$menu_godmode[$extmenu['fatherId']]['sub'][$extmenu['sec2']]["icon"] = $extmenu['icon'];
|
||||
|
|
|
@ -336,7 +336,7 @@ function extensions_add_godmode_menu_option ($name, $acl, $fatherId = null, $ico
|
|||
$option_menu['acl'] = $acl;
|
||||
$option_menu['name'] = $name;
|
||||
$extension = &$config['extensions'][$extension_file];
|
||||
$option_menu['sec2'] = $extension['dir'].'/'.mb_substr ($extension_file, 0, -4);
|
||||
$option_menu['sec2'] = $extension['dir'] . '/' . mb_substr ($extension_file, 0, -4);
|
||||
$option_menu['fatherId'] = $fatherId;
|
||||
$option_menu['icon'] = $icon;
|
||||
$option_menu['version'] = $version;
|
||||
|
|
Loading…
Reference in New Issue