From: friendica Date: Thu, 7 Jun 2012 05:28:30 +0000 (-0700) Subject: admin page untranslated strings, remove empty list element for update X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3b49035636a230f2b91d26686ba7c61a16df532f;p=friendica.git admin page untranslated strings, remove empty list element for update --- diff --git a/mod/admin.php b/mod/admin.php index 6b1a53a300..56f88a489a 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -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/" )); diff --git a/view/admin_aside.tpl b/view/admin_aside.tpl index f25a1eb4ba..ca1f4985c3 100644 --- a/view/admin_aside.tpl +++ b/view/admin_aside.tpl @@ -10,7 +10,7 @@ }); }); -

Admin

+

$admtxt

+{{ if $admin.update }} +{{ endif }} -{{ if $admin.plugins_admin }}

Plugins

{{ endif }} +{{ if $admin.plugins_admin }}

$plugadmtxt

{{ endif }} -

Logs

+

$logtxt