summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e1c442f)
raw | patch | inline | side by side (parent: e1c442f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jun 2010 15:01:15 +0000 (15:01 +0000) | ||
committer | hickert <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
diff --git a/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc b/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc
index 4a3af9129f0c275543dcdf59ef16f4030c521f5f..76fd74ee5b63c20ad26808dc8ed9ed30bac7b97e 100644 (file)
private $dbPluginStatus = NULL;
private $dbChannelStatus = NULL;
- private $dbAdvices = NULL;
+ private $dbNotifications = NULL;
private $dbInformation = NULL;
function __construct($config)
// 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);
}
$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)));
}
$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);
}
plugin::save_object();
$this->dbPluginStatus->save_object();
$this->dbChannelStatus->save_object();
- $this->dbAdvices->save_object();
+ $this->dbNotifications->save_object();
$this->dbInformation->save_object();
}
plugin::save();
$this->dbPluginStatus->save();
$this->dbChannelStatus->save();
- $this->dbAdvices->save();
+ $this->dbNotifications->save();
$this->dbInformation->save();
}
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 42b02f7ff15bc0fb08c22158a7546b8f723bd5d6..5572273a4444f3a474fe5e6a2847918e28ee4f18 100644 (file)
<td style='width:50%;' class='right-border'>
<!-- Messages -->
- <h3>{t}Advices{/t}</h3>
+ <h3>{t}Notifications{/t}</h3>
- {$dbAdvices}
+ {$dbNotifications}
<!-- Messages END -->
diff --git a/gosa-core/plugins/generic/dashBoard/dbAdvices/class_dbAdvices.inc b/gosa-core/plugins/generic/dashBoard/dbAdvices/class_dbAdvices.inc
index e966805721bfe4f50b8d160ec0f5c686d4b7c7c5..a34c1b77cab85b1e8325298091781b744cac0359 100644 (file)
<?php
-class dbAdvices extends plugin
+class dbNotifications extends plugin
{
function __construct($config)
{
// 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()