2010-08-31 Sergio Martin <sergio.martin@artica.es>
* extensions/update_manager.php: Removed the update manager extension from the menu if the user doesnt have PM permissions git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e54c7f79ac
commit
5fe27efca1
|
@ -1,3 +1,9 @@
|
||||||
|
2010-08-31 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* extensions/update_manager.php: Removed the update
|
||||||
|
manager extension from the menu if the user
|
||||||
|
doesnt have PM permissions
|
||||||
|
|
||||||
2010-08-31 Sergio Martin <sergio.martin@artica.es>
|
2010-08-31 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* extensions/users_connected.php: Clean code and added
|
* extensions/users_connected.php: Clean code and added
|
||||||
|
|
|
@ -123,11 +123,15 @@ function pandora_update_manager_godmode () {
|
||||||
require_once ('update_manager/settings.php');
|
require_once ('update_manager/settings.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
add_operation_menu_option (__('Update manager'));
|
if(isset($config['id_user'])) {
|
||||||
add_godmode_menu_option (__('Update manager settings'), 'PM','gsetup');
|
if (give_acl ($config['id_user'], 0, "PM")) {
|
||||||
add_extension_main_function ('pandora_update_manager_main');
|
add_operation_menu_option (__('Update manager'));
|
||||||
add_extension_godmode_function ('pandora_update_manager_godmode');
|
add_godmode_menu_option (__('Update manager settings'), 'PM','gsetup');
|
||||||
add_extension_login_function ('pandora_update_manager_login');
|
add_extension_main_function ('pandora_update_manager_main');
|
||||||
|
add_extension_godmode_function ('pandora_update_manager_godmode');
|
||||||
|
add_extension_login_function ('pandora_update_manager_login');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$db = NULL;
|
$db = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue