Added plugin controller (WIP)
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('Plugins') ?></h2>
|
||||
</div>
|
||||
|
||||
<?php if (empty($plugins)): ?>
|
||||
<p class="alert"><?= t('There is no plugin loaded.') ?></p>
|
||||
<?php else: ?>
|
||||
<table class="table-stripped">
|
||||
<tr>
|
||||
<th class="column-20"><?= t('Name') ?></th>
|
||||
<th class="column-20"><?= t('Author') ?></th>
|
||||
<th class="column-10"><?= t('Version') ?></th>
|
||||
<th><?= t('Description') ?></th>
|
||||
</tr>
|
||||
|
||||
<?php foreach ($plugins as $plugin): ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php if ($plugin->getPluginHomepage()): ?>
|
||||
<a href="<?= $plugin->getPluginHomepage() ?>" target="_blank" rel="noreferrer"><?= $this->text->e($plugin->getPluginName()) ?></a>
|
||||
<?php else: ?>
|
||||
<?= $this->text->e($plugin->getPluginName()) ?>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
<td><?= $this->text->e($plugin->getPluginAuthor()) ?></td>
|
||||
<td><?= $this->text->e($plugin->getPluginVersion()) ?></td>
|
||||
<td><?= $this->text->e($plugin->getPluginDescription()) ?></td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
<?php endif ?>
|
||||
@@ -4,9 +4,6 @@
|
||||
<li <?= $this->app->checkMenuSelection('config', 'index') ?>>
|
||||
<?= $this->url->link(t('About'), 'config', 'index') ?>
|
||||
</li>
|
||||
<li <?= $this->app->checkMenuSelection('config', 'plugins') ?>>
|
||||
<?= $this->url->link(t('Plugins'), 'config', 'plugins') ?>
|
||||
</li>
|
||||
<li <?= $this->app->checkMenuSelection('config', 'application') ?>>
|
||||
<?= $this->url->link(t('Application settings'), 'config', 'application') ?>
|
||||
</li>
|
||||
@@ -36,4 +33,4 @@
|
||||
</li>
|
||||
<?= $this->hook->render('template:config:sidebar') ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user