aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-20 00:27:00 -0800
committerFriendika <info@friendika.com>2010-12-20 00:27:00 -0800
commit878067101f09b20014fab4c7f1265656528575d8 (patch)
tree4362be3bf61a16acbf76b6a98c65520fd2ef9c09 /view
parent2632c2313069ff418737ecf0f8f6885f02d3e5b1 (diff)
downloadvolse-hubzilla-878067101f09b20014fab4c7f1265656528575d8.tar.gz
volse-hubzilla-878067101f09b20014fab4c7f1265656528575d8.tar.bz2
volse-hubzilla-878067101f09b20014fab4c7f1265656528575d8.zip
block connection/friend request spam
Diffstat (limited to 'view')
-rw-r--r--view/en/settings.tpl12
-rw-r--r--view/theme/default/style.css8
2 files changed, 19 insertions, 1 deletions
diff --git a/view/en/settings.tpl b/view/en/settings.tpl
index 095dd70a4..a02e8ec08 100644
--- a/view/en/settings.tpl
+++ b/view/en/settings.tpl
@@ -59,10 +59,22 @@ $theme
<input type="hidden" name="visibility" value="$visibility" />
+<div id="settings-maxreq-wrapper">
+<label id="settings-maxreq-label" for="settings-maxreq" >Maximum Friend Requests/Day</label>
+<input id="settings-maxreq" name="maxreq" value="$maxreq" />
+<div id="settings-maxreq-desc">(to prevent spam abuse)</div>
+</div>
+<div id="settings-maxreq-end"></div>
+
+
+
+
$profile_in_dir
$profile_in_net_dir
+
+
<div id="settings-default-perms" class="settings-default-perms" >
<div id="settings-default-perms-menu" class="fakelink" onClick="openClose('settings-default-perms-select');" >$permissions</div>
<div id="settings-default-perms-menu-end"></div>
diff --git a/view/theme/default/style.css b/view/theme/default/style.css
index 627915e64..8ad6ee593 100644
--- a/view/theme/default/style.css
+++ b/view/theme/default/style.css
@@ -496,6 +496,7 @@ input#dfrn-url {
#settings-password-end,
#settings-confirm-end,
#settings-openid-end,
+#settings-maxreq-end,
#notify1-end,
#notify2-end,
#notify3-end,
@@ -515,6 +516,7 @@ input#dfrn-url {
#settings-password-label,
#settings-confirm-label,
#settings-openid-label,
+#settings-maxreq-label,
#settings-label-notify1,
#settings-label-notify2,
#settings-label-notify3,
@@ -533,6 +535,7 @@ input#dfrn-url {
#theme-select,
#settings-password,
#settings-confirm,
+#settings-maxreq,
#notify1,
#notify2,
#notify3,
@@ -548,7 +551,10 @@ input#dfrn-url {
width: 127px;
}
-
+#settings-maxreq-desc {
+ float: left;
+ margin-left: 20px;
+}
#settings-theme-label,
#settings-defloc-label {