2014-05-26 16:38:03 +02:00
|
|
|
<div class="controls">
|
2014-06-21 02:27:27 +02:00
|
|
|
<?= $this->tabs ?>
|
2014-09-29 15:20:19 +02:00
|
|
|
<h1><?= $this->translate('Installed Modules') ?></h1>
|
2014-06-21 02:27:27 +02:00
|
|
|
<?= $this->paginationControl($modules) ?>
|
2014-05-26 16:38:03 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content">
|
|
|
|
<table class="action" data-base-target="_next">
|
|
|
|
<tbody>
|
|
|
|
<?php foreach ($modules as $module): ?>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<?php if ($module->enabled): ?>
|
2014-09-29 15:20:19 +02:00
|
|
|
<?= $this->icon('success.png', $this->translate('Module is enabled')) ?>
|
2014-05-26 16:38:03 +02:00
|
|
|
<?php else: ?>
|
2014-09-29 15:20:19 +02:00
|
|
|
<?= $this->icon('remove.png', $this->translate('Module is disabled')) ?>
|
2014-05-26 16:38:03 +02:00
|
|
|
<? endif ?>
|
2014-06-21 02:27:27 +02:00
|
|
|
<a href="<?= $this->url(
|
|
|
|
'config/module/',
|
|
|
|
array('name' => $module->name)
|
|
|
|
) ?>"><?= $this->escape($module->name); ?></a> (<?=
|
|
|
|
$module->enabled ? ($module->loaded ? 'enabled' : 'failed') : 'disabled'
|
|
|
|
?>)
|
2014-05-26 16:38:03 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<? endforeach ?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|