aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-05 18:51:21 -0800
committerfriendica <info@friendica.com>2012-03-05 18:51:21 -0800
commit23460302f5e6b97a5e7b9d6038e77dc4c2d13033 (patch)
treeffc798cfc8571ac56a1944f32dd08aace690a058 /mod/admin.php
parent8473444242318582e437f84c5a4006643ccda50d (diff)
downloadvolse-hubzilla-23460302f5e6b97a5e7b9d6038e77dc4c2d13033.tar.gz
volse-hubzilla-23460302f5e6b97a5e7b9d6038e77dc4c2d13033.tar.bz2
volse-hubzilla-23460302f5e6b97a5e7b9d6038e77dc4c2d13033.zip
some admin page fixes and cleanup
Diffstat (limited to 'mod/admin.php')
-rwxr-xr-xmod/admin.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 94bf44503..2115f9241 100755
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -145,9 +145,10 @@ function admin_page_summary(&$a) {
Array( t('Automatic Friend Account'), 0)
);
$users=0;
- foreach ($r as $u){ $accounts[$u['page-flags']][1] = $u['count']; $users+=$u['count']; }
+ foreach ($r as $u){ $accounts[$u['page-flags']][1] = $u['count']; $users+= $u['count']; }
+
+ logger('accounts: ' . print_r($accounts,true));
-
$r = q("SELECT COUNT(id) as `count` FROM `register`");
$pending = $r[0]['count'];
@@ -574,6 +575,8 @@ function admin_page_plugins(&$a){
'$status' => $status,
'$action' => $action,
'$info' => get_plugin_info($plugin),
+ '$str_author' => t('Author: '),
+ '$str_maintainer' => t('Maintainer: '),
'$admin_form' => $admin_form,
'$function' => 'plugins',
@@ -747,7 +750,8 @@ function admin_page_themes(&$a){
'$info' => get_theme_info($theme),
'$function' => 'themes',
'$admin_form' => $admin_form,
-
+ '$str_author' => t('Author: '),
+ '$str_maintainer' => t('Maintainer: '),
'$readme' => $readme
));
}