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">
|
2017-02-23 23:15:07 +01:00
|
|
|
<button type="button" class="Button Collapsible__trigger">
|
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>
|
|
|
|
|
|
|
|
<?php $this->insert('theme::partials/navbar_content', ['params' => $params]); ?>
|
2015-04-23 15:47:05 +02:00
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
<div class="Collapsible__content">
|
|
|
|
<!-- 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
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
echo $this->get_navigation($rendertree, $path, isset($params['request']) ? $params['request'] : '', $base_page, $params['mode']);
|
|
|
|
?>
|
2016-04-08 00:13:06 +02:00
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
|
|
|
|
<div class="Links">
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php if (!empty($params['html']['links'])) { ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
<hr/>
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php foreach ($params['html']['links'] as $name => $url) { ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
<a href="<?= $url ?>" target="_blank"><?= $name ?></a>
|
|
|
|
<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
|
|
|
|
2018-02-26 22:46:36 +01:00
|
|
|
<?php if ($params['html']['toggle_code']) { ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
<div class="CodeToggler">
|
|
|
|
<hr/>
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php if ($params['html']['float']) { ?>
|
2017-10-19 22:18:46 +02:00
|
|
|
<span class="CodeToggler__text"><?=$this->translate("CodeBlocks_title") ?></span>
|
2016-05-23 20:09:15 +02:00
|
|
|
<div class="ButtonGroup" role="group">
|
2017-10-19 22:18:46 +02:00
|
|
|
<button class="Button Button--default Button--small CodeToggler__button CodeToggler__button--hide"><?=$this->translate("CodeBlocks_hide") ?></button>
|
|
|
|
<button class="Button Button--default Button--small CodeToggler__button CodeToggler__button--below"><?=$this->translate("CodeBlocks_below") ?></button>
|
|
|
|
<button class="Button Button--default Button--small CodeToggler__button CodeToggler__button--float"><?=$this->translate("CodeBlocks_inline") ?></button>
|
2016-04-08 00:13:06 +02:00
|
|
|
</div>
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php } else { ?>
|
2017-10-19 22:18:46 +02:00
|
|
|
<label class="Checkbox"><?=$this->translate("CodeBlocks_show") ?>
|
2017-10-19 21:20:58 +02:00
|
|
|
<input type="checkbox" class="CodeToggler__button--main" checked="checked"/>
|
|
|
|
<div class="Checkbox__indicator"></div>
|
|
|
|
</label>
|
|
|
|
<?php } ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
</div>
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php } ?>
|
2016-07-29 22:44:35 +02:00
|
|
|
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php if (!empty($params['html']['twitter'])) { ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
<div class="Twitter">
|
2018-02-26 22:46:36 +01:00
|
|
|
<hr/>
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php foreach ($params['html']['twitter'] as $handle) { ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
<iframe allowtransparency="true" frameborder="0" scrolling="no" style="width:162px; height:20px;" src="https://platform.twitter.com/widgets/follow_button.html?screen_name=<?= $handle; ?>&show_count=false"></iframe>
|
|
|
|
<br />
|
|
|
|
<br />
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php } ?>
|
2016-05-23 20:09:15 +02:00
|
|
|
</div>
|
2017-10-19 21:20:58 +02:00
|
|
|
<?php } ?>
|
2015-04-23 10:24:50 +02:00
|
|
|
</div>
|
2016-08-06 00:14:15 +02:00
|
|
|
</aside>
|
2017-12-11 21:14:18 +01:00
|
|
|
<div class="Columns__right <?= $params['html']['float'] ? 'Columns__right--float' : 'Columns__right--full'; ?>">
|
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>
|