mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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
9b89ffc80c
commit
431866a148
@ -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>
|
2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* operation/users/user_edit.php: fixed the "home page" for user,
|
* 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;
|
$menu_godmode["gagente"]["sub"] = $sub;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check_acl ($config['id_user'], 0, "AW")) {
|
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'];
|
$menu_godmode[$extmenu['fatherId']]['sub'][$extmenu['sec2']]["refr"] = $config['refr'];
|
||||||
}
|
}
|
||||||
else {
|
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'];
|
$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['acl'] = $acl;
|
||||||
$option_menu['name'] = $name;
|
$option_menu['name'] = $name;
|
||||||
$extension = &$config['extensions'][$extension_file];
|
$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['fatherId'] = $fatherId;
|
||||||
$option_menu['icon'] = $icon;
|
$option_menu['icon'] = $icon;
|
||||||
$option_menu['version'] = $version;
|
$option_menu['version'] = $version;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user