From 0512a6d260c15dd003931ee423eed39511c11104 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 18 May 2010 09:46:31 +0000 Subject: [PATCH] Renamed configViwer to propertyEditor. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18528 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/gosa.conf | 2 +- .../addons/configViewer/class_configViewer.inc | 12 ++++++------ gosa-core/plugins/addons/configViewer/main.inc | 16 ++++++++-------- .../configViewer/migration/class_migrateRDN.inc | 2 +- .../addons/configViewer/property-list.xml | 6 +++--- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/gosa-core/contrib/gosa.conf b/gosa-core/contrib/gosa.conf index 63d291ae0..62c53a6e8 100644 --- a/gosa-core/contrib/gosa.conf +++ b/gosa-core/contrib/gosa.conf @@ -60,7 +60,7 @@
- + diff --git a/gosa-core/plugins/addons/configViewer/class_configViewer.inc b/gosa-core/plugins/addons/configViewer/class_configViewer.inc index 0b2a394d9..1af754774 100644 --- a/gosa-core/plugins/addons/configViewer/class_configViewer.inc +++ b/gosa-core/plugins/addons/configViewer/class_configViewer.inc @@ -1,11 +1,11 @@ registerElementFilter("propertyName", "configViewer::propertyName"); - $headpage->registerElementFilter("propertyGroup", "configViewer::propertyGroup"); - $headpage->registerElementFilter("propertyClass", "configViewer::propertyClass"); - $headpage->registerElementFilter("propertyValue", "configViewer::propertyValue"); + $headpage->registerElementFilter("propertyName", "propertyEditor::propertyName"); + $headpage->registerElementFilter("propertyGroup", "propertyEditor::propertyGroup"); + $headpage->registerElementFilter("propertyClass", "propertyEditor::propertyClass"); + $headpage->registerElementFilter("propertyValue", "propertyEditor::propertyValue"); $headpage->setFilter($filter); parent::__construct($config, $ui, "property", $headpage); diff --git a/gosa-core/plugins/addons/configViewer/main.inc b/gosa-core/plugins/addons/configViewer/main.inc index cc2e11902..c449889c9 100644 --- a/gosa-core/plugins/addons/configViewer/main.inc +++ b/gosa-core/plugins/addons/configViewer/main.inc @@ -22,7 +22,7 @@ /* Remove locks created by this plugin */ if ($remove_lock){ - if(session::is_set('configViewer')){ + if(session::is_set('propertyEditor')){ $config->configRegistry->reload($force=TRUE); } } @@ -31,22 +31,22 @@ if ($remove_lock){ /* Remove this plugin from session */ if ( $cleanup ){ - if (session::is_set('configViewer')){ + if (session::is_set('propertyEditor')){ } - session::un_set('configViewer'); + session::un_set('propertyEditor'); }else{ /* Create logview object on demand */ - if (!session::is_set('configViewer')){ - session::set('configViewer',new configViewer($config, get_userinfo())); + if (!session::is_set('propertyEditor')){ + session::set('propertyEditor',new propertyEditor($config, get_userinfo())); } - $configViewer = session::get('configViewer'); + $propertyEditor = session::get('propertyEditor'); /* Execute formular */ - $display= $configViewer->execute (); + $display= $propertyEditor->execute (); /* Store changes in session */ - session::set('configViewer',$configViewer); + session::set('propertyEditor',$propertyEditor); } ?> diff --git a/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc b/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc index bbafd4527..46c70356c 100644 --- a/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc +++ b/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc @@ -31,7 +31,7 @@ class migrateRDN implements propertyMigration $this->title = sprintf(_("GOsa migration of property '%s'"), $this->property->getName()); } if(empty($this->description)){ - $this->description = sprintf(_("GOsa has detected objects outside of the configured storage point (%s)"), $this->property->getValue(TRUE)); + $this->description = sprintf(_("GOsa has detected objects outside of the configured storage point (%s)."), $this->property->getValue(TRUE)); } } diff --git a/gosa-core/plugins/addons/configViewer/property-list.xml b/gosa-core/plugins/addons/configViewer/property-list.xml index 1d0b456d7..0c861a09e 100644 --- a/gosa-core/plugins/addons/configViewer/property-list.xml +++ b/gosa-core/plugins/addons/configViewer/property-list.xml @@ -32,7 +32,7 @@ modified all all - plugins/configViewer/images/ldap.png[new] + plugins/propertyEditor/images/ldap.png[new] @@ -40,7 +40,7 @@ ldap all all - plugins/configViewer/images/ldap.png + plugins/propertyEditor/images/ldap.png @@ -48,7 +48,7 @@ file all all - plugins/configViewer/images/file.png + plugins/propertyEditor/images/file.png -- 2.30.2