diff options
-rw-r--r-- | mod/admin.php | 3 | ||||
-rw-r--r-- | view/admin_aside.tpl | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/mod/admin.php b/mod/admin.php index 6b1a53a30..56f88a489 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 f25a1eb4b..ca1f4985c 100644 --- a/view/admin_aside.tpl +++ b/view/admin_aside.tpl @@ -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> |