configure.phtml 744 B

12345678910111213141516171819
  1. <div class="post">
  2. <h1>
  3. <?php echo $this->extension->getName(); ?> (<?php echo $this->extension->getVersion(); ?>) —
  4. <?php echo $this->extension->isEnabled() ? _t('admin.extensions.enabled')
  5. : _t('admin.extensions.disabled'); ?>
  6. </h1>
  7. <p class="alert alert-warn"><?php echo $this->extension->getDescription(); ?> — <?php echo _t('gen.short.by_author', $this->extension->getAuthor()); ?></p>
  8. <h2><?php echo _t('gen.action.manage'); ?></h2>
  9. <?php
  10. $configure_view = $this->extension->getConfigureView();
  11. if ($configure_view !== false) {
  12. echo $configure_view;
  13. } else {
  14. ?>
  15. <p class="alert alert-warn"><?php echo _t('admin.extensions.no_configure_view'); ?></p>
  16. <?php } ?>
  17. </div>