summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d82e16)
raw | patch | inline | side by side (parent: 1d82e16)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Nov 2010 09:25:51 +0000 (09:25 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Nov 2010 09:25:51 +0000 (09:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20217 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/statistics/class_statistics.inc | patch | blob | history |
diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc
index 3caa0f5884580f76be837440f373d5c1779b07f6..c0937f8f375cf71b9a4f3426d96ad69ea42f50a8 100644 (file)
$smarty->assign("instanceRegistered", $this->instanceRegistered);
$smarty->assign("serverAccessible", $this->serverAccessible);
$smarty->assign("registrationNotWanted", $this->registrationNotWanted);
+ $plist = session::get('plist');
+ $id = array_search('dashBoard', $plist->pluginList);
+ $smarty->assign('dashBoardId', $id);
// If we have an unregistered instance of GOsa, display a message which
// allows to registrate GOsa
if(!$this->instanceRegistered){
- $plist = session::get('plist');
- $id = array_search('dashBoard', $plist->pluginList);
- $smarty->assign('dashBoardId', $id);
return($smarty->fetch(get_template_path('statistics.tpl', TRUE)));
}