From: hickert Date: Tue, 30 Jun 2009 12:08:53 +0000 (+0000) Subject: Updated role X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=466793f7c5bdba07e8f3c6468fc30adf2ddb9a04;p=gosa.git Updated role git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13849 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/oroles/admin/oroles/main.inc b/gosa-plugins/oroles/admin/oroles/main.inc deleted file mode 100644 index 28c548c68..000000000 --- a/gosa-plugins/oroles/admin/oroles/main.inc +++ /dev/null @@ -1,67 +0,0 @@ -remove_lock(); - } -} - -/* Remove this plugin from session -*/ -if ( $cleanup ){ - session::un_set('roleManagement'); -}else{ - - /* Create object object on demand */ - if (!session::is_set('roleManagement')){ - session::set('roleManagement',new roleManagement ($config)); - - } - $roleManagement = session::get('roleManagement'); - - /* Execute formular */ - $roleManagement->save_object(); - $output= $roleManagement->execute (); - - /* Page header*/ - if (get_object_info() != ""){ - $display= print_header(get_template_path('plugins/roleManagement/images/plugin.png'), - _("Roles"), - "\"\" ". - LDAP::fix(get_object_info())); - } else { - $display= print_header(get_template_path('plugins/roleManagement/images/plugin.png'), _("roleManagement")); - } - - $display.= $output; - - /* Store changes in session */ - session::set('roleManagement',$roleManagement); -} - -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> diff --git a/gosa-plugins/oroles/plugin.dsc b/gosa-plugins/oroles/plugin.dsc deleted file mode 100644 index f99790f97..000000000 --- a/gosa-plugins/oroles/plugin.dsc +++ /dev/null @@ -1,7 +0,0 @@ -[gosa-plugin] -name = oroles -description = "Role management plugin" -version = 2.6.4 -author = "Fabian Hickert " -homepage = https://oss.gonicus.de/labs/gosa/ -provides = oroles diff --git a/gosa-plugins/roleManagement/plugin.dsc b/gosa-plugins/roleManagement/plugin.dsc new file mode 100644 index 000000000..f99790f97 --- /dev/null +++ b/gosa-plugins/roleManagement/plugin.dsc @@ -0,0 +1,7 @@ +[gosa-plugin] +name = oroles +description = "Role management plugin" +version = 2.6.4 +author = "Fabian Hickert " +homepage = https://oss.gonicus.de/labs/gosa/ +provides = oroles