mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Move Contact::Page_* constants to User::PAGE_FLAGS_*
This commit is contained in:
parent
11a4a57bfe
commit
ad9c67663d
23 changed files with 126 additions and 86 deletions
|
@ -1988,11 +1988,11 @@ function admin_page_users(App $a)
|
|||
$adminlist = explode(",", str_replace(" ", "", Config::get('config', 'admin_email')));
|
||||
$_setup_users = function ($e) use ($adminlist) {
|
||||
$page_types = [
|
||||
Contact::PAGE_NORMAL => L10n::t('Normal Account Page'),
|
||||
Contact::PAGE_SOAPBOX => L10n::t('Soapbox Page'),
|
||||
Contact::PAGE_COMMUNITY => L10n::t('Public Forum'),
|
||||
Contact::PAGE_FREELOVE => L10n::t('Automatic Friend Page'),
|
||||
Contact::PAGE_PRVGROUP => L10n::t('Private Forum')
|
||||
User::PAGE_FLAGS_NORMAL => L10n::t('Normal Account Page'),
|
||||
User::PAGE_FLAGS_SOAPBOX => L10n::t('Soapbox Page'),
|
||||
User::PAGE_FLAGS_COMMUNITY => L10n::t('Public Forum'),
|
||||
User::PAGE_FLAGS_FREELOVE => L10n::t('Automatic Friend Page'),
|
||||
User::PAGE_FLAGS_PRVGROUP => L10n::t('Private Forum')
|
||||
];
|
||||
$account_types = [
|
||||
Contact::ACCOUNT_TYPE_PERSON => L10n::t('Personal Page'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue