aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-05 18:24:49 -0800
committerfriendica <info@friendica.com>2015-03-05 18:24:49 -0800
commit22391a24378cae317cdf62dc4be4b31b68e8191f (patch)
treeeca9be09c179ab036625dd64fbaea91d181f87fc /view/tpl
parente73d0ee418564eb32517f86930c78384ca3bd52d (diff)
downloadvolse-hubzilla-22391a24378cae317cdf62dc4be4b31b68e8191f.tar.gz
volse-hubzilla-22391a24378cae317cdf62dc4be4b31b68e8191f.tar.bz2
volse-hubzilla-22391a24378cae317cdf62dc4be4b31b68e8191f.zip
straighten out some directory stuff, which required some Comanche structural changes
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/dir_sort_links.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/tpl/dir_sort_links.tpl b/view/tpl/dir_sort_links.tpl
index d9ecd22c6..62cf7ff1b 100644
--- a/view/tpl/dir_sort_links.tpl
+++ b/view/tpl/dir_sort_links.tpl
@@ -1,5 +1,8 @@
<div class="widget" id="dir_sort_links">
<h3>{{$header}}</h3>
+<ul class="nav nav-pills nav-stacked">
+ <li><a href="toggle_safesearch">{{$toggle}}</a></li>
+</ul>
{{$sort}}: <select onchange='window.location.href="{{$sorturl}}&order="+this.value'>
<option value='normal' {{if $selected_sort == 'normal'}}selected='selected'{{/if}}>{{$normal}}</option>
<option value='reverse' {{if $selected_sort == 'reverse'}}selected='selected'{{/if}}>{{$reverse}}</option>
@@ -7,4 +10,6 @@
<option value='reversedate' {{if $selected_sort == 'reversedate'}}selected='selected'{{/if}}>{{$reversedate}}</option>
</select><br />
<input type='checkbox' {{if $pubforumsonly}}checked='checked'{{/if}} onchange='window.location.href="{{$forumsurl}}&pubforums="+(this.checked ? 1 : 0)'/> {{$pubforums}}<br />
+<input type='checkbox' {{if $globaldir}}{{else}}checked='checked'{{/if}} onchange='window.location.href="{{$forumsurl}}&global="+(this.checked ? 0 : 1)'/> {{$localdir}}<br />
+
</div>