2015-04-17 16:09:35 +02:00
|
|
|
<?php if (! $this->compact): ?>
|
2014-05-26 16:38:03 +02:00
|
|
|
<div class="controls">
|
2015-04-17 16:09:35 +02:00
|
|
|
<?= $this->tabs; ?>
|
|
|
|
<?= $this->sortBox; ?>
|
|
|
|
<?= $this->limiter; ?>
|
|
|
|
<?= $this->paginator; ?>
|
|
|
|
<?= $this->filterEditor; ?>
|
2014-05-26 16:38:03 +02:00
|
|
|
</div>
|
2015-04-17 16:09:35 +02:00
|
|
|
<?php endif ?>
|
2014-05-26 16:38:03 +02:00
|
|
|
<div class="content">
|
2015-09-29 18:05:26 +02:00
|
|
|
<table class="action-table listing-table" data-base-target="_next">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><?= $this->translate('Module') ?></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2015-02-17 16:19:03 +01:00
|
|
|
<tbody>
|
|
|
|
<?php foreach ($modules as $module): ?>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<?php if ($module->enabled && $module->loaded) {
|
2015-02-24 08:42:36 +01:00
|
|
|
echo $this->icon('thumbs-up', sprintf($this->translate('Module %s is enabled'), $module->name));
|
2015-02-17 16:19:03 +01:00
|
|
|
} elseif (! $module->enabled) {
|
2015-08-17 13:28:56 +02:00
|
|
|
echo $this->icon('block', sprintf($this->translate('Module %s is disabled'), $module->name));
|
2015-02-17 16:19:03 +01:00
|
|
|
} else { // ! $module->loaded
|
2015-08-17 13:28:56 +02:00
|
|
|
echo $this->icon('block', sprintf($this->translate('Module %s has failed to load'), $module->name));
|
2015-02-17 16:19:03 +01:00
|
|
|
}
|
2015-02-16 11:02:09 +01:00
|
|
|
|
2015-02-17 16:19:03 +01:00
|
|
|
echo $this->qlink(
|
2015-02-24 08:42:36 +01:00
|
|
|
$module->name,
|
2015-02-17 16:19:03 +01:00
|
|
|
'config/module/',
|
|
|
|
array('name' => $module->name),
|
2015-09-29 18:05:26 +02:00
|
|
|
array('title' => sprintf($this->translate('Show the overview of the %s module'), $module->name), 'class' => 'rowaction')
|
2015-02-17 16:19:03 +01:00
|
|
|
); ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach ?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2014-05-26 16:38:03 +02:00
|
|
|
</div>
|