2015-04-23 10:24:50 +02:00
|
|
|
<?php $this->layout('theme::layout/00_layout') ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
<div class="Columns content">
|
2016-08-06 00:14:15 +02:00
|
|
|
<aside class="Columns__left Collapsible">
|
2019-09-22 20:44:01 +02:00
|
|
|
<button type="button" class="Button Collapsible__trigger" aria-controls="sidebar_content" aria-expanded="false" aria-label="<?= $this->translate("Toggle_navigation") ?>">
|
2018-02-25 23:02:09 +01:00
|
|
|
<span class="Collapsible__trigger__bar"></span>
|
|
|
|
<span class="Collapsible__trigger__bar"></span>
|
|
|
|
<span class="Collapsible__trigger__bar"></span>
|
2017-02-23 23:15:07 +01:00
|
|
|
</button>
|
|
|
|
|
2019-12-05 21:25:58 +01:00
|
|
|
<?php $this->insert('theme::partials/navbar_content'); ?>
|
2015-04-23 15:47:05 +02:00
|
|
|
|
2019-09-22 20:44:01 +02:00
|
|
|
<div class="Collapsible__content" id="sidebar_content">
|
2016-05-23 20:09:15 +02:00
|
|
|
<!-- Navigation -->
|
|
|
|
<?php
|
|
|
|
$rendertree = $tree;
|
|
|
|
$path = '';
|
2015-08-16 22:16:55 +02:00
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
if ($page['language'] !== '') {
|
2017-01-10 10:28:58 +01:00
|
|
|
$rendertree = $tree[$page['language']];
|
2016-05-23 20:09:15 +02:00
|
|
|
$path = $page['language'];
|
|
|
|
}
|
2015-04-23 10:24:50 +02:00
|
|
|
|
2019-12-05 21:25:58 +01:00
|
|
|
echo $this->get_navigation($rendertree, $path, $config->hasRequest() ? $config->getRequest() : '', $base_page, $config->getMode());
|
2016-05-23 20:09:15 +02:00
|
|
|
?>
|
2016-04-08 00:13:06 +02:00
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
<div class="Links">
|
2019-12-05 21:25:58 +01:00
|
|
|
<?php if ($config->getHTML()->hasLinks()) { ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
<hr/>
|
2019-12-05 21:25:58 +01:00
|
|
|
<?php foreach ($config->getHTML()->getLinks() as $name => $url) { ?>
|
2020-04-24 23:41:18 +02:00
|
|
|
<a href="<?= $url ?>" target="_blank" rel="noopener noreferrer"><?= $name ?></a>
|
2016-05-23 20:09:15 +02:00
|
|
|
<br />
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
2018-02-26 22:46:36 +01:00
|
|
|
</div>
|
2016-07-29 22:44:35 +02:00
|
|
|
|
2019-12-05 21:25:58 +01:00
|
|
|
<?php if ($config->getHTML()->showCodeToggle()) { ?>
|
2019-09-21 22:00:00 +02:00
|
|
|
<div class="CodeToggler">
|
|
|
|
<hr/>
|
|
|
|
<label class="Checkbox"><?=$this->translate("CodeBlocks_show") ?>
|
|
|
|
<input type="checkbox" class="CodeToggler__button--main" checked="checked"/>
|
|
|
|
<div class="Checkbox__indicator"></div>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2016-07-29 22:44:35 +02:00
|
|
|
|
2019-12-05 21:25:58 +01:00
|
|
|
<?php if ($config->getHTML()->hasTwitterHandles()) { ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
<div class="Twitter">
|
2018-02-26 22:46:36 +01:00
|
|
|
<hr/>
|
2019-12-05 21:25:58 +01:00
|
|
|
<?php $this->insert('theme::partials/twitter_buttons'); ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
</div>
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php } ?>
|
2018-02-27 22:47:07 +01:00
|
|
|
|
2019-12-05 21:25:58 +01:00
|
|
|
<?php if ($config->getHTML()->hasPoweredBy()) { ?>
|
2018-02-27 22:47:07 +01:00
|
|
|
<div class="PoweredBy">
|
|
|
|
<hr/>
|
2019-12-05 21:25:58 +01:00
|
|
|
<?= $config->getHTML()->getPoweredBy()?>
|
2018-02-27 22:47:07 +01:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2015-04-23 10:24:50 +02:00
|
|
|
</div>
|
2016-08-06 00:14:15 +02:00
|
|
|
</aside>
|
2019-09-21 22:00:00 +02:00
|
|
|
<div class="Columns__right">
|
2016-05-23 20:09:15 +02:00
|
|
|
<div class="Columns__right__content">
|
|
|
|
<div class="doc_content">
|
|
|
|
<?= $this->section('content'); ?>
|
2015-04-23 10:24:50 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|