aboutsummaryrefslogtreecommitdiff
path: root/app/views/extension/configure.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-14 23:30:19 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-14 23:30:19 +0100
commit2f1116818d7d9a6ef413b2c06e9603ffceaf7867 (patch)
treee79bfcb4905c66f1115bc145f7d8a44ceae1d040 /app/views/extension/configure.phtml
parent89682886005f1e6b36e664f47b3b0862d62846e6 (diff)
Fix extension interface
- Seperate user and system extensions on extension/index - extension/configure shows index page with the slider opened if request is done with ajax - Reorganize some extension view files
Diffstat (limited to 'app/views/extension/configure.phtml')
-rw-r--r--app/views/extension/configure.phtml22
1 files changed, 1 insertions, 21 deletions
diff --git a/app/views/extension/configure.phtml b/app/views/extension/configure.phtml
index c03439a75..8933eeae5 100644
--- a/app/views/extension/configure.phtml
+++ b/app/views/extension/configure.phtml
@@ -1,23 +1,3 @@
<?php
-if (!Minz_Request::param('ajax')) {
- $this->partial('aside_configure');
-}
-
-?>
-
-<div class="post">
- <h1><?php echo $this->extension->getName(); ?> (<?php echo $this->extension->getVersion(); ?>) — <?php echo $this->extension->getType(); ?></h1>
-
- <p class="alert alert-warn"><?php echo $this->extension->getDescription(); ?> — <?php echo _t('gen.short.by_author', $this->extension->getAuthor()); ?></p>
-
- <h2><?php echo _t('gen.action.manage'); ?></h2>
- <?php
- $configure_view = $this->extension->getConfigureView();
- if ($configure_view !== false) {
- echo $configure_view;
- } else {
- ?>
- <p class="alert alert-warn"><?php echo _t('admin.extensions.no_configure_view'); ?></p>
- <?php } ?>
-</div>
+$this->renderHelper('extension/configure');