diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-18 22:07:49 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-18 22:07:49 -0400 |
commit | 49f43090b214c4346a114922696b7d9d96d2c02e (patch) | |
tree | 418c2f2322cf59dc0a9bf0c65fe0d2c1030af6c3 /app/Template/config | |
parent | bfd59d9e544028a1ea041806fd60e112f3a90167 (diff) |
Added plugin controller (WIP)
Diffstat (limited to 'app/Template/config')
-rw-r--r-- | app/Template/config/plugins.php | 30 | ||||
-rw-r--r-- | app/Template/config/sidebar.php | 5 |
2 files changed, 1 insertions, 34 deletions
diff --git a/app/Template/config/plugins.php b/app/Template/config/plugins.php deleted file mode 100644 index 04b3f095..00000000 --- a/app/Template/config/plugins.php +++ /dev/null @@ -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 ?>
\ No newline at end of file diff --git a/app/Template/config/sidebar.php b/app/Template/config/sidebar.php index dd51bc74..a2a5a6cb 100644 --- a/app/Template/config/sidebar.php +++ b/app/Template/config/sidebar.php @@ -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>
\ No newline at end of file +</div> |