freenetis-github/application/views/settings/main.php @ ad1f44bb
8baed187 | Michal Kliment | <h2><?php echo __('Settings') ?></h2>
|
|
<?php if (isset($create)) echo $create; ?>
|
|||
c1bdc1c4 | Michal Kliment | <?php if(isset($this->sections)): ?>
|
|
8baed187 | Michal Kliment | <ul class="tabs">
|
|
<?php foreach ($this->sections as $section => $name): ?>
|
|||
<li class="ui-corner-all<?php echo ($current == $section) ? ' current' : '' ?>"><a id="<?php echo $section ?>-link" href="<?php echo url_lang::base().'settings/'.$section ?>"><?php echo $name ?></a></li>
|
|||
<?php endforeach; ?>
|
|||
</ul>
|
|||
c1bdc1c4 | Michal Kliment | <?php else: ?>
|
|
</br>
|
|||
<?php endif ?>
|
|||
8baed187 | Michal Kliment | ||
<div id="settings-content" class="clear">
|
|||
<h3><?php echo $headline ?></h3>
|
|||
<br />
|
|||
<?php echo (isset($warning) && $warning != '') ? '<p class="red">'.$warning.'</p><br />' : '' ?>
|
|||
<?php echo (isset($description) && $description != '') ? '<p>'.$description.'</p><br />' : '' ?>
|
|||
<?php echo $content ?>
|
|||
<?php echo (isset($additional_info) && $additional_info != '') ? '<br /><br />'.$additional_info : '' ?>
|
|||
</div>
|