1
0
Fork 0

Merge pull request #3539 from AndyHee/20170617-admin_settings

Corrected names for counting/ listing account-types in admin panel
This commit is contained in:
Michael Vogel 2017-06-28 07:24:41 +02:00 committed by GitHub
commit 578cb0a55c
2 changed files with 3404 additions and 3401 deletions

View file

@ -558,11 +558,11 @@ function admin_page_summary(App $a) {
$r = q("SELECT `page-flags`, COUNT(`uid`) AS `count` FROM `user` GROUP BY `page-flags`");
$accounts = array(
array(t('Normal Account'), 0),
array(t('Soapbox Account'), 0),
array(t('Community/Celebrity Account'), 0),
array(t('Automatic Follower Account'), 0),
array(t('Public Forum Account'), 0),
array(t('Automatic Friend Account'), 0),
array(t('Blog Account'), 0),
array(t('Private Forum'), 0)
array(t('Private Forum Account'), 0)
);
$users=0;
@ -1451,8 +1451,8 @@ function admin_page_users(App $a) {
$_setup_users = function ($e) use ($adminlist) {
$accounts = array(
t('Normal Account'),
t('Soapbox Account'),
t('Community/Celebrity Account'),
t('Automatic Follower Account'),
t('Public Forum Account'),
t('Automatic Friend Account')
);
$e['page-flags'] = $accounts[$e['page-flags']];

File diff suppressed because it is too large Load diff