add additional page types to admin user report

This commit is contained in:
friendica 2012-07-05 22:30:13 -07:00
parent 8b19168999
commit a122fecf50

View file

@ -183,13 +183,15 @@ function admin_page_summary(&$a) {
Array( t('Normal Account'), 0), Array( t('Normal Account'), 0),
Array( t('Soapbox Account'), 0), Array( t('Soapbox Account'), 0),
Array( t('Community/Celebrity Account'), 0), Array( t('Community/Celebrity Account'), 0),
Array( t('Automatic Friend Account'), 0) Array( t('Automatic Friend Account'), 0),
Array( t('Blog Account'), 0),
Array( t('Private Forum'), 0)
); );
$users=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)); logger('accounts: ' . print_r($accounts,true),LOGGER_DATA);
$r = q("SELECT COUNT(id) as `count` FROM `register`"); $r = q("SELECT COUNT(id) as `count` FROM `register`");
$pending = $r[0]['count']; $pending = $r[0]['count'];