aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-21 16:50:06 -0800
committerFriendika <info@friendika.com>2011-02-21 16:50:06 -0800
commitc10879efdd99adabcca7df4ce4ab519b1f9ad6f2 (patch)
tree7fa4982cf86b7dbce508316462333f3f7afd37c0 /view
parent079e63bba942e150ddd2baf91149936d1b880697 (diff)
downloadvolse-hubzilla-c10879efdd99adabcca7df4ce4ab519b1f9ad6f2.tar.gz
volse-hubzilla-c10879efdd99adabcca7df4ce4ab519b1f9ad6f2.tar.bz2
volse-hubzilla-c10879efdd99adabcca7df4ce4ab519b1f9ad6f2.zip
default publish to directory, but offer registration privacy setting.
generalise publish option template - so once translated we can merge them all. Update strings.
Diffstat (limited to 'view')
-rw-r--r--view/profile_publish.tpl16
-rw-r--r--view/register.tpl2
-rw-r--r--view/theme/duepuntozero/style.css22
-rw-r--r--view/theme/loozah/style.css22
4 files changed, 57 insertions, 5 deletions
diff --git a/view/profile_publish.tpl b/view/profile_publish.tpl
new file mode 100644
index 000000000..8fd0bc913
--- /dev/null
+++ b/view/profile_publish.tpl
@@ -0,0 +1,16 @@
+<p id="profile-publish-desc-$instance">
+$pubdesc
+</p>
+
+ <div id="profile-publish-yes-wrapper-$instance">
+ <label id="profile-publish-yes-label-$instance" for="profile-publish-yes-$instance">$str_yes</label>
+ <input type="radio" name="profile_publish_$instance" id="profile-publish-yes-$instance" $yes_selected value="1" />
+
+ <div id="profile-publish-break-$instance" ></div>
+ </div>
+ <div id="profile-publish-no-wrapper-$instance">
+ <label id="profile-publish-no-label-$instance" for="profile-publish-no-$instance">$str_no</label>
+ <input type="radio" name="profile_publish_$instance" id="profile-publish-no-$instance" $no_selected value="0" />
+
+ <div id="profile-publish-end-$instance"></div>
+ </div>
diff --git a/view/register.tpl b/view/register.tpl
index ed528bb33..3f57994ed 100644
--- a/view/register.tpl
+++ b/view/register.tpl
@@ -37,7 +37,7 @@
</div>
<div id="register-nickname-end" ></div>
-
+ $publish
<div id="register-submit-wrapper">
<input type="submit" name="submit" id="register-submit-button" value="$regbutt" />
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 008cce059..916f191e1 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -275,8 +275,7 @@ div.wall-item-content-wrapper.shiny {
}
#register-submit-button {
- margin-top: 50px;
- margin-left: 350px;
+ margin-top: 10px;
}
#label-login-name, #label-login-password, #login-extra-filler {
@@ -678,6 +677,25 @@ input#dfrn-url {
margin-left: 20px;
}
+#profile-publish-yes-reg,
+#profile-publish-no-reg {
+ float: left;
+ margin-bottom: 10px;
+}
+
+#profile-publish-yes-label-reg,
+#profile-publish-no-label-reg {
+ margin-left: 350px;
+ float: left;
+ width: 50px;
+}
+
+#profile-publish-break-reg,
+#profile-publish-end-reg {
+ clear: both;
+}
+
+
#profile-edit-pdesc-desc,
#profile-edit-keywords-desc {
float: left;
diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css
index d34c81a45..e4ebeda7e 100644
--- a/view/theme/loozah/style.css
+++ b/view/theme/loozah/style.css
@@ -410,8 +410,7 @@ nav {
}
#register-submit-button {
- margin-top: 50px;
- margin-left: 350px;
+ margin-top: 10px;
}
#label-login-name, #label-login-password, #login-extra-filler {
@@ -812,6 +811,25 @@ input#dfrn-url {
margin-left: 20px;
}
+#profile-publish-yes-reg,
+#profile-publish-no-reg {
+ float: left;
+ margin-bottom: 10px;
+}
+
+#profile-publish-yes-label-reg,
+#profile-publish-no-label-reg {
+ margin-left: 350px;
+ float: left;
+ width: 50px;
+}
+
+#profile-publish-break-reg,
+#profile-publish-end-reg {
+ clear: both;
+}
+
+
#profile-edit-homepage {
float: left;