show/hide page-flags according to the account-type

This commit is contained in:
rabuzarus 2016-10-05 14:45:19 +02:00
parent 95d2a7ae7a
commit 2a3e235f9a
4 changed files with 77 additions and 27 deletions

View file

@ -1083,7 +1083,7 @@ function settings_content(&$a) {
($a->user['account-type'] != ACCOUNT_TYPE_COMMUNITY))
$a->user['account-type'] = ACCOUNT_TYPE_COMMUNITY;
$pageset_tpl = get_markup_template('pagetypes.tpl');
$pageset_tpl = get_markup_template('settings_pagetypes.tpl');
$pagetype = replace_macros($pageset_tpl, array(
'$account_types' => t("Account Types"),