aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-24 16:30:52 -0700
committerFriendika <info@friendika.com>2011-05-24 16:30:52 -0700
commite3d1ef8ef7c1be2a8588ec1709304f766b0c7607 (patch)
tree36fa06a1745df6c041b99b23a3524b7bd14bcfa7 /view
parent21769d7390a0bcfb5c74e53c05867ab52a54448b (diff)
downloadvolse-hubzilla-e3d1ef8ef7c1be2a8588ec1709304f766b0c7607.tar.gz
volse-hubzilla-e3d1ef8ef7c1be2a8588ec1709304f766b0c7607.tar.bz2
volse-hubzilla-e3d1ef8ef7c1be2a8588ec1709304f766b0c7607.zip
ability to hide profile and wall from unknown people
Diffstat (limited to 'view')
-rw-r--r--view/profile-hide-wall.tpl16
-rw-r--r--view/profile_edit.tpl2
-rw-r--r--view/theme/duepuntozero/style.css6
-rw-r--r--view/theme/loozah/style.css6
4 files changed, 30 insertions, 0 deletions
diff --git a/view/profile-hide-wall.tpl b/view/profile-hide-wall.tpl
new file mode 100644
index 000000000..10185e243
--- /dev/null
+++ b/view/profile-hide-wall.tpl
@@ -0,0 +1,16 @@
+<p id="hide-wall-text">
+$desc
+</p>
+
+ <div id="hide-wall-yes-wrapper">
+ <label id="hide-wall-yes-label" for="hide-wall-yes">$yes_str</label>
+ <input type="radio" name="hidewall" id="hide-wall-yes" $yes_selected value="1" />
+
+ <div id="hide-wall-break" ></div>
+ </div>
+ <div id="hide-wall-no-wrapper">
+ <label id="hide-wall-no-label" for="hide-wall-no">$no_str</label>
+ <input type="radio" name="hidewall" id="hide-wall-no" $no_selected value="0" />
+
+ <div id="hide-wall-end"></div>
+ </div>
diff --git a/view/profile_edit.tpl b/view/profile_edit.tpl
index 053e19594..564746e6a 100644
--- a/view/profile_edit.tpl
+++ b/view/profile_edit.tpl
@@ -52,6 +52,8 @@ $dob $age
$hide_friends
+$hide_wall
+
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" />
</div>
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 61da54231..176fc0fd9 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -701,6 +701,8 @@ input#dfrn-url {
#profile-in-dir-no,
#profile-in-netdir-yes,
#profile-in-netdir-no,
+#hide-wall-yes,
+#hide-wall-no,
#hide-friends-yes,
#hide-friends-no {
float: left;
@@ -718,6 +720,8 @@ input#dfrn-url {
#profile-in-dir-no-label,
#profile-in-netdir-yes-label,
#profile-in-netdir-no-label,
+#hide-wall-yes-label,
+#hide-wall-no-label,
#hide-friends-yes-label,
#hide-friends-no-label {
margin-left: 125px;
@@ -801,6 +805,8 @@ input#dfrn-url {
#profile-in-dir-end,
#profile-in-netdir-break,
#profile-in-netdir-end,
+#hide-wall-break,
+#hide-wall-end,
#hide-friends-break,
#hide-friends-end,
#settings-normal-break,
diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css
index 92c2c20a7..d1a0019ce 100644
--- a/view/theme/loozah/style.css
+++ b/view/theme/loozah/style.css
@@ -825,6 +825,8 @@ input#dfrn-url {
#profile-in-dir-no,
#profile-in-netdir-yes,
#profile-in-netdir-no,
+#hide-wall-yes,
+#hide-wall-no,
#hide-friends-yes,
#hide-friends-no,
#settings-normal,
@@ -839,6 +841,8 @@ input#dfrn-url {
#profile-in-dir-no-label,
#profile-in-netdir-yes-label,
#profile-in-netdir-no-label,
+#hide-wall-yes-label,
+#hide-wall-no-label,
#hide-friends-yes-label,
#hide-friends-no-label {
margin-left: 125px;
@@ -917,6 +921,8 @@ input#dfrn-url {
#profile-in-dir-end,
#profile-in-netdir-break,
#profile-in-netdir-end,
+#hide-wall-break,
+#hide-wall-end,
#hide-friends-break,
#hide-friends-end,
#settings-normal-break,