From: hickert Date: Wed, 30 Jun 2010 15:01:15 +0000 (+0000) Subject: Renamed plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=257c862dc3c40ff4b9f47654815573235e062655;p=gosa.git Renamed plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18891 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc b/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc index 4a3af9129..76fd74ee5 100644 --- a/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc +++ b/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc @@ -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(); } } diff --git a/gosa-core/plugins/generic/dashBoard/dashBoard.tpl b/gosa-core/plugins/generic/dashBoard/dashBoard.tpl index 42b02f7ff..5572273a4 100644 --- a/gosa-core/plugins/generic/dashBoard/dashBoard.tpl +++ b/gosa-core/plugins/generic/dashBoard/dashBoard.tpl @@ -27,9 +27,9 @@ -

{t}Advices{/t}

+

{t}Notifications{/t}

- {$dbAdvices} + {$dbNotifications} diff --git a/gosa-core/plugins/generic/dashBoard/dbAdvices/class_dbAdvices.inc b/gosa-core/plugins/generic/dashBoard/dbAdvices/class_dbAdvices.inc index e96680572..a34c1b77c 100644 --- a/gosa-core/plugins/generic/dashBoard/dbAdvices/class_dbAdvices.inc +++ b/gosa-core/plugins/generic/dashBoard/dbAdvices/class_dbAdvices.inc @@ -1,6 +1,6 @@ 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()