aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/search.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-06-30 14:24:42 +0000
committerflop25 <flop25@piwigo.org>2013-06-30 14:24:42 +0000
commit3e9d3ab6865dde6a9a8b2a7aa181703dc56f1abd (patch)
tree5f30810edd57d9fd62eede09dea3be9ee53903f5 /themes/smartpocket/template/search.tpl
parentb1a2127aef8189c48013c0540d649acee1480308 (diff)
bug:2848
jquery.mobile updated photoswipe updated menubar is now a right panel, with almost all the usual links added comment, search, picture, about and tags pages ToDo: *bug correction of the link added to the photoswipe toolbar (link doesn't triggered) *display the calculated size on the picture page limitations: no calendar view git-svn-id: http://piwigo.org/svn/trunk@23713 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/smartpocket/template/search.tpl65
1 files changed, 65 insertions, 0 deletions
diff --git a/themes/smartpocket/template/search.tpl b/themes/smartpocket/template/search.tpl
new file mode 100644
index 000000000..7c648ab1a
--- /dev/null
+++ b/themes/smartpocket/template/search.tpl
@@ -0,0 +1,65 @@
+{include file='infos_errors.tpl'}
+<div data-role="content">
+ <ul data-role="listview" data-inset="true">
+ <li data-role="list-divider">{'Search'|@translate}</li>
+ </ul>
+
+
+<form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}">
+<fieldset data-role="controlgroup">
+ <legend>{'Filter'|@translate}</legend>
+ <div data-role="fieldcontain">
+ <label for="search_allwords">{'Search for words'|@translate}</label>
+ <input type="text" id="search_allwords" style="width: 300px" name="search_allwords" size="30">
+ </div>
+
+ <input type="radio" name="mode" id="mode_and" value="AND" checked="checked">
+ <label for="mode_and">{'Search for all terms'|@translate}</label>
+ <input type="radio" name="mode" id="mode_or" value="OR">
+ <label for="mode_or">{'Search for any term'|@translate}</label>
+ <div data-role="fieldcontain">
+ <label for="search_author">{'Search for Author'|@translate}</label>
+ <input type="text" style="width: 300px" name="search_author" id="search_author" size="30">
+ </div>
+</fieldset>
+
+{if isset($TAG_SELECTION)}
+<fieldset data-role="controlgroup">
+ <legend>{'Search tags'|@translate}</legend>
+ {$TAG_SELECTION}
+</fieldset>
+
+<fieldset data-role="controlgroup">
+ <input type="radio" name="tag_mode" id="tag_mode_and" value="AND" checked="checked">
+ <label for="tag_mode_and">{'All tags'|@translate}</label>
+ <input type="radio" name="tag_mode" id="tag_mode_or" value="OR">
+ <label for="tag_mode_or">{'Any tag'|@translate}</label>
+</fieldset>
+{/if}
+
+<div data-role="fieldcontain">
+ <legend>{'Search in albums'|@translate}</legend>
+ <label for="categoryList">{'Albums'|@translate}
+ <select class="categoryList" id="categoryList" name="cat[]" multiple="multiple" data-native-menu="false">
+ {html_options options=$category_options selected=$category_options_selected}
+ </select>
+ </label>
+ <fieldset data-role="controlgroup">
+ <legend>{'Search in sub-albums'|@translate}</legend>
+ <input type="radio" name="subcats-included" value="1" id="subcats-included-yes" checked="checked">
+ <label for="subcats-included-yes">{'Yes'|@translate}</label>
+ <input type="radio" name="subcats-included" id="subcats-included-no" value="0">
+ <label for="subcats-included-no">{'No'|@translate}</label>
+ </fieldset>
+</div>
+<p>
+ <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}">
+ <input class="submit" type="reset" value="{'Reset'|@translate}">
+</p>
+</form>
+
+<script type="text/javascript"><!--
+document.search.search_allwords.focus();
+//--></script>
+
+</div> <!-- content -->