Code

Renamed configViwer to propertyEditor.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 May 2010 09:46:31 +0000 (09:46 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 May 2010 09:46:31 +0000 (09:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18528 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/gosa.conf
gosa-core/plugins/addons/configViewer/class_configViewer.inc
gosa-core/plugins/addons/configViewer/main.inc
gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc
gosa-core/plugins/addons/configViewer/property-list.xml

index 63d291ae05dab683dcf0ddfbbae2e8e2e09bdaed..62c53a6e8b7fa1a073969b451797f27a82807309 100644 (file)
@@ -60,7 +60,7 @@
 
     <!-- Section to enable addon plugins -->
     <section name="Addons">
-      <plugin acl="all/all"  class="configViewer" />
+      <plugin acl="all/all"  class="propertyEditor" />
       <plugin acl="server/rSyslogServer" class="rsyslog" />
       <plugin acl="mailqueue" class="mailqueue" />
       <plugin acl="users/viewFaxEntries:self,users/viewFaxEntries" class="faxreport" />
index 0b2a394d9f8218e4fcf60d4290fa8be99211e956..1af754774d85d70ed6ed24fdd036bce5be1da3c6 100644 (file)
@@ -1,11 +1,11 @@
 <?php
 
 
-class configViewer extends management
+class propertyEditor extends management
 {
     var $plHeadline= "Preferences";
     var $plDescription= "Configure global and special GOsa settings like hooks and plugin parameters";
-    var $plIcon  = "plugins/configViewer/images/plugin.png";
+    var $plIcon  = "plugins/propertyEditor/images/plugin.png";
 
     var $toBeMigrated = array();
 
@@ -25,10 +25,10 @@ class configViewer extends management
 
         // Build headpage
         $headpage = new listing(get_template_path("property-list.xml", true));
-        $headpage->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);
 
index cc2e1190245b4150682b139803aaa103efbe1d00..c449889c97e36d491702b0150ae63e4dde928c80 100644 (file)
@@ -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);
 }
 ?>
index bbafd4527e9e43bc4b1afc6ecc738ce6d16bebb3..46c70356cdf644e6e03694c346d88b0ec043cd0b 100644 (file)
@@ -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));
         }
     }   
 
index 1d0b456d7387b0ab7af159b5a53b0e8961c70e50..0c861a09e0ec77b000e028497488e8ce0cd5b6ae 100644 (file)
@@ -32,7 +32,7 @@
       <objectClass>modified</objectClass>
       <category>all</category>
       <class>all</class>
-      <image>plugins/configViewer/images/ldap.png[new]</image>
+      <image>plugins/propertyEditor/images/ldap.png[new]</image>
     </objectType>
 
     <objectType>
@@ -40,7 +40,7 @@
       <objectClass>ldap</objectClass>
       <category>all</category>
       <class>all</class>
-      <image>plugins/configViewer/images/ldap.png</image>
+      <image>plugins/propertyEditor/images/ldap.png</image>
     </objectType>
 
     <objectType>
@@ -48,7 +48,7 @@
       <objectClass>file</objectClass>
       <category>all</category>
       <class>all</class>
-      <image>plugins/configViewer/images/file.png</image>
+      <image>plugins/propertyEditor/images/file.png</image>
     </objectType>
 
   </definition>