2015-08-23 22:38:18 +02:00
|
|
|
<script>
|
|
|
|
// update pending count //
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
$("nav").bind('nav-update', function(e,data){
|
|
|
|
var elm = $('#pending-update');
|
|
|
|
var register = $(data).find('register').text();
|
|
|
|
if (register=="0") { reigster=""; elm.hide();} else { elm.show(); }
|
|
|
|
elm.html(register);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<div class="widget">
|
|
|
|
<h3>{{$admtxt}}</h3>
|
|
|
|
<ul class="nav nav-pills nav-stacked">
|
|
|
|
<li><a href='{{$admin.site.0}}'>{{$admin.site.1}}</a></li>
|
|
|
|
<li><a href='{{$admin.users.0}}'>{{$admin.users.1}}<span id='pending-update' title='{{$h_pending}}'></span></a></li>
|
|
|
|
<li><a href='{{$admin.channels.0}}'>{{$admin.channels.1}}</a></li>
|
|
|
|
<li><a href='{{$admin.queue.0}}'>{{$admin.queue.1}}</a></li>
|
|
|
|
<li><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li>
|
|
|
|
<li><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li>
|
2016-01-12 02:47:38 +01:00
|
|
|
<li><a href='{{$admin.features.0}}'>{{$admin.features.1}}</a></li>
|
2015-08-23 22:38:18 +02:00
|
|
|
<li><a href='{{$admin.dbsync.0}}'>{{$admin.dbsync.1}}</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{if $admin.update}}
|
|
|
|
<ul class="nav nav-pills nav-stacked">
|
|
|
|
<li><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li>
|
2016-01-12 02:47:38 +01:00
|
|
|
<li><a href=''>Important Changes</a></li>
|
2015-08-23 22:38:18 +02:00
|
|
|
</ul>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
|
|
{{if $admin.plugins_admin}}
|
|
|
|
<div class="widget">
|
|
|
|
<h3>{{$plugadmtxt}}</h3>
|
|
|
|
<ul class="nav nav-pills nav-stacked">
|
|
|
|
{{foreach $admin.plugins_admin as $l}}
|
|
|
|
<li><a href='{{$l.0}}'>{{$l.1}}</a></li>
|
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="widget">
|
|
|
|
<h3>{{$logtxt}}</h3>
|
|
|
|
<ul class="nav nav-pills nav-stacked">
|
|
|
|
<li><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|