Code

Renamed plugin
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jun 2010 15:01:15 +0000 (15:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jun 2010 15:01:15 +0000 (15:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18891 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/dashBoard/class_dashBoard.inc
gosa-core/plugins/generic/dashBoard/dashBoard.tpl
gosa-core/plugins/generic/dashBoard/dbAdvices/class_dbAdvices.inc

index 4a3af9129f0c275543dcdf59ef16f4030c521f5f..76fd74ee5b63c20ad26808dc8ed9ed30bac7b97e 100644 (file)
@@ -9,7 +9,7 @@ class dashBoard extends plugin
 
     private $dbPluginStatus = NULL;
     private $dbChannelStatus = NULL;
-    private $dbAdvices = NULL;
+    private $dbNotifications = NULL;
     private $dbInformation = NULL;
 
     function __construct($config)
@@ -19,7 +19,7 @@ class dashBoard extends plugin
         // Instantiate child classes
         $this->dbPluginStatus = new dbPluginStatus($config);
         $this->dbChannelStatus = new dbChannelStatus($config);
-        $this->dbAdvices = new dbAdvices($config);
+        $this->dbNotifications = new dbNotifications($config);
         $this->dbInformation = new dbInformation($config);
     }
 
@@ -28,7 +28,7 @@ class dashBoard extends plugin
         $smarty = get_smarty();
         $smarty->assign('dbPluginStatus', $this->dbPluginStatus->execute());
         $smarty->assign('dbChannelStatus', $this->dbChannelStatus->execute());
-        $smarty->assign('dbAdvices', $this->dbAdvices->execute());
+        $smarty->assign('dbNotifications', $this->dbNotifications->execute());
         $smarty->assign('dbInformation', $this->dbInformation->execute());
         return($smarty->fetch(get_template_path('dashBoard.tpl', TRUE)));
     }
@@ -38,7 +38,7 @@ class dashBoard extends plugin
         $messages = plugin::check();
         $messages = array_merge($this->dbPluginStatus->check());    
         $messages = array_merge($this->dbChannelStatus->check());    
-        $messages = array_merge($this->dbAdvices->check());    
+        $messages = array_merge($this->dbNotifications->check());    
         $messages = array_merge($this->dbInformation->check());    
         return($messages);
     }
@@ -48,7 +48,7 @@ class dashBoard extends plugin
         plugin::save_object();
         $this->dbPluginStatus->save_object();
         $this->dbChannelStatus->save_object();
-        $this->dbAdvices->save_object();
+        $this->dbNotifications->save_object();
         $this->dbInformation->save_object();
     }
 
@@ -57,7 +57,7 @@ class dashBoard extends plugin
         plugin::save();
         $this->dbPluginStatus->save();
         $this->dbChannelStatus->save();
-        $this->dbAdvices->save();
+        $this->dbNotifications->save();
         $this->dbInformation->save();
     }
 
@@ -66,7 +66,7 @@ class dashBoard extends plugin
         plugin::remove_from_parent();
         $this->dbPluginStatus->remove_from_parent();
         $this->dbChannelStatus->remove_from_parent();
-        $this->dbAdvices->remove_from_parent();
+        $this->dbNotifications->remove_from_parent();
         $this->dbInformation->remove_from_parent();
     }
 }
index 42b02f7ff15bc0fb08c22158a7546b8f723bd5d6..5572273a4444f3a474fe5e6a2847918e28ee4f18 100644 (file)
@@ -27,9 +27,9 @@
         <td style='width:50%;' class='right-border'>
             
             <!-- Messages -->    
-            <h3>{t}Advices{/t}</h3> 
+            <h3>{t}Notifications{/t}</h3> 
     
-            {$dbAdvices}
+            {$dbNotifications}
 
             <!-- Messages  END -->
 
index e966805721bfe4f50b8d160ec0f5c686d4b7c7c5..a34c1b77cab85b1e8325298091781b744cac0359 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-class dbAdvices extends plugin
+class dbNotifications extends plugin
 {
     function __construct($config)
     {
@@ -37,7 +37,7 @@ class dbAdvices extends plugin
         // Generate the HTML content
         $smarty = get_smarty();
         $smarty->assign('adviceList', $this->adviceList->render());
-        return($smarty->fetch(get_template_path('dbAdvices/contents.tpl', TRUE)));
+        return($smarty->fetch(get_template_path('dbNotifications/contents.tpl', TRUE)));
     }
 
     function save_object()