mirror of
https://github.com/friendica/friendica
synced 2024-11-20 09:03:40 +00:00
admin page untranslated strings, remove empty list element for update
This commit is contained in:
parent
dd001e32f4
commit
3b49035636
2 changed files with 8 additions and 3 deletions
|
@ -117,6 +117,9 @@ function admin_content(&$a) {
|
|||
$t = get_markup_template("admin_aside.tpl");
|
||||
$a->page['aside'] .= replace_macros( $t, array(
|
||||
'$admin' => $aside,
|
||||
'$admtxt' => t('Admin'),
|
||||
'$plugadmtxt' => t('Plugin Features'),
|
||||
'$logtxt' => t('Logs'),
|
||||
'$h_pending' => t('User registrations waiting for confirmation'),
|
||||
'$admurl'=> $a->get_baseurl(true)."/admin/"
|
||||
));
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
});
|
||||
});
|
||||
</script>
|
||||
<h4><a href="$admurl">Admin</a></h4>
|
||||
<h4><a href="$admurl">$admtxt</a></h4>
|
||||
<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.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>
|
||||
</ul>
|
||||
|
||||
{{ 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>
|
||||
<li class='admin link button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
|
||||
</ul>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
{{ if $admin.plugins_admin }}<h4>Plugins</h4>{{ endif }}
|
||||
{{ if $admin.plugins_admin }}<h4>$plugadmtxt</h4>{{ endif }}
|
||||
<ul class='admin linklist'>
|
||||
{{ for $admin.plugins_admin as $l }}
|
||||
<li class='admin link button $l.2'><a href='$l.0'>$l.1</a></li>
|
||||
|
@ -33,7 +35,7 @@
|
|||
</ul>
|
||||
|
||||
|
||||
<h4>Logs</h4>
|
||||
<h4>$logtxt</h4>
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin link button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue