[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/search.marc dictionary.tmpl,NONE,1.1

Henri-Damien LAURENT hdl at users.sourceforge.net
Mon May 2 08:25:03 CEST 2005


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/search.marc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27959/koha-tmpl/intranet-tmpl/default/en/search.marc

Added Files:
	dictionary.tmpl 
Log Message:
Template for "Dictionary" search
First pre-release.
Integrating rejected forms

--- NEW FILE ---
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>KOHA: Dictionary</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="JavaScript" type="text/javascript">
<!-- Hide from old browsers
function openWindow(targeturl, windowname) {
	newwin =
window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
}
function Help() {
	newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
}
// end hiding -->
</script>

<link rel="stylesheet" type="text/css" href="/intranet-tmpl/default/en/includes/common-style.css">
<style type="text/css">
.authority {
	background-color: #6b7cbe;
	color:#FFFFFF;
	text-decoration: normal;
	font-weight: bold;
	background-image:none;
	}
a.authority:hover {
	background-color: #6b7cbe;
	color: #FFFFFF;
	text-decoration: normal;
	font-weight: bold;
	}
.catalogue {
	background-color:#ad11ad;
	color:#FFFFFF;
	background-image:none;
	text-decoration: normal;
	}
a.catalogue:hover {
	background-color: #ad11ad;
	color: #FFFFFF;
	text-decoration: none;
	}
</style>
</head>

<body>
<div id="mainbloc">
	<h1 class="catalogue">Dictionary Search</h1>
	
	<form name="f" method="post" action="/cgi-bin/koha/search.marc/dictionary.pl">
		<div class="bloc25">
			<h2 class="catalogue">Search on</h2>
			<p>
				<input type="hidden" name="op" value="do_search">
				<label class="label100" for="keyword"></label>
				<input type="hidden" name="marclist" value="<!-- TMPL_VAR Name="marclist" -->">
				<input type="text" name="search" value="<!-- TMPL_VAR Name="search" -->" size="35">
				<input type="submit" value="Start search" class="button catalogue">
				<input type="hidden" name="type" value="<!-- TMPL_VAR Name="type" -->">
			</p>
		</div>
	</form>

<!-- TMPL_IF Name=result -->	
	<div class="bloc100">
		<h2 class="catalogue">Dictionary Search results</h2>
		<div id="resultlist">
			<table>
				<tr>
					<th colspan="2">Authorities</th>
				</tr>
				<tr>
					<th class="authority">Summary</th>
					<th class="authority">Used</th>
				</tr>
				<!-- TMPL_LOOP NAME="authresult" -->
					<tr>
						<td><!-- TMPL_VAR NAME="summary" --></td>
						<td><!-- TMPL_VAR NAME="used" --> times</td>
					</tr>
				<!-- /TMPL_LOOP -->
			</table>
		</div>
		<div id="resultnumber">
			<p><!-- TMPL_IF NAME="displayprev" --> 
					<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">&lt;&lt;Previous</a>
				<!-- /TMPL_IF -->
				<!-- TMPL_LOOP NAME="numbers" -->
					<!-- TMPL_IF NAME="highlight" -->
						<span class="highlight"><!-- TMPL_VAR NAME="number" --></span>
					<!-- TMPL_ELSE --> 
						<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><!-- TMPL_VAR NAME="number" --></a>
					<!-- /TMPL_IF -->
				<!-- /TMPL_LOOP --> 
				<!-- TMPL_IF NAME="displaynext" -->
					<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">Next&gt;&gt;</a>
				<!-- /TMPL_IF -->
			</p>
			<p class="resultcount">
			<!-- TMPL_IF NAME="total" -->
					Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --><!-- TMPL_ELSE -->No results found.
			<!-- /TMPL_IF -->
			</p>
		</div>
		<div id="resultlist">
			<table>
				<tr>
					<th class="catalogue">Summary</th>
					<th class="catalogue">Item Count</th>
					<th class="catalogue">Location</th>
					<th class="catalogue">&nbsp;</th>
				</tr>
				<!-- TMPL_LOOP NAME="result" -->
				<tr>
					<td<!-- TMPL_IF NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
								<!-- TMPL_IF name="MARC_ON" -->
									<a class="transparent resultlist" href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a>
								<!-- TMPL_ELSE -->
									<a class="transparent resultlist" href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a>				<!-- /TMPL_IF -->
							<p><!-- TMPL_VAR NAME="author" -->
							<!-- 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 -->
						</p>
					</td>
					<td align="center" <!-- TMPL_IF NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
						<!-- TMPL_VAR NAME="totitem" -->
					</td>
					<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>
						<!-- TMPL_LOOP NAME="CN" -->
							<p>
								<!-- TMPL_VAR NAME="holdingbranch" -->
								<!-- TMPL_IF name="date_due" -->
									On Loan until <!-- TMPL_VAR NAME="date_due" -->
								<!-- TMPL_ELSE -->
									<!-- TMPL_IF NAME="itemcallnumber" -->
										(<!-- TMPL_VAR NAME="itemcallnumber" -->)
									<!-- /TMPL_IF -->
								<!-- /TMPL_IF -->
								<!-- TMPL_IF name="notforloan" -->
									<i>(<!-- TMPL_VAR name="notforloan" -->)</i>
								<!-- /TMPL_IF -->
							</p>
						<!-- /TMPL_LOOP -->
						<!-- TMPL_IF name="onorder" --><p>On order</p><!-- /TMPL_IF -->
					</td>
					<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>
						<!-- TMPL_UNLESS name="norequests" -->
							<a class="button catalogue" href="/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">Request</a>
						<!-- TMPL_ELSE -->
							<p>Not Reservable</p>
						<!-- /TMPL_UNLESS -->
					</td>
				</tr>
				<!-- /TMPL_LOOP -->
			</table>
		</div>
		<div id="resultnumber">
			<p><!-- TMPL_IF NAME="displayprev" --> 
					<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">&lt;&lt;Previous</a>
				<!-- /TMPL_IF -->
				<!-- TMPL_LOOP NAME="numbers" -->
					<!-- TMPL_IF NAME="highlight" -->
						<span class="highlight"><!-- TMPL_VAR NAME="number" --></span>
					<!-- TMPL_ELSE --> 
						<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><!-- TMPL_VAR NAME="number" --></a>
					<!-- /TMPL_IF -->
				<!-- /TMPL_LOOP --> 
				<!-- TMPL_IF NAME="displaynext" -->
					<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">Next&gt;&gt;</a>
				<!-- /TMPL_IF -->
			</p>
			<p class="resultcount">
			<!-- TMPL_IF NAME="total" -->
					Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --><!-- TMPL_ELSE -->No results found.
			<!-- /TMPL_IF -->
			</p>
		</div>
		
	</div>
<!-- /TMPL_IF -->	

</div>
</body>
</html>




More information about the Koha-cvs mailing list