aboutsummaryrefslogtreecommitdiff
path: root/app/views/extension/configure.phtml
blob: 295080d5e71c501fe16d77a6523a07170fc8dc79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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.by'), ' ', $this->extension->getAuthor(); ?></p>

	<h2><?php echo _t('gen.actions.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>