view.phtml
966 Bytes
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
<?php
echo N2Html::openTag('div', array('class' => 'n2-nav'));
if (!empty($logoUrl)):
echo N2Html::tag('div', array('class' => 'n2-blue-logo-bg n2-logo'), N2Html::tag('a', array('href' => $logoUrl), N2Html::image($logoImageUrl)));
endif;
?>
<div class="n2-blue-bg n2-header">
<?php
if (isset($actions) && count($actions)):
?>
<div class="n2-header-action n2-left">
<?php
foreach ($actions AS $action):
echo $action;
endforeach;
?>
</div>
<?php endif; ?>
<!--breadcrumb-->
<?php if (isset($views) && count($views)): ?>
<div class="n2-header-menu n2-header-right">
<?php
foreach ($views AS $view) {
echo $view;
}
?>
</div>
<?php endif; ?>
</div>
<?php
echo N2Html::closeTag('div');