1
1
<script type =" text/javascript" >
2
2
function showNotyDate (id ) {
3
- $(' #notyAddtimeBlock_' + id).show();
4
- $(' #notyMsgBlock_' + id).hide();
3
+ $(' #notyAddtimeBlock_' + id).show();
4
+ $(' #notyMsgBlock_' + id).hide();
5
5
}
6
+
6
7
function hideNotyDate (id ) {
7
- $(' #notyMsgBlock_' + id).show();
8
- $(' #notyAddtimeBlock_' + id).hide();
8
+ $(' #notyMsgBlock_' + id).show();
9
+ $(' #notyAddtimeBlock_' + id).hide();
9
10
}
10
11
</script >
11
12
{ foreach $SUB_MODULES as $item }
12
13
13
14
{ if $item .NEW_CATEGORY}
14
- <li class =" dropdown" >
15
- <a href =" #" class =" dropdown-toggle" data-toggle =" dropdown" role =" button" aria-haspopup =" true" aria-expanded =" false" >{ $item .CATEGORY} <b class =" caret" ></b ></a >
15
+ <li class =" dropdown" >
16
+ <a href =" #" class =" dropdown-toggle" data-toggle =" dropdown" role =" button" aria-haspopup =" true"
17
+ aria-expanded =" false" >{ $item .CATEGORY} <b class =" caret" ></b ></a >
16
18
<ul class =" dropdown-menu" >
17
19
{ /if }
18
20
19
21
{ if ! $item .DENIED}
20
22
{ if $item .LINKS}
21
- <li class =" [#if SELECTED#]active[#endif#] category{ $item .CATEGORY_ID} menu-item dropdown dropdown-submenu" id =" module_{ $item .NAME} _link" ><a href =' { $smarty .const.ROOTHTML} admin.php?action={ $item .NAME} ' class =" top-menu dropdown-toggle" ><img src =" { $item .ICON_SM} " width =" 24" height =" 24" >  ; { $item .TITLE} </a >
22
- <ul class =" dropdown-menu" >
23
- { foreach $item .LINKS as $link }
24
- <li class =" menu-item" ><a href =" { $link .LINK} " >{ $link .TITLE} </a ></li >
25
- { /foreach }
26
- </ul >
27
- </li >
23
+ <li class =" [#if SELECTED#]active[#endif#] category{ $item .CATEGORY_ID} menu-item dropdown dropdown-submenu"
24
+ id =" module_{ $item .NAME} _link" ><a href =' { $smarty .const.ROOTHTML} admin.php?action={ $item .NAME} '
25
+ class =" top-menu dropdown-toggle" ><img src =" { $item .ICON_SM} " width =" 24"
26
+ height =" 24" >  ; { $item .TITLE}
27
+ </a >
28
+ <ul class =" dropdown-menu" >
29
+ { foreach $item .LINKS as $link }
30
+ { if $link .DIVIDER= =1}
31
+ <li class =" divider" role =" separator" ></li >
32
+ { else }
33
+ <li class =" menu-item" ><a href =" { $link .LINK} " >{ $link .TITLE} </a ></li >
34
+ { /if }
35
+ { /foreach }
36
+ </ul >
37
+ </li >
28
38
{ else }
29
- <li class =" [#if SELECTED#]active[#endif#] category{ $item .CATEGORY_ID} " id =" module_{ $item .NAME} _link" >
30
- <a href =' <#ROOTHTML#>admin.php?action={ $item .NAME} ' class =" top-menu" ><img src =" { $item .ICON_SM} " width =" 24" height =" 24" >  ; { $item .TITLE}
31
- { if $item .NOTIFICATIONS_COUNT != 0}
32
- <span class =" badge pull-right alert-{ $item .NOTIFICATIONS_TYPE} " style =" border : 1px solid ;cursor : pointer ;" data-container =" body" data-toggle =" popover" data-trigger =" manual" data-placement =" bottom" data-html =" true" >{ $item .NOTIFICATIONS_COUNT} </span >
33
- { /if } </a >
34
- </li >
35
- { if $item .NAME= =" xray" } <li class =" menu-item" ><a href =" #" onClick =' return consoleToggle();' ><i class =" glyphicon glyphicon-flash" ></i > { $smarty .const.LANG_CONSOLE} </a ></li >{ /if }
39
+ <li class =" [#if SELECTED#]active[#endif#] category{ $item .CATEGORY_ID} " id =" module_{ $item .NAME} _link" >
40
+ <a href =' <#ROOTHTML#>admin.php?action={ $item .NAME} ' class =" top-menu" ><img src =" { $item .ICON_SM} "
41
+ width =" 24"
42
+ height =" 24" >  ; { $item .TITLE}
43
+ { if $item .NOTIFICATIONS_COUNT != 0}
44
+ <span class =" badge pull-right alert-{ $item .NOTIFICATIONS_TYPE} "
45
+ style =" border : 1px solid ;cursor : pointer ;" data-container =" body" data-toggle =" popover"
46
+ data-trigger =" manual" data-placement =" bottom"
47
+ data-html =" true" >{ $item .NOTIFICATIONS_COUNT} </span >
48
+ { /if } </a >
49
+ </li >
50
+ { if $item .NAME= =" xray" }
51
+ <li class =" menu-item" ><a href =" #" onClick =' return consoleToggle();' ><i
52
+ class =" glyphicon glyphicon-flash" ></i > { $smarty .const.LANG_CONSOLE} </a ></li >{ /if }
36
53
{ /if }
37
54
{ /if }
38
55
39
- { if $item .LAST_IN_CATEGORY}
40
- </ul >
41
- </li >
42
- { /if }
56
+ { if $item .LAST_IN_CATEGORY}
57
+ </ul >
58
+ </li >
59
+ { /if }
43
60
{ /foreach }
0 commit comments