summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a52e077)
raw | patch | inline | side by side (parent: a52e077)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jun 2010 09:30:00 +0000 (09:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jun 2010 09:30:00 +0000 (09:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18882 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/dashBoard/dbPluginStatus/class_dbPluginStatus.inc | patch | blob | history |
diff --git a/gosa-core/plugins/generic/dashBoard/dbPluginStatus/class_dbPluginStatus.inc b/gosa-core/plugins/generic/dashBoard/dbPluginStatus/class_dbPluginStatus.inc
index cea0e835f5695ccdf3ed3d671b2134acd0fe5991..1ee9f9e42a28030667d525c10bc7953ab7dfbe87 100644 (file)
$this->disabledPlugins = $this->config->configRegistry->getDisabledPlugins();
// Construct the plugin list.
- $this->pluginList= new sortableListing($this->gosaLoginRestriction);
+ $this->pluginList= new sortableListing();
$this->pluginList->setDeleteable(false);
$this->pluginList->setEditable(false);
- $this->pluginList->setColspecs(array('*'));
+ $this->pluginList->setColspecs(array('30px','120px','*','100px'));
+ $this->pluginList->setHeader(array('?',_("Name"),_("Descriptio"),_("Status")));
$this->pluginList->setWidth("100%");
+ $this->pluginList->setDefaultSortColumn(1);
$this->pluginList->setHeight("200px");
$this->pluginList->setAcl("rwcdm");
$desc = $plInfo['plDescription'];
}
+ // Build image
+ $image = image('images/true.png');
+
// Detect the plugin status
$status = 'OK';
if(isset($this->disabledPlugins[$plugin])){
$status = 'Failure';
+ $image = image('images/small_error.png');
// Check if an invalid schema is the reason
$reasons = $this->config->configRegistry->getSchemaResults();
// Add entry/line to the list
$data[$plugin] = $plInfo;
- $lData[$plugin] = array('data' => array($name,$desc, $status));
+ $lData[$plugin] = array('data' => array($image,$name,$desc, $status));
}
$this->pluginList->setListData($data,$lData);
$this->pluginList->update();