"Fossies" - the Fresh Open Source Software Archive

Member "koha-19.11.15/koha-tmpl/opac-tmpl/bootstrap/en/includes/resort_form.inc" (23 Feb 2021, 3160 Bytes) of package /linux/misc/koha-19.11.15.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) fasm source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "resort_form.inc" see the Fossies "Dox" file reference documentation.

    1 <option value="relevance">Relevance</option>
    2 <optgroup label="Popularity">
    3     [% IF ( sort_by == "popularity_dsc" ) %]
    4         <option value="popularity_dsc" selected="selected">Popularity (most to least)</option>
    5     [% ELSE %]
    6         <option value="popularity_dsc">Popularity (most to least)</option>
    7     [% END %]
    8     [% IF ( sort_by == "popularity_asc" ) %]
    9         <option value="popularity_asc" selected="selected">Popularity (least to most)</option>
   10     [% ELSE %]
   11         <option value="popularity_asc">Popularity (least to most)</option>
   12     [% END %]
   13 </optgroup>
   14 <optgroup label="Author">
   15     [% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %]
   16         <option value="author_az" selected="selected">Author (A-Z)</option>
   17     [% ELSE %]
   18         <option value="author_az">Author (A-Z)</option>
   19     [% END %]
   20     [% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %]
   21         <option value="author_za" selected="selected">Author (Z-A)</option>
   22     [% ELSE %]
   23         <option value="author_za">Author (Z-A)</option>
   24     [% END %]
   25 </optgroup>
   26 <optgroup label="Call number">
   27     [% IF ( sort_by == "call_number_asc" ) %]
   28         <option value="call_number_asc" selected="selected">Call number (0-9 to A-Z)</option>
   29     [% ELSE %]
   30         <option value="call_number_asc">Call number (0-9 to A-Z)</option>
   31     [% END %]
   32     [% IF ( sort_by == "call_number_dsc" ) %]
   33         <option value="call_number_dsc" selected="selected">Call number (Z-A to 9-0)</option>
   34     [% ELSE %]
   35         <option value="call_number_dsc">Call number (Z-A to 9-0)</option>
   36     [% END %]
   37 </optgroup>
   38 <optgroup label="Dates">
   39     [% IF ( sort_by == "pubdate_dsc" ) %]
   40         <option value="pubdate_dsc" selected="selected">Publication/Copyright date: Newest to oldest</option>
   41     [% ELSE %]
   42         <option value="pubdate_dsc">Publication/Copyright date: Newest to oldest</option>
   43     [% END %]
   44     [% IF ( sort_by == "pubdate_asc" ) %]
   45         <option value="pubdate_asc" selected="selected">Publication/Copyright date: Oldest to newest</option>
   46     [% ELSE %]
   47         <option value="pubdate_asc">Publication/Copyright date: Oldest to newest</option>
   48     [% END %]
   49     [% IF ( sort_by == "acqdate_dsc" ) %]
   50         <option value="acqdate_dsc" selected="selected">Acquisition date: Newest to oldest</option>
   51     [% ELSE %]
   52         <option value="acqdate_dsc">Acquisition date: Newest to oldest</option>
   53     [% END %]
   54     [% IF ( sort_by == "acqdate_asc" ) %]
   55         <option value="acqdate_asc" selected="selected">Acquisition date: Oldest to newest</option>
   56     [% ELSE %]
   57         <option value="acqdate_asc">Acquisition date: Oldest to newest</option>
   58     [% END %]
   59 </optgroup>
   60 <optgroup label="Title">
   61     [% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %]
   62         <option value="title_az" selected="selected">Title (A-Z)</option>
   63     [% ELSE %]
   64         <option value="title_az">Title (A-Z)</option>
   65     [% END %]
   66     [% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %]
   67         <option value="title_za" selected="selected">Title (Z-A)</option>
   68     [% ELSE %]
   69         <option value="title_za">Title (Z-A)</option>
   70     [% END %]
   71 </optgroup>