koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-advsearch...


From: Henri-Damien LAURENT
Subject: [Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-advsearch...
Date: Fri, 20 Jul 2007 07:41:53 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Changes by:     Henri-Damien LAURENT <hdl>      07/07/20 07:41:53

Modified files:
        koha-tmpl/opac-tmpl/prog/en: opac-advsearch.tmpl 

Log message:
        Putting order list into Template rather than setting this in a script. 
For translattions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-advsearch.tmpl?cvsroot=koha&r1=1.7&r2=1.8

Patches:
Index: opac-advsearch.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-advsearch.tmpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- opac-advsearch.tmpl 6 Jul 2007 15:21:29 -0000       1.7
+++ opac-advsearch.tmpl 20 Jul 2007 07:41:53 -0000      1.8
@@ -436,9 +436,71 @@
     <fieldset><legend>Sort by: </legend>
         <p><select id="sort_by" name="sort_by">
             <option value="">Field-weighted, Relevance Ranked</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 -->
+        <!--TMPL_IF Name="9523a"-->
+          <option value="1=9523 &gt;i" selected>Popularity (Most to 
Least)</option>
+        <!--TMPL_ELSE -->
+          <option value="1=9523 &gt;i">Popularity (Most to Least)</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="9523d"-->
+          <option value="1=9523 &lt;i" selected>Popularity (Least to 
Most)</option>
+        <!--TMPL_ELSE -->
+          <option value="1=9523 &lt;i">Popularity (Least to Most)</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="1003d"-->
+          <option value="1=1003 &lt;i" selected>Author (A-Z)</option>
+        <!--TMPL_ELSE -->
+          <option value="1=1003 &lt;i">Author (A-Z)</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="1003a"-->
+         <option value="1=1003 &gt;i" selected>Author (Z-A)</option>
+        <!--TMPL_ELSE -->
+         <option value="1=1003 &gt;i">Author (Z-A)</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="20d"-->
+          <option value="1=20 &lt;i" selected>Call Number (Non-fiction 0-9 to 
Fiction A-Z)</option>
+        <!--TMPL_ELSE -->
+          <option value="1=20 &lt;i">Call Number (Non-fiction 0-9 to Fiction 
A-Z)</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="20a"-->
+          <option value="1=20 &gt;i" selected>Call Number (Fiction Z-A to 
Non-fiction 9-0)</option>
+        <!--TMPL_ELSE -->
+          <option value="1=20 &gt;i">Call Number (Fiction Z-A to Non-fiction 
9-0)</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="31a"-->
+          <option value="1=31 &gt;i" selected>Dates</option>
+        <!--TMPL_ELSE -->
+          <option value="1=31 &gt;i">Dates</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="31a"-->
+          <option value="1=31 &gt;i" 
selected>&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Newest to Oldest</option>
+        <!--TMPL_ELSE -->
+          <option value="1=31 &gt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright 
Date: Newest to Oldest</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="31d"-->
+          <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright 
Date: Oldest to Newest</option>
+        <!--TMPL_ELSE -->
+          <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright 
Date: Oldest to Newest</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="32a"-->
+          <option value="1=32 &gt;i" selected>&nbsp;&nbsp;&nbsp;Acquisition 
Date: Newest to Oldest</option>
+        <!--TMPL_ELSE -->
+          <option value="1=32 &gt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: 
Newest to Oldest</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="32d"-->
+          <option value="1=32 &lt;i" selected>&nbsp;&nbsp;&nbsp;Acquisition 
Date: Oldest to Newest</option>
+        <!--TMPL_ELSE -->
+          <option value="1=32 &lt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: 
Oldest to Newest</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="4d"-->
+          <option value="1=4 &lt;i" selected>Title (A-Z)</option>
+        <!--TMPL_ELSE -->
+          <option value="1=4 &lt;i">Title (A-Z)</option>
+        <!--/TMPL_IF-->
+        <!--TMPL_IF Name="4a"-->
+          <option value="1=4 &gt;i" selected>Title (Z-A)</option>
+        <!--TMPL_ELSE -->
+          <option value="1=4 &gt;i">Title (Z-A)</option>
+        <!--/TMPL_IF-->
         </select>
         </p>
     </fieldset>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]