aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/extension/configure.phtml
blob: cb6ebd6bb34093a3ae90de15b568403296fb3fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="post">
	<h1>
		<?= $this->extension->getName() ?> (<?= $this->extension->getVersion() ?>) —
		<?php echo $this->extension->isEnabled() ? _t('admin.extensions.enabled')
		                                         : _t('admin.extensions.disabled'); ?>
	</h1>

	<p class="alert alert-warn"><?= $this->extension->getDescription() ?> — <?= _t('gen.short.by_author'), ' ', $this->extension->getAuthor() ?></p>

	<h2><?= _t('gen.action.manage') ?></h2>
	<?php
		$configure_view = $this->extension->getConfigureView();
		if ($configure_view !== false) {
			echo $configure_view;
		} else {
	?>
	<p class="alert alert-warn"><?= _t('admin.extensions.no_configure_view') ?></p>
	<?php } ?>
</div>