configure.phtml 704 B

1234567891011121314151617181920212223
  1. <?php
  2. if (!Minz_Request::param('ajax')) {
  3. $this->partial('aside_configure');
  4. }
  5. ?>
  6. <div class="post">
  7. <h1><?php echo $this->extension->getName(); ?> (<?php echo $this->extension->getVersion(); ?>) — <?php echo $this->extension->getType(); ?></h1>
  8. <p class="alert alert-warn"><?php echo $this->extension->getDescription(); ?> — <?php echo _t('gen.by'), ' ', $this->extension->getAuthor(); ?></p>
  9. <h2><?php echo _t('gen.actions.manage'); ?></h2>
  10. <?php
  11. $configure_view = $this->extension->getConfigureView();
  12. if ($configure_view !== false) {
  13. echo $configure_view;
  14. } else {
  15. ?>
  16. <p class="alert alert-warn"><?php echo _t('admin.extensions.no_configure_view'); ?></p>
  17. <?php } ?>
  18. </div>