Putting order list into Template rather than setting this in a script. For translattions.
This commit is contained in:
parent
49a9e030bf
commit
b54e5f934e
1 changed files with 65 additions and 3 deletions
|
@ -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 >i" selected>Popularity (Most to Least)</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=9523 >i">Popularity (Most to Least)</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="9523d"-->
|
||||
<option value="1=9523 <i" selected>Popularity (Least to Most)</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=9523 <i">Popularity (Least to Most)</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="1003d"-->
|
||||
<option value="1=1003 <i" selected>Author (A-Z)</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=1003 <i">Author (A-Z)</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="1003a"-->
|
||||
<option value="1=1003 >i" selected>Author (Z-A)</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=1003 >i">Author (Z-A)</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="20d"-->
|
||||
<option value="1=20 <i" selected>Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=20 <i">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="20a"-->
|
||||
<option value="1=20 >i" selected>Call Number (Fiction Z-A to Non-fiction 9-0)</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=20 >i">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="31a"-->
|
||||
<option value="1=31 >i" selected>Dates</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=31 >i">Dates</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="31a"-->
|
||||
<option value="1=31 >i" selected> Publication/Copyright Date: Newest to Oldest</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=31 >i"> Publication/Copyright Date: Newest to Oldest</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="31d"-->
|
||||
<option value="1=31 <i"> Publication/Copyright Date: Oldest to Newest</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=31 <i"> Publication/Copyright Date: Oldest to Newest</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="32a"-->
|
||||
<option value="1=32 >i" selected> Acquisition Date: Newest to Oldest</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=32 >i"> Acquisition Date: Newest to Oldest</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="32d"-->
|
||||
<option value="1=32 <i" selected> Acquisition Date: Oldest to Newest</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=32 <i"> Acquisition Date: Oldest to Newest</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="4d"-->
|
||||
<option value="1=4 <i" selected>Title (A-Z)</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=4 <i">Title (A-Z)</option>
|
||||
<!--/TMPL_IF-->
|
||||
<!--TMPL_IF Name="4a"-->
|
||||
<option value="1=4 >i" selected>Title (Z-A)</option>
|
||||
<!--TMPL_ELSE -->
|
||||
<option value="1=4 >i">Title (Z-A)</option>
|
||||
<!--/TMPL_IF-->
|
||||
</select>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
|
Loading…
Reference in a new issue