2017-12-01 05:40:55 +00:00
|
|
|
<script>
|
|
|
|
// update pending count //
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
$("nav").bind('nav-update', function(e,data){
|
|
|
|
var elm = $('#pending-update');
|
2020-11-16 23:16:20 +00:00
|
|
|
var register = $(data).find('register').html();
|
2017-12-01 05:40:55 +00:00
|
|
|
if (register=="0") { register=""; elm.hide();} else { elm.show(); }
|
|
|
|
elm.html(register);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{{foreach $subpages as $page}}
|
2018-01-30 12:37:00 +00:00
|
|
|
<h4>{{$page.0}}</h4>
|
|
|
|
<ul class="admin linklist" role="menu">
|
|
|
|
{{foreach $page.1 as $item}}
|
|
|
|
<li class='admin link button {{$item.2}}' role="menuitem"><a href='{{$item.0}}'>{{$item.1}}</a></li>
|
2017-12-01 05:40:55 +00:00
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
2018-01-30 12:37:00 +00:00
|
|
|
{{/foreach}}
|
|
|
|
|
|
|
|
|
2017-12-01 05:40:55 +00:00
|
|
|
|
|
|
|
{{if $admin.update}}
|
|
|
|
<ul class='admin linklist'>
|
|
|
|
<li class='admin link button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li>
|
|
|
|
</ul>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
2019-05-10 08:38:09 +00:00
|
|
|
{{if $admin.addons_admin}}<h4>{{$plugadmtxt}}</h4>
|
2017-12-01 05:40:55 +00:00
|
|
|
<ul class='admin linklist'>
|
2019-05-10 08:38:09 +00:00
|
|
|
{{foreach $admin.addons_admin as $name => $item}}
|
|
|
|
<li role="menuitem" class="admin link button {{$item.class}}">
|
|
|
|
<a href="{{$item.url}}">{{$item.name}}</a>
|
|
|
|
</li>
|
2017-12-01 05:40:55 +00:00
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
2019-05-10 08:38:09 +00:00
|
|
|
{{/if}}
|
2017-12-01 05:40:55 +00:00
|
|
|
|
|
|
|
|