[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-advsearch.... [dev_week]
Joshua Ferraro
jmf at kados.org
Sun Aug 27 04:02:59 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Joshua Ferraro <kados> 06/08/27 02:02:59
Modified files:
koha-tmpl/opac-tmpl/npl/en: opac-advsearch.tmpl
Log message:
some updates to format of results list
when re-sorting, the form is automatically submitted if you have js
the results page remembers what you sorted by
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-advsearch.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.2&r2=1.1.2.3
Patches:
Index: opac-advsearch.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/Attic/opac-advsearch.tmpl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- opac-advsearch.tmpl 23 Aug 2006 16:56:21 -0000 1.1.2.2
+++ opac-advsearch.tmpl 27 Aug 2006 02:02:59 -0000 1.1.2.3
@@ -1,4 +1,6 @@
-<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Advanced Search<!-- TMPL_INCLUDE NAME="doc-head-close-cat.inc" -->
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Advanced Search<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<body id="withsidebar">
+
<script type="text/javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/livesearch.js"></script>
<script type="text/javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/main.js"></script>
<!--TMPL_INCLUDE NAME="masthead-basic.inc" -->
@@ -151,31 +153,27 @@
<!-- /AVAILABILITY LIMITS -->
<!-- RANK LIMITS -->
+<!-- TMPL_IF NAME="sort_by_loop" -->
<fieldset><legend>Sort by: </legend>
<p><select id="sort_by" name="sort_by">
<option value="">Field-weighted, Relevance Ranked</option>
- <option value="1=1003 >i 1=8801">Author (A-Z)</option>
- <option value="1=1003 <i 1=8801">Author (Z-A)</option>
- <option value="oclcnum">Call Number</option>
- <option value="date">Date</option>
- <option value="1=8801 <i"> Publication/Copyright Date: Oldest to Newest</option>
- <option value="1=8801 >i"> Publication/Copyright Date: Newest to Oldest</option>
- <option value="date"> Acquisition Date: Newest to Oldest</option>
- <option value="date"> Acquisition Date: Oldest to Newest</option>
- <option value="1=4 <i">Title (A-Z)</option>
- <option value="1=4 >i">Title (Z-A)</option>
+ <!-- TMPL_LOOP NAME="sort_by_loop" -->
+ <option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="label" --></option>
+ <!-- /TMPL_LOOP -->
</select>
<a href="http://wiki.koha.org/?id=en:opachelp#sort_by" class="help" onclick="window.open('http://wiki.koha.org/?id=en:opachelp#sort_by','Sort By Help','width=350,top=50,left=50,resizable,scrollbars,height=650'); return false;">[ ? ]</a></p>
</fieldset>
+<!-- /TMPL_IF -->
<!-- RANK LIMITS -->
-<p><!-- TMPL_IF NAME="expanded_options" -->
- <a href="/search">Fewer Options</a>
- <!-- TMPL_ELSE -->
- <a href="/search?expanded_options=1">More options</a>
- <!-- /TMPL_IF --></p>
+<p></p>
<!-- SEARCH BUTTONS -->
<p><input class="submit" type="submit" accesskey="s" name="do" title="Search" value="Search"/>
- <input class="submit" type="submit" accesskey="c" name="do" title="Clear all values" value="Clear"/>
+<!-- TMPL_IF NAME="expanded_options" -->
+ <a href="/search">[Fewer Options]</a>
+ <!-- TMPL_ELSE -->
+ <a href="/search?expanded_options=1">[More options]</a>
+ <!-- /TMPL_IF -->
+ <a href="/search?do=Clear">[New Search]</a>
</p>
<!-- /SEARCH BUTTONS -->
</div>
More information about the Koha-cvs
mailing list