diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-31 21:44:49 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-31 21:44:49 -0500 |
commit | 26492aba7ee2bfb8c525ea0aaa580aff47a414ba (patch) | |
tree | de2ebb411685057a2a8723ca7f763966478a39f7 /app/Template/config | |
parent | 271543431e999032d6e91197633119309fa6c622 (diff) |
Simplify layout and templates generation
Diffstat (limited to 'app/Template/config')
-rw-r--r-- | app/Template/config/layout.php | 4 | ||||
-rw-r--r-- | app/Template/config/sidebar.php | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/app/Template/config/layout.php b/app/Template/config/layout.php index 028f138c..f34caaab 100644 --- a/app/Template/config/layout.php +++ b/app/Template/config/layout.php @@ -1,10 +1,10 @@ <section id="main"> <section class="sidebar-container" id="config-section"> - <?= $this->render('config/sidebar') ?> + <?= $this->render($sidebar_template) ?> <div class="sidebar-content"> - <?= $config_content_for_layout ?> + <?= $content_for_sublayout ?> </div> </section> </section>
\ No newline at end of file diff --git a/app/Template/config/sidebar.php b/app/Template/config/sidebar.php index a8174505..1b42bcc1 100644 --- a/app/Template/config/sidebar.php +++ b/app/Template/config/sidebar.php @@ -34,9 +34,6 @@ <li <?= $this->app->checkMenuSelection('config', 'api') ?>> <?= $this->url->link(t('API'), 'config', 'api') ?> </li> - <li> - <?= $this->url->link(t('Documentation'), 'doc', 'show') ?> - </li> <?= $this->hook->render('template:config:sidebar') ?> </ul> <div class="sidebar-collapse"><a href="#" title="<?= t('Hide sidebar') ?>"><i class="fa fa-chevron-left"></i></a></div> |