admin page untranslated strings, remove empty list element for update
This commit is contained in:
parent
dd001e32f4
commit
3b49035636
|
@ -117,6 +117,9 @@ function admin_content(&$a) {
|
||||||
$t = get_markup_template("admin_aside.tpl");
|
$t = get_markup_template("admin_aside.tpl");
|
||||||
$a->page['aside'] .= replace_macros( $t, array(
|
$a->page['aside'] .= replace_macros( $t, array(
|
||||||
'$admin' => $aside,
|
'$admin' => $aside,
|
||||||
|
'$admtxt' => t('Admin'),
|
||||||
|
'$plugadmtxt' => t('Plugin Features'),
|
||||||
|
'$logtxt' => t('Logs'),
|
||||||
'$h_pending' => t('User registrations waiting for confirmation'),
|
'$h_pending' => t('User registrations waiting for confirmation'),
|
||||||
'$admurl'=> $a->get_baseurl(true)."/admin/"
|
'$admurl'=> $a->get_baseurl(true)."/admin/"
|
||||||
));
|
));
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<h4><a href="$admurl">Admin</a></h4>
|
<h4><a href="$admurl">$admtxt</a></h4>
|
||||||
<ul class='admin linklist'>
|
<ul class='admin linklist'>
|
||||||
<li class='admin link button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
|
<li class='admin link button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
|
||||||
<li class='admin link button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li>
|
<li class='admin link button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li>
|
||||||
|
@ -19,13 +19,15 @@
|
||||||
<li class='admin link button $admin.dbsync.2'><a href='$admin.dbsync.0'>$admin.dbsync.1</a></li>
|
<li class='admin link button $admin.dbsync.2'><a href='$admin.dbsync.0'>$admin.dbsync.1</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
{{ if $admin.update }}
|
||||||
<ul class='admin linklist'>
|
<ul class='admin linklist'>
|
||||||
<li class='admin link button $admin.update.2'><a href='$admin.update.0'>$admin.update.1</a></li>
|
<li class='admin link button $admin.update.2'><a href='$admin.update.0'>$admin.update.1</a></li>
|
||||||
<li class='admin link button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
|
<li class='admin link button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
|
||||||
{{ if $admin.plugins_admin }}<h4>Plugins</h4>{{ endif }}
|
{{ if $admin.plugins_admin }}<h4>$plugadmtxt</h4>{{ endif }}
|
||||||
<ul class='admin linklist'>
|
<ul class='admin linklist'>
|
||||||
{{ for $admin.plugins_admin as $l }}
|
{{ for $admin.plugins_admin as $l }}
|
||||||
<li class='admin link button $l.2'><a href='$l.0'>$l.1</a></li>
|
<li class='admin link button $l.2'><a href='$l.0'>$l.1</a></li>
|
||||||
|
@ -33,7 +35,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<h4>Logs</h4>
|
<h4>$logtxt</h4>
|
||||||
<ul class='admin linklist'>
|
<ul class='admin linklist'>
|
||||||
<li class='admin link button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
|
<li class='admin link button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue