This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/views/layouts/settings.php

31 lines
1.1 KiB
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<?php $this->contentFor('content', function() { ?>
<div id="header">
<div id="title">
<h2 id="site-title">
2016-09-15 06:54:16 +02:00
<?= $this->linkTo($this->imageTag('/images/logo_small.png', ['alt' => CONFIG()->app_name, 'size' => '195x40', 'id' => 'logo']), $this->rootPath()) ?>
2013-10-27 01:06:58 +02:00
</h2>
</div>
<?= $this->partial('layouts/menu') ?>
</div>
<?php $this->partial('layouts/notice') ?>
<div class="blocked" id="block-reason" style="display: none;">
</div>
<div id="main">
<div id="menu" class="settings">
<h5><?= $this->t('layouts.settings.menu.title') ?></h5>
<ul>
<li><?= $this->linkTo($this->t('user.edit.title'), ['user#edit']) ?></li>
<!-- <li><?= $this->linkTo($this->t('settings.api.show.title'), $this->settingsApiPath()) ?></li> -->
<li><?= $this->linkTo($this->t('user.change_email.title'), $this->userChangeEmailPath()) ?></li>
<li><?= $this->linkTo($this->t('user.change_password.title'), $this->userChangePasswordPath()) ?></li>
</ul>
</div>
<div id="content">
<?= $this->content() ?>
</div>
</div>
<?php }) ?>
<?= $this->render(['template' => 'layouts/application']) ?>