1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
use yii\helpers\Html; |
4
|
|
|
use humhub\assets\AppAsset; |
5
|
|
|
|
6
|
|
|
/* @var $this \yii\web\View */ |
7
|
|
|
/* @var $content string */ |
8
|
|
|
|
9
|
|
|
AppAsset::register($this); |
10
|
|
|
?> |
11
|
|
|
<?php $this->beginPage() ?> |
12
|
|
|
<!DOCTYPE html> |
13
|
|
|
<html lang="en"> |
14
|
|
|
<head> |
15
|
|
|
<!-- start: Meta --> |
16
|
|
|
<meta charset="utf-8"> |
17
|
|
|
<title><?= $this->pageTitle; ?></title> |
18
|
|
|
<meta name="description" content="SITENAME - SITE_DESCRIPTION."> |
19
|
|
|
<!-- end: Meta --> |
20
|
|
|
|
21
|
|
|
<!-- start: Mobile Specific --> |
22
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
23
|
|
|
|
24
|
|
|
<!-- end: Mobile Specific --> |
25
|
|
|
<?= Html::csrfMetaTags() ?> |
26
|
|
|
<?php $this->head() ?> |
27
|
|
|
|
28
|
|
|
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements --> |
29
|
|
|
<!--[if lt IE 9]> |
30
|
|
|
<script src="<?= Yii::getAlias(" @web"); ?>/js/html5shiv.js"></script> |
31
|
|
|
<link id = "ie-style" href = "<?= Yii::getAlias("@web"); ?>/css/ie.css rel = "stylesheet" > |
32
|
|
|
<![endif]--> |
33
|
|
|
|
34
|
|
|
<!--[if IE 9]> |
35
|
|
|
<link id="ie9style" href="<?= Yii::getAlias(" @web"); ?>/css/ie9.css" rel="stylesheet"> |
36
|
|
|
<![endif]--> |
37
|
|
|
|
38
|
|
|
<!-- start: render additional head (css and js files) --> |
39
|
|
|
<?= $this->render('head'); ?> |
40
|
|
|
<!-- end: render additional head --> |
41
|
|
|
|
42
|
|
|
</head> |
43
|
|
|
|
44
|
|
|
<body> |
45
|
|
|
|
46
|
|
|
<script src="<?= $this->theme->getBaseUrl().'/js/lightbox-plus-jquery.min.js'; ?>"></script> |
47
|
|
|
|
48
|
|
|
<?php $this->beginBody() ?> |
49
|
|
|
|
50
|
|
|
<!-- start: first top navigation bar --> |
51
|
|
|
<div id="topbar-first" class="topbar"> |
52
|
|
|
<div class="container"> |
53
|
|
|
|
54
|
|
|
<div class="topbar-brand hidden-xs"> |
55
|
|
|
<?= \humhub\widgets\SiteLogo::widget(); ?> |
56
|
|
|
</div> |
57
|
|
|
|
58
|
|
|
<div class="topbar-actions pull-right"> |
59
|
|
|
<div class="no-icons"> |
60
|
|
|
<?= \humhub\modules\user\widgets\AccountTopMenu::widget(); ?> |
61
|
|
|
</div> |
62
|
|
|
<form id="switchform"> |
63
|
|
|
<a href="javascript:chooseStyle('none', 60)" checked="checked"><i class="fa fa-sun-o"></i></a> |
64
|
|
|
<a href="javascript:chooseStyle('dark-theme', 60)"<i class="fa fa-moon-o"></i></a> |
65
|
|
|
</form> |
66
|
|
|
</div> |
67
|
|
|
|
68
|
|
|
<div class="notifications pull-right"> |
69
|
|
|
<?= |
70
|
|
|
\humhub\widgets\NotificationArea::widget(['widgets' => [ |
71
|
|
|
[\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]], |
72
|
|
|
]]); |
73
|
|
|
?> |
74
|
|
|
</div> |
75
|
|
|
</div> |
76
|
|
|
</div> |
77
|
|
|
<!-- end: first top navigation bar --> |
78
|
|
|
|
79
|
|
|
<?= \humhub\modules\tour\widgets\Tour::widget(); ?> |
80
|
|
|
|
81
|
|
|
<!-- start: show content (and check, if exists a sublayout --> |
82
|
|
|
<?php if (isset($this->context->subLayout) && $this->context->subLayout != "") : ?> |
83
|
|
|
<?= $this->render($this->context->subLayout, array('content' => $content)); ?> |
84
|
|
|
<?php else { : ?> |
|
|
|
|
85
|
|
|
|
86
|
|
|
<?= $content; } ?> |
87
|
|
|
|
88
|
|
|
<?php endif; ?> |
89
|
|
|
<!-- end: show content --> |
90
|
|
|
|
91
|
|
|
<!-- start: Modal (every lightbox will/should use this construct to show content)--> |
92
|
|
|
<div class="modal" id="globalModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> |
93
|
|
|
<div class="modal-dialog"> |
94
|
|
|
<div class="modal-content"> |
95
|
|
|
<div class="modal-body"> |
96
|
|
|
<?= \humhub\widgets\LoaderWidget::widget(); ?> |
97
|
|
|
</div> |
98
|
|
|
</div> |
99
|
|
|
</div> |
100
|
|
|
</div> |
101
|
|
|
<!-- end: Modal --> |
102
|
|
|
|
103
|
|
|
<?= \humhub\models\Setting::GetText('trackingHtmlCode'); ?> |
104
|
|
|
<?php $this->endBody() ?> |
105
|
|
|
|
106
|
|
|
<div class="container"> |
107
|
|
|
<div class="col-md-12 layout-content-container"> |
108
|
|
|
<footer> |
109
|
|
|
<div class="copyright"> |
110
|
|
|
<span>Powered by <a target="_blank" href="http://humhub.com">HumHub</a></span> |
111
|
|
|
<span>Theme <a target="_blank" href="http://thrashed.ru">developer</a></span> |
112
|
|
|
</div> |
113
|
|
|
</footer> |
114
|
|
|
</div> |
115
|
|
|
</div> |
116
|
|
|
|
117
|
|
|
<script> |
118
|
|
|
$(document).ready(function() { |
119
|
|
|
try { |
120
|
|
|
$.browserSelector(); |
121
|
|
|
if($("html").hasClass("chrome")) { |
122
|
|
|
$.smoothScroll(); |
123
|
|
|
} |
124
|
|
|
} catch(err) { |
125
|
|
|
}; |
126
|
|
|
}); |
127
|
|
|
</script> |
128
|
|
|
|
129
|
|
|
</body> |
130
|
|
|
</html> |
131
|
|
|
<?php $this->endPage() ?> |
132
|
|
|
|