aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-18 16:38:48 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-18 16:38:48 -0700
commit3876cab8eac1364e7074e8da9aeb83badb3b65b3 (patch)
treecc6eb62935872a0afdc8cab55d7f45bf9ef0c45c /mod/settings.php
parentac824fe83e67950f9303d13d574ff00b57dd5727 (diff)
downloadvolse-hubzilla-3876cab8eac1364e7074e8da9aeb83badb3b65b3.tar.gz
volse-hubzilla-3876cab8eac1364e7074e8da9aeb83badb3b65b3.tar.bz2
volse-hubzilla-3876cab8eac1364e7074e8da9aeb83badb3b65b3.zip
sorting out the last(?) quirks in group pages.
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 720a38e8d..b453fa825 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -180,10 +180,10 @@ function settings_content(&$a) {
$pageset_tpl = load_view_file('view/pagetypes.tpl');
$pagetype = replace_macros($pageset_tpl,array(
- '$normal' => (($profile['page-flags'] == PAGE_NORMAL) ? " checked=\"checked\" " : ""),
- '$soapbox' => (($profile['page-flags'] == PAGE_SOAPBOX) ? " checked=\"checked\" " : ""),
- '$community' => (($profile['page-flags'] == PAGE_COMMUNITY) ? " checked=\"checked\" " : ""),
- '$freelove' => (($profile['page-flags'] == PAGE_FREELOVE) ? " checked=\"checked\" " : ""),
+ '$normal' => (($a->user['page-flags'] == PAGE_NORMAL) ? " checked=\"checked\" " : ""),
+ '$soapbox' => (($a->user['page-flags'] == PAGE_SOAPBOX) ? " checked=\"checked\" " : ""),
+ '$community' => (($a->user['page-flags'] == PAGE_COMMUNITY) ? " checked=\"checked\" " : ""),
+ '$freelove' => (($a->user['page-flags'] == PAGE_FREELOVE) ? " checked=\"checked\" " : ""),
'$page_normal' => PAGE_NORMAL,
'$page_soapbox' => PAGE_SOAPBOX,
'$page_community' => PAGE_COMMUNITY,