-
Notifications
You must be signed in to change notification settings - Fork 0
/
basic.php
86 lines (83 loc) · 1.82 KB
/
basic.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?php
use Maslosoft\Components\Application;
use Maslosoft\Components\Controller;
use Maslosoft\Widgets\Breadcrumbs;
use Maslosoft\Widgets\Html\Decorator;
use Maslosoft\Widgets\Search\SearchDrawer;
use Maslosoft\Menulis\Widgets\Menu\LinkBlocks;
use Maslosoft\Menulis\Widgets\Menu\PageLinks;
/* @var $this Controller */
?>
<div id="mainWrapper">
<div>
<header id="topBg" class="container">
<div class="row">
<div class="col-sm-2 col-xs-4" >
<a class="logo-img" href="/" title="">
</a>
</div>
<div class="col-sm-7 col-xs-8" id="menuBg">
<?php
echo PageLinks::widget([
'code' => 'mainMenu',
'flags' => true
]);
?>
</div>
<div class="col-sm-3" id="searchBox">
<?php
echo SearchDrawer::widget([
//'icon' => false,
'id' => 'top-search'
]);
?>
</div>
</div>
</header>
<div class="container">
<?php
echo Breadcrumbs::widget([
'homeLink' => [tx('Home page') => (string) Yii::app()->baseUrl . '/'],
'links' => $this->breadcrumbs,
'encodeLabel' => false,
'separator' => ' <i class="fa fa-angle-right"></i> '
]);
?>
</div>
<?= $content; ?>
<footer id="bottomBg" class="container">
<div class="row">
<div class="col-xs-12">
<?php
echo PageLinks::widget([
'code' => 'midMenu',
]);
?>
</div>
</div>
</footer>
</div>
<div id="bottomWrapper">
<div class="container">
<div class="row">
<?php
echo LinkBlocks::widget([
'columns' => '4',
'showTitles' => true,
'codes' => [
'bottomLeft',
'bottomCenter',
'bottomRight'
]]);
?>
</div>
</div>
<div id="leafBot" class="container">
<div id="copyright" class="row">
<div class="col-md-3 pull-left">
<?= Decorator::madeBy('2017'); ?>
</div>
</div>
</div>
</div>
</div>