default.phtml
2.1 KB
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
<?php
/* @var $this N2Layout */
?>
<div id="n2-admin" class="n2 n2-border-radius">
<?php
/**
* @var $widget Nav
*/
$logoUrl = N2Base::getApplication('system')->getLogo();
$cmd = N2Request::getVar("nextendcontroller", "dashboard");
echo $this->widget->init('nav', array(
'logoUrl' => $this->appType->router->createUrl("dashboard/index"),
'logoImageUrl' => $logoUrl,
'views' => array(
N2Html::tag('a', array(
'href' => $this->appType->router->createUrl("dashboard/index"),
'class' => 'n2-h4 n2-uc ' . ($cmd == "dashboard" ? "n2-active" : "")
), n2_('Dashboard')),
N2Html::tag('a', array(
'href' => $this->appType->router->createUrl("settings/index"),
'class' => 'n2-h4 n2-uc ' . ($cmd == "settings" ? "n2-active" : "")
), n2_('Settings')),
N2Html::tag('a', array(
'href' => $this->appType->router->createUrl("help/index"),
'class' => 'n2-h4 n2-uc ' . ($cmd == "help" ? "n2-active" : "")
), n2_('Help'))
),
'actions' => $this->getFragmentValue('actions')
));
?>
<div class="n2-table n2-table-fixed n2-content">
<div class="n2-tr">
<div class="n2-td n2-sidebar n2-sidebar-base-bg">
<?php
$this->renderFragmentBlock('nextend_sidebar');
?>
</div>
<div class="n2-td n2-content-base-bg">
<!-- Begin Content -->
<div class="n2-content-area n2-border-radius-br">
<?php
$this->renderFragmentBlock('nextend_content');
?>
</div>
<!-- End Content -->
</div>
</div>
</div>
</div>
<?php
N2Message::show();
N2JS::addInline("new NextendExpertMode('nextend', 1);");