aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-29 20:35:56 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-29 20:35:56 -0700
commit0b347ccc14a384bfcbda343aacc1dfa1b7ddd740 (patch)
tree0b96e2816079fafdf3d8fa50ad130229e8733488 /view/tpl
parent2072ea721fa26b8e5f7dd4067434951b738de92b (diff)
downloadvolse-hubzilla-0b347ccc14a384bfcbda343aacc1dfa1b7ddd740.tar.gz
volse-hubzilla-0b347ccc14a384bfcbda343aacc1dfa1b7ddd740.tar.bz2
volse-hubzilla-0b347ccc14a384bfcbda343aacc1dfa1b7ddd740.zip
turn the connection filter into a feature.
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/abook_edit.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl
index 10692856e..d118cbb9c 100755
--- a/view/tpl/abook_edit.tpl
+++ b/view/tpl/abook_edit.tpl
@@ -50,8 +50,13 @@
{{/if}}
+{{if $connfilter}}
{{include file="field_textarea.tpl" field=$incl}}
{{include file="field_textarea.tpl" field=$excl}}
+{{else}}
+ <input type="hidden" name="{{$incl.0}}" value="{{$incl.2}}" />
+ <input type="hidden" name="{{$excl.0}}" value="{{$excl.2}}" />
+{{/if}}
{{if $rating}}
<h3>{{$lbl_rating}}</h3>