From 511c761fec572a093e833541968635ca011cb71e Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 18 Oct 2010 00:43:49 -0700 Subject: group/community/celebrity pages --- view/acl_selectors.php | 21 +++++++++++--------- view/settings.tpl | 46 ++++++++++++++++++++++++++++++++++++++------ view/theme/default/style.css | 26 +++++++++++++++++++++++-- 3 files changed, 76 insertions(+), 17 deletions(-) (limited to 'view') diff --git a/view/acl_selectors.php b/view/acl_selectors.php index 388b75ebb..7ad97dfd2 100644 --- a/view/acl_selectors.php +++ b/view/acl_selectors.php @@ -30,21 +30,24 @@ function group_select($selname,$selclass,$preselected = false,$size = 4) { -function contact_select($selname, $selclass, $preselected = false, $size = 4, $privmail = false) { +function contact_select($selname, $selclass, $preselected = false, $size = 4, $privmail = false, $celeb = false) { $o = ''; // When used for private messages, we limit correspondence to mutual friends and the selector // to one recipient. By default our selector allows multiple selects amongst all contacts. - if($privmail) { + $sql_extra = ''; + + if($privmail || $celeb) { $sql_extra = sprintf(" AND `rel` = %d ", intval(REL_BUD)); - $o .= "\r\n"; + else $o .= "
@@ -38,6 +41,14 @@ $theme
+
+ +
+ + +

Privacy Settings

+ + $profile_in_dir @@ -56,26 +67,43 @@ $profile_in_net_dir
+
+ +
+ + + +

Notification Settings

+ +
-
Send me a notification email when:
- +
Send a notification email when:
+
- +
- +
- +
+
+ +
+ + +

Password Settings

+ +

Leave password fields blank unless changing @@ -92,14 +120,20 @@ Leave password fields blank unless changing

+
+ +
+

Advanced Page Settings

+$pagetype
+ diff --git a/view/theme/default/style.css b/view/theme/default/style.css index af84e06fa..237264df4 100644 --- a/view/theme/default/style.css +++ b/view/theme/default/style.css @@ -666,7 +666,11 @@ input#dfrn-url { #profile-in-netdir-yes, #profile-in-netdir-no, #hide-friends-yes, -#hide-friends-no { +#hide-friends-no, +#settings-normal, +#settings-soapbox, +#settings-community, +#settings-freelove { float: left; margin-bottom: 20px; } @@ -686,6 +690,20 @@ input#dfrn-url { float: left; margin-bottom: 35px; } +#settings-normal-label, +#settings-soapbox-label, +#settings-community-label, +#settings-freelove-label { + float: left; + width: 200px; +} +#settings-normal-desc, +#settings-soapbox-desc, +#settings-community-desc, +#settings-freelove-desc { + float: left; + margin-left: 75px; +} #profile-edit-profile-name-end, #profile-edit-name-end, @@ -706,7 +724,11 @@ input#dfrn-url { #profile-in-netdir-break, #profile-in-netdir-end, #hide-friends-break, -#hide-friends-end { +#hide-friends-end, +#settings-normal-break, +#settings-soapbox-break, +#settings-community-break, +#settings-freelove-break { clear: both; } -- cgit v1.2.3