mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
parent
fb28da8f23
commit
3605880fd1
@ -11,22 +11,18 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<?php if ($module->enabled && $module->loaded) {
|
<?php if ($module->enabled && $module->loaded) {
|
||||||
$icon = $this->icon('thumbs-up');
|
echo $this->icon('thumbs-up', sprintf($this->translate('Module %s is enabled'), $module->name));
|
||||||
$title = sprintf($this->translate('Module %s is enabled'), $module->name);
|
|
||||||
} elseif (! $module->enabled) {
|
} elseif (! $module->enabled) {
|
||||||
$icon = $this->icon('thumbs-down');
|
echo $this->icon('thumbs-down', sprintf($this->translate('Module %s is disabled'), $module->name));
|
||||||
$title = sprintf($this->translate('Module %s is disabled'), $module->name);
|
|
||||||
} else { // ! $module->loaded
|
} else { // ! $module->loaded
|
||||||
$icon = $this->icon('thumbs-down');
|
echo $this->icon('thumbs-down', sprintf($this->translate('Module %s has failed to load'), $module->name));
|
||||||
$title = sprintf($this->translate('Module %s has failed to load'), $module->name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $this->qlink(
|
echo $this->qlink(
|
||||||
$icon . $this->escape($module->name),
|
$module->name,
|
||||||
'config/module/',
|
'config/module/',
|
||||||
array('name' => $module->name),
|
array('name' => $module->name),
|
||||||
array('title' => $title),
|
array('title' => sprintf($this->translate('Show the overview of the %s module'), $module->name))
|
||||||
false
|
|
||||||
); ?>
|
); ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user