[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en includes/co... [dev_week]
From: |
Owen Leonard |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en includes/co... [dev_week] |
Date: |
Sat, 07 Oct 2006 20:27:54 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Owen Leonard <oleonard> 06/10/07 20:27:54
Modified files:
koha-tmpl/intranet-tmpl/npl/en/includes: colors.css intranet.css
Added files:
koha-tmpl/intranet-tmpl/npl/en/catalogue: advsearch.tmpl
results.tmpl
Log message:
Adding new advanced search form and results page (and corresponding
style changes and additions), ported from OPAC.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/includes/colors.css?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.4.2.5&r2=1.1.2.4.2.6
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/includes/intranet.css?cvsroot=koha&only_with_tag=dev_week&r1=1.5.2.17.2.7&r2=1.5.2.17.2.8
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/catalogue/advsearch.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/catalogue/results.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
Patches:
Index: includes/colors.css
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/includes/Attic/colors.css,v
retrieving revision 1.1.2.4.2.5
retrieving revision 1.1.2.4.2.6
diff -u -b -r1.1.2.4.2.5 -r1.1.2.4.2.6
--- includes/colors.css 6 Oct 2006 14:46:09 -0000 1.1.2.4.2.5
+++ includes/colors.css 7 Oct 2006 20:27:54 -0000 1.1.2.4.2.6
@@ -104,6 +104,17 @@
color : #000066;
}
+div#advanced-search fieldset {
+ border-right : 1px solid #999999;
+ border-top : 1px solid #999999;
+ border-bottom : 1px solid #999999;
+ border-left : 1px solid #999999;
+}
+
+div#advanced-search legend {
+ color : #003366;
+}
+
div#controls form {
background-color : #F0F0F0;
}
@@ -258,6 +269,10 @@
background-color : #EEEEEE;
}
+#menu dd li a {
+ border-right : 1px dashed #D9D9D9;
+}
+
div.menu dt {
border-bottom : 1px dashed #E7E7CA;
}
@@ -750,6 +765,23 @@
background-color : #7EABD6;
}
+#sidebar fieldset {
+ background-color: #F9F9FF;
+}
+
+#sidebar legend {
+ color : #003366;
+}
+
+#sidebar .submit {
+ background-color: #6BA037;
+ color: #FFFFFF;
+}
+
+#sidebar h3 {
+ color: #000066;
+}
+
#submenu {
background-color : #CBCBCB;
}
Index: includes/intranet.css
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/includes/Attic/intranet.css,v
retrieving revision 1.5.2.17.2.7
retrieving revision 1.5.2.17.2.8
diff -u -b -r1.5.2.17.2.7 -r1.5.2.17.2.8
--- includes/intranet.css 5 Oct 2006 14:27:34 -0000 1.5.2.17.2.7
+++ includes/intranet.css 7 Oct 2006 20:27:54 -0000 1.5.2.17.2.8
@@ -388,11 +388,7 @@
display: inline;
}
-fieldset {
- border: 0;
- padding: 0;
- white-space: nowrap;
-}
+
fieldset label {
float: left;
@@ -525,6 +521,14 @@
padding : 2px;
}
+table.itemtypes {
+ border-collapse: separate;
+ border-spacing: 3px;
+ display: block;
+ padding: 0;
+ margin: 0;
+}
+
table.marc {
border-collapse: collapse;
margin: 3px 0px 5px 0px;
@@ -730,7 +734,11 @@
font-size: 14px;
}
-.searchresults td {
+.searchresults th {
+ font-size : .8em;
+}
+
+.searchresults td, .searchresults th {
padding: 2px 2px 2px 5px;
}
@@ -796,29 +804,33 @@
padding: 3px 45px 3px 10px;
}
+#menu dd form {
+ margin : 4px 0;
+}
+
#menu dd a {
font-size: 1.05em;
font-weight: bold;
text-decoration: none;
}
+#menu dd ul {
+ margin : 3px 0;
+}
+
#menu dd li {
display: inline;
white-space: nowrap;
}
-#menu dd li:before {
- content: "\00BB \0020";
-}
-
-#menu dd ul {
- display: inline;
- list-style: disc;
+#menu dd li a {
+ padding : 2px 7px 2px 0;
+ margin : 10px 5px;
}
#menu dl {
margin: 0px;
- padding: 0px; /*width : 80%;*/
+ padding: 0px;
}
#menu dt {
@@ -891,10 +903,42 @@
width: 100%;
}
+#nav ul ul {
+ margin : 0 2px 0 0;
+}
+
#nav ul ul li+li {
padding: 0px 0px 0px 0px;
}
+#nav ul#facets li {
+ font-weight: bold;
+ text-align: left;
+}
+
+#nav ul#facets ul li {
+ font-weight : normal;
+ margin : 0;
+ text-align: left;
+ padding : 2px;
+}
+
+#nav ul#facets ul li a {
+ font-size : .95em;
+ font-weight : normal;
+}
+
+#nav ul#facets
+
+#nav ul#facets ul li.showmore {
+ text-align: center;
+}
+
+#nav ul#facets ul li.showmore a {
+ font-weight: bold;
+ text-decoration: none;
+}
+
#notes {
float: right;
font-size: 12px;
@@ -1139,3 +1183,79 @@
cursor: crosshair;
font-size: 80%;
}
\ No newline at end of file
+
+div#advanced-search {
+ padding-right : 7%;
+}
+
+div#advanced-search, div#advanced-search input, div#advanced-search select,
div#sidebar, div#sidebar input, div#sidebar select {
+ font-size : .8em;
+}
+
+div#advanced-search p {
+ margin: .4em;
+}
+
+div#advanced-search table, div#advanced-search td, div#advanced-search th {
+ margin : 0;
+ padding : 0;
+ width : auto;
+}
+
+div#advanced-search fieldset {
+ margin-bottom: .3em;
+ width : 100%;
+}
+
+div#advanced-search fieldset p {
+ margin-left : 1em;
+ white-space: nowrap;
+}
+
+table.itemtypes {
+ border-collapse: separate;
+ border-spacing: 3px;
+ display: block;
+ padding: 0;
+ margin: 0;
+}
+
+div#advanced-search legend, div#sidebar legend {
+ font-weight: bold;
+}
+
+div#advanced-search label, div#sidebar label {
+ float : none;
+ font-weight : normal;
+ width : auto;
+ margin : 0;
+}
+
+.count {
+ font-weight: normal;
+}
+
+#main-sidebar {
+ float: left;
+ margin-left: 1%;
+ width: 58%;
+ }
+
+* html #main-sidebar {
+ margin-left: .5%;
+ }
+
+#sidebar
+ {
+ float: left;
+ margin-top : 2.4em;
+ width: 39%;
+}
+
+#breadcrumbs {
+ font-size : .8em;
+}
+
+#breadcrumbs a {
+ font-weight : bold;
+}
\ No newline at end of file
Index: catalogue/advsearch.tmpl
===================================================================
RCS file: catalogue/advsearch.tmpl
diff -N catalogue/advsearch.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ catalogue/advsearch.tmpl 7 Oct 2006 20:27:54 -0000 1.1.2.1
@@ -0,0 +1,185 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Catalog: Advanced
Search<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="masthead.inc" -->
+
+<form action="/search" method="get">
+<div id="main-sidebar"><div id="advanced-search">
+<!-- TMPL_IF NAME="expanded_options" -->
+<h3>Advanced Search</h3>
+<!-- TMPL_ELSE -->
+<h3>Search the Library Catalog</h3>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="if_expanded_options_actually_worked" -->
+<!-- TMPL_IF NAME="outer_servers_loop" -->
+<!-- DATABASES -->
+
+<fieldset>
+ <legend>Select local databases:</legend>
+ <p>
+ <!-- TMPL_LOOP NAME="outer_servers_loop" -->
+ <!-- TMPL_LOOP NAME="inner_servers_loop" -->
+ <input type="checkbox" id="<!-- TMPL_VAR
NAME="id" -->" name="<!-- TMPL_VAR NAME="name" -->" <!-- TMPL_IF NAME="checked"
-->checked="<!-- TMPL_VAR NAME="checked" -->"<!-- /TMPL_IF --> value="<!--
TMPL_VAR NAME="value" -->"/><label for="<!-- TMPL_VAR NAME="id" -->"><img
width="16" height="16" alt="<!-- TMPL_VAR NAME="id" -->" src="<!-- TMPL_VAR
NAME="themelang" -->/images/<!-- TMPL_VAR NAME="icon" -->" /> <!-- TMPL_VAR
NAME="label" --></label>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+ </p>
+</fieldset>
+<!-- /DATABASES -->
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="outer_sup_servers_loop" -->
+<!-- REMOTE DATABASES -->
+<fieldset>
+ <legend>Select remote databases:</legend>
+ <p>
+ <!-- TMPL_LOOP NAME="outer_sup_servers_loop" -->
+ <!-- TMPL_LOOP NAME="inner_sup_servers_loop" -->
+ <input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->"
name="<!-- TMPL_VAR NAME="name" -->" <!-- TMPL_IF NAME="checked"
-->checked="<!-- TMPL_VAR NAME="checked" -->"<!-- /TMPL_IF --> value="<!--
TMPL_VAR NAME="value" -->"/><label for="<!-- TMPL_VAR NAME="id" -->"><img
alt="<!-- TMPL_VAR NAME="id" -->" src="<!-- TMPL_VAR NAME="themelang"
-->/images/<!-- TMPL_VAR NAME="icon" -->"/><!-- TMPL_VAR NAME="label"
--></label>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+ </p>
+ </fieldset>
+<!-- /REMOTE DATABASES -->
+<!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
+
+<!-- BOOLEAN SEARCH OPTIONS -->
+ <fieldset>
+ <!-- TMPL_IF NAME="expanded_options" --><legend>Search
For:</legend><!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="search_boxes_loop" -->
+
+ <!-- TMPL_IF NAME="expanded_options" --><!-- TMPL_IF
NAME="search_boxes_label" --><p style="text-indent: 4.5em;"><!-- TMPL_ELSE
--><p><!-- /TMPL_IF --><!-- TMPL_ELSE --><p><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="expanded_options" --><!-- TMPL_VAR
NAME="left_content" --><!-- /TMPL_IF -->
+ <select name="idx">
+ <!-- TMPL_LOOP NAME="indexes" -->
+ <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>
+ <input size="30" name="q" title="Enter search terms" value=""/>
+ <!-- TMPL_IF NAME="expanded_options" -->
+ <!-- TMPL_IF NAME="scan_index" --><!-- TMPL_VAR
NAME="scan_index" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="add_field" --><a href="" title="Add another
field">[+]</a><!-- /TMPL_IF -->
+ <!-- /TMPL_IF -->
+ </p>
+
+ <!-- /TMPL_LOOP -->
+ </fieldset>
+<!-- /BOOLEAN SEARCH OPTIONS -->
+
+ <!-- TMPL_IF NAME="expanded_options" -->
+<!-- BASIC LIMITS -->
+ <fieldset>
+ <legend>Limits:</legend>
+ <!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add
publication,copyright,acquisition options -->
+ <p><label for="limit-yr">Year:
</label>
+ <input size="15" name="limit-yr" id=""
value=""/> (format: yyyy-yyyy)</p>
+ <!-- /PUB / COPY YEAR LIMIT -->
+ <!-- /YEAR LIMIT -->
+
+ <!-- LANGUAGE LIMIT -->
+ <p><label for="language-limit">Language: </label>
+ <select name="limit">
+ <!-- TMPL_LOOP NAME="search_languages_loop" -->
+ <option value="<!-- TMPL_VAR NAME="value" -->"
<!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected"
-->"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="language_label" --> <!-- TMPL_IF
NAME="locale_label" -->(<!-- TMPL_VAR NAME="locale_label" -->)<!-- /TMPL_IF
--></option>
+ <!-- /TMPL_LOOP -->
+ </select></p><!-- <a href="">Show all
languages</a>-->
+ <!-- /LANGUAGE LIMIT -->
+ </fieldset>
+<!-- /BASIC LIMITS -->
+ <!-- /TMPL_IF -->
+
+<!-- TYPE LIMITS -->
+ <fieldset>
+ <legend>Limit type to: match any of the following <a
href="http://wiki.koha.org/?id=en:opachelp#" class="help"
onclick="window.open('http://wiki.koha.org/?id=en:opachelp#','
Help','width=350,top=50,left=50,resizable,scrollbars,height=650'); return
false;">[ ? ]</a></legend>
+ <table class="itemtypes">
+ <!-- TMPL_LOOP NAME="outer_limit_types_loop" -->
+ <tr>
+ <!-- TMPL_LOOP NAME="inner_limit_types_loop" -->
+ <td<!-- TMPL_IF NAME="colspan" -->
colspan="<!-- TMPL_VAR NAME="colspan" -->"<!-- /TMPL_IF -->><input
type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" name="<!-- TMPL_VAR
NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->"/><label for="<!--
TMPL_VAR NAME="id" -->" title="<!-- TMPL_VAR NAME="title" -->"><a
href="http://wiki.koha.org/?id=en:opachelp#<!-- TMPL_VAR NAME="id" -->"
class="help" onclick="window.open('http://wiki.koha.org/?id=en:opachelp#<!--
TMPL_VAR NAME="id" -->','<!-- TMPL_VAR NAME="label" -->
Help','width=350,top=50,left=50,resizable,scrollbars,height=650'); return
false;"><img border="0" src="<!-- TMPL_VAR NAME="themelang">/images/<!--
TMPL_VAR NAME="icon" -->" alt="<!-- TMPL_VAR NAME="label" -->" /></a><!--
TMPL_VAR NAME="label" --></label></td>
+ <!-- /TMPL_LOOP -->
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+</fieldset>
+<!-- /TYPE LIMITS -->
+
+
+</div>
+</div>
+
+<div id="sidebar">
+
+<!-- TMPL_IF NAME="outer_subtype_limits_loop" -->
+<!-- SUBTYPE LIMITS -->
+ <fieldset>
+ <legend>Subtype limits</legend><p>
+ <!-- TMPL_LOOP NAME="outer_subtype_limits_loop" -->
+ <select name="<!-- TMPL_VAR NAME="name" -->" class="subtype">
+ <!-- TMPL_LOOP NAME="inner_subtype_limits_loop" -->
+ <option value="<!-- TMPL_VAR NAME="value" -->" <!--
TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"
class="menuheader"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="label" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!-- /TMPL_LOOP --><a
href="http://wiki.koha.org/?id=en:opachelp#" class="help"
onclick="window.open('http://wiki.koha.org/?id=en:opachelp#subtypes','Sub-types
Help','width=350,top=50,left=50,resizable,scrollbars,height=650'); return
false;">[ ? ]</a></p>
+
+</fieldset>
+<!-- /SUBTYPE LIMITS -->
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_IF NAME="itemtypeloop" -->
+<fieldset><legend>Collection Code Limits: </legend>
+ <p><select name="limit">
+ <option value="">All Collection Codes</option>
+ <!-- TMPL_LOOP NAME="itemtypeloop" -->
+ <option value="collection-code:<!-- TMPL_VAR
NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="itypeloop" -->
+ <select name="limit">
+ <option value="">All Item Types</option>
+ <!-- TMPL_LOOP NAME="itypeloop" -->
+ <option value="collection-code:<!-- TMPL_VAR
NAME="authorised_value" -->"><!-- TMPL_VAR NAME="lib" --></option>
+ <!-- /TMPL_LOOP -->
+ </select></p></fieldset>
+<!-- /TMPL_IF -->
+
+<!-- AVAILABILITY LIMITS -->
+ <fieldset><legend>Location and availability: </legend>
+ <p><select name="limit" id="branchloop">
+ <!-- TMPL_LOOP NAME="branchloop" -->
+ <option value="<!-- TMPL_VAR NAME='value' -->"><!-- TMPL_VAR
NAME='branchname' --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+
+ <input type="checkbox" id="available-items" name="limit"
value="datedue:0000-00-00"/><label for="available-items">Only items currently
available</label></p>
+ </fieldset>
+<!-- /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>
+ <!-- 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></p>
+<!-- SEARCH BUTTONS -->
+ <p><input class="submit" type="submit" accesskey="s" name="do"
title="Search" value="Search"/>
+<!-- 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>
+</form>
+
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
Index: catalogue/results.tmpl
===================================================================
RCS file: catalogue/results.tmpl
diff -N catalogue/results.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ catalogue/results.tmpl 7 Oct 2006 20:27:54 -0000 1.1.2.1
@@ -0,0 +1,160 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Catalog -- <!-- TMPL_IF
NAME="searchdesc" -->Results of Search for '<!-- TMPL_VAR NAME="searchdesc"
-->'<!-- TMPL_ELSE -->You did not specify any search criteria<!-- /TMPL_IF -->
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="search-topmenu.inc" -->
+<!-- TMPL_INCLUDE NAME="facets.inc" -->
+
+<div id="main">
+<div class="content-block">
+<!-- TMPL_IF NAME="koha_spsuggest" --><div style="font-size: 12px;">Did you
mean: <ul style="list-style: none;"><!-- TMPL_LOOP NAME="SPELL_SUGGEST" -->
<li><a href="/search?q=<!-- TMPL_VAR NAME="spsuggestion" -->"><!-- TMPL_VAR
NAME="spsuggestion" --></a></li><!-- /TMPL_LOOP --></ul></div><!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="total" -->
+<!-- TMPL_ELSE -->
+<!-- TMPL_IF NAME="searchdesc" -->
+No results match your search for <span style="font-weight: bold;">“<!--
TMPL_VAR NAME="searchdesc" -->”</span> in <!-- TMPL_VAR
NAME="LibraryName" --> Catalog.
+<!-- TMPL_ELSE -->
+You did not specify any search criteria.
+<!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="query_error" -->
+<!-- TMPL_VAR NAME="query_error" -->
+<!-- /TMPL_IF -->
+
+<!-- Search Results Table -->
+<!-- TMPL_IF NAME="total" -->
+<!-- TMPL_IF NAME="scan" -->
+<h1>Scan Index:</h1>
+ <form action="/search" method="get">
+<table>
+ <tr><td>
+ Scan Index for: <input type="text" name="qf" id="scan-index" size="35"
value="" />
+ </td>
+ </tr><tr><td>
+ <label for="scan-index">Indexed in:</label>
+ <select name="idx" id="scan-index">
+ <option value="">Any Word</option>
+ <option value="any/phr:">Any Phrase</option>
+ <option value="ti:">Title</option>
+ <option value="ti,phr:">Title Phrase</option>
+ <option value="au,phr:">Author</option>
+ <option value="su:">Subject</option>
+ <option value="su,phr:">Subject Phrase</option>
+ <option value="se:">Series</option>
+ <option value="pb:">Publisher</option>
+ <option value="nt:">Notes</option>
+ <option value="se:">Series Title</option>
+ <option value="sn:">ISBN</option>
+ <option value="ss:">ISSN</option>
+ </select>
+ <input type="hidden" name="scan" value="1" />
+</td></tr>
+</table>
+</form>
+
+<form action="/search" method="get">
+<table>
+ <tr>
+ <th>Term/Phrase</th>
+ <th>Count</th>
+ </tr>
+<!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
+
+ <tr<!-- TMPL_IF name="even" --> class="highlight"<!--
/TMPL_IF -->><td>
+ <a href="/search?q=<!-- TMPL_VAR NAME="scan_use"
escape="url" -->"<!-- TMPL_VAR NAME="title" -->""><!-- TMPL_VAR
NAME="title" --></a>
+ </td>
+ <td>
+ <!-- TMPL_VAR NAME="subtitle" -->
+ </td></tr>
+<!-- /TMPL_LOOP -->
+
+</table>
+</form>
+<!-- TMPL_ELSE -->
+
+<form action="/search" method="get" name="myform" id="mainform">
+
+ <!-- TMPL_IF NAME="searchdesc" -->
+ <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc"
escape="html" -->" />
+ <!-- /TMPL_IF -->
+
+ <!-- TMPL_IF NAME="sort_by_loop" -->
+ <p><select id="sort_by" name="sort_by"
onChange="document.myform.submit();">
+ <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 -->
+ </select>
+ <input type="submit" value="Re-sort" class="submit" />
+ <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>
+ <!-- /TMPL_IF -->
+
+<div class="searchresults"><table>
+ <tr>
+ <th> </th>
+ <th>Title</th>
+ <th>Call No.</th>
+ <th>Location</th>
+ <th> </th>
+ </tr>
+ <!-- Actual Search Results -->
+ <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
+ <!-- TMPL_IF name="even" --><tr class="highlight"><!--
TMPL_ELSE --><tr><!-- /TMPL_IF -->
+ <td><!-- TMPL_IF NAME="AmazonContent" --><a class="p1"
href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber"
ESCAPE="URL" -->"><img src="<!-- TMPL_IF NAME="isbn"
-->http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn"
-->.01.TZZZZZZZ.jpg<!-- TMPL_ELSE
-->http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif<!--
/TMPL_IF -->" alt="image" class="thumbnail" /></a><!-- /TMPL_IF --></td>
+ <td><p><!-- TMPL_IF name="BiblioDefaultViewmarc" --><a
class="title" href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR
NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --> <!--
TMPL_VAR NAME="subtitle" --></a><!-- TMPL_ELSE --><!-- TMPL_IF
name="BiblioDefaultViewisbd" --><a class="title"
href="/cgi-bin/koha/ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber"
ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle"
--></a><!-- TMPL_ELSE --><a class="title"
href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber"
ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle"
--></a><!-- /TMPL_IF --><!-- /TMPL_IF --></p>
+<p> <!-- TMPL_IF NAME="author" --><a href="/search?q=au:<!-- TMPL_VAR
NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a><!--
TMPL_ELSE --> <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="publicationyear" --> - <!--
TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF
name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF
-->
+ <!-- TMPL_IF name="place" --> ;
<!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="pages" --> -
<!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="notes" --> :
<!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="size" --> ;
<!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="timestamp"
--> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF
--></p></td>
+ <td><a href="/search?q=callnum:<!-- TMPL_VAR
NAME="classification" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="classification"
--></a></td>
+ <td style="white-space: nowrap">
+<!-- TMPL_IF NAME="items_loop" -->
+<span class="available"><!-- TMPL_LOOP NAME="items_loop" -->
+ <!-- <!-- TMPL_VAR NAME="branchcode" --> -->
+ <!-- TMPL_VAR NAME="branchname" -->
+ (<!-- TMPL_VAR NAME="count" -->),<br />
+<!-- /TMPL_LOOP --></span>
+<!-- /TMPL_IF -->
+<span class="unavailable">
+<!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount"
-->),<br /> <!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR
NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount"
-->)<br /><!-- /TMPL_IF --></span>
+ </td>
+ <td><!-- TMPL_IF NAME="norequests" -->Not
Reserveable<!-- TMPL_ELSE --><a class="reserve"
href="/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber"
-->">Reserves</a><!-- /TMPL_IF --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table></div>
+</form>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="PAGE_NUMBERS" --><div class="pages">
+ <!-- Row of numbers corresponding to search result pages -->
+ <!-- TMPL_IF NAME="previous_page_offset" --><a class="nav"
href="/search?q=<!-- TMPL_VAR NAME="searchdesc" -->&offset=<!-- TMPL_VAR
NAME="previous_page_offset" -->"><< Previous</a><!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="PAGE_NUMBERS" --><!-- TMPL_IF NAME="highlight"
--><span class="current"><!-- TMPL_VAR NAME="pg" --></span><!-- TMPL_ELSE -->
+ <a class="nav" href="/search?q=<!-- TMPL_VAR NAME="searchdesc"
-->&offset=<!-- TMPL_VAR NAME="offset" --><!-- TMPL_IF NAME="sort_by"
-->&sort_by=<!-- TMPL_VAR NAME="sort_by" --><!-- /TMPL_IF -->"><!--
TMPL_VAR NAME="pg" --></a><!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF NAME="next_page_offset" --><a class="nav"
href="/search?q=<!-- TMPL_VAR NAME="searchdesc" -->&offset=<!-- TMPL_VAR
NAME="next_page_offset" -->">Next >></a><!-- /TMPL_IF -->
+</div><!-- /TMPL_IF -->
+
+ <!-- TMPL_IF NAME="outer_sup_results_loop" -->
+ <h3><!-- TMPL_LOOP NAME="outer_sup_results_loop" --></h3>
+ <!-- TMPL_IF NAME="inner_sup_results_loop" -->
+ <!-- TMPL_VAR NAME="servername" -->
+ <!-- TMPL_LOOP NAME="inner_sup_results_loop" -->
+ <div><a href="<!-- TMPL_VAR NAME="link"
-->"><!-- TMPL_VAR NAME="title" --></a></div>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_IF -->
+
+<!-- TMPL_ELSE -->
+
+
+<!-- /TMPL_IF -->
+
+</div>
+</div>
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en includes/co... [dev_week],
Owen Leonard <=