Add page to show the list of plugins
This commit is contained in:
24
app/Template/config/plugins.php
Normal file
24
app/Template/config/plugins.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<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><?= $this->e($plugin->getPluginName()) ?></td>
|
||||
<td><?= $this->e($plugin->getPluginAuthor()) ?></td>
|
||||
<td><?= $this->e($plugin->getPluginVersion()) ?></td>
|
||||
<td><?= $this->e($plugin->getPluginDescription()) ?></td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
<?php endif ?>
|
||||
Reference in New Issue
Block a user