Owen Leonard
ddfe9f2c26
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
102 lines
3.9 KiB
Cheetah
102 lines
3.9 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Authorities</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<script language="JavaScript" type="text/javascript">
|
|
function Help() {
|
|
newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
|
|
}
|
|
|
|
function addauthority() {
|
|
X = document.forms[0].authtype.value;
|
|
window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
|
|
}
|
|
function searchauthority() {
|
|
X = document.forms[0].authtype2.value;
|
|
Y = document.forms[0].value.value;
|
|
window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="authorities-search.inc" -->
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Authorities</div>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-g">
|
|
|
|
<!-- TMPL_INCLUDE NAME="authorities-toolbar.inc" -->
|
|
|
|
<fieldset id="authorities_authorities_home_search">
|
|
<legend>Authority search</legend>
|
|
|
|
<form name="f" action="/cgi-bin/koha/authorities/authorities-home.pl" method="post">
|
|
<input type="hidden" name="op" value="do_search" />
|
|
<input type="hidden" name="type" value="intranet" />
|
|
<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" />
|
|
|
|
<p><label for="authtypecode">Search on</label>
|
|
<select id="authtypecode" name="authtypecode">
|
|
<!-- TMPL_LOOP NAME="authtypesloop" -->
|
|
<!-- TMPL_IF name="selected" -->
|
|
<option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="authtypetext" --></option>
|
|
<!-- TMPL_ELSE -->
|
|
<option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="authtypetext" --></option>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
</select>
|
|
<label for="value_mainmainentry">Main entry ($a only)</label>
|
|
<input type="hidden" name="marclist" value="mainmainentry" />
|
|
<select name="operator">
|
|
<option value="contains">contains</option>
|
|
<option value="start">start by</option>
|
|
<option value="is">is exactly</option>
|
|
</select>
|
|
<input id="value_mainmainentry" type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->" />
|
|
</p>
|
|
<p>
|
|
<label for="value_mainentry">Main entry</label>
|
|
<input type="hidden" name="marclist" value="mainentry" />
|
|
<input type="hidden" name="and_or" value="and" />
|
|
<input type="hidden" name="excluding" value="" />
|
|
<select name="operator">
|
|
<option value="contains">contains</option>
|
|
<option value="start">start by</option>
|
|
<option value="is">is exactly</option>
|
|
</select>
|
|
<input id="value_mainentry" type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->" />
|
|
</p>
|
|
<p><label for="value_anywhere">Anywhere</label>
|
|
<input type="hidden" name="marclist" value="" />
|
|
<input type="hidden" name="and_or" value="and" />
|
|
<input type="hidden" name="excluding" value="" />
|
|
<select name="operator">
|
|
<option value="contains">contains</option>
|
|
<option value="start">start by</option>
|
|
<option value="is">is exactly</option>
|
|
</select>
|
|
<input id="value_anywhere" type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->" />
|
|
</p>
|
|
|
|
<div id="action">
|
|
<p><label>Order by :</label><select name="orderby">
|
|
<option value="">None</option>
|
|
<option value="HeadingAsc">Heading Ascendant</option>
|
|
<option value="HeadingDsc">Heading Descendant</option>
|
|
</select>
|
|
<input type="submit" value="Start search">
|
|
</p>
|
|
</div>
|
|
</form>
|
|
</fieldset>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|