From 3b49035636a230f2b91d26686ba7c61a16df532f Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 6 Jun 2012 22:28:30 -0700 Subject: [PATCH] admin page untranslated strings, remove empty list element for update --- mod/admin.php | 3 +++ view/admin_aside.tpl | 8 +++++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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

-- 2.39.5