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-11-13 20:08:58 +01:00
|
|
|
<?= $this->icon('thumbs-up', $this->translate('Module is enabled')) ?>
|
2014-05-26 16:38:03 +02:00
|
|
|
<?php else: ?>
|
2014-11-13 20:08:58 +01:00
|
|
|
<?= $this->icon('thumbs-down', $this->translate('Module is disabled')) ?>
|
2014-10-23 10:44:54 +02:00
|
|
|
<?php endif ?>
|
2014-06-21 02:27:27 +02:00
|
|
|
<a href="<?= $this->url(
|
|
|
|
'config/module/',
|
|
|
|
array('name' => $module->name)
|
|
|
|
) ?>"><?= $this->escape($module->name); ?></a> (<?=
|
2014-12-03 10:00:54 +01:00
|
|
|
$module->enabled ? ($module->loaded ? $this->translate('enabled') : $this->translate('failed')) : $this->translate('disabled')
|
2014-06-21 02:27:27 +02:00
|
|
|
?>)
|
2014-05-26 16:38:03 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
2014-10-23 10:44:54 +02:00
|
|
|
<?php endforeach ?>
|
2014-05-26 16:38:03 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|