Koha/koha-tmpl/intranet-tmpl/npl/en/value_builder/unimarc_field_60X.tmpl
2004-02-19 19:19:55 +00:00

109 lines
5.1 KiB
Cheetah

<html>
<head>
<title>Thesaurus search</title>
</head>
<body>
<script>
function report(value2report) {
if (document.f_pop.result.value.length==0) {
document.f_pop.result.value = value2report;
} else {
document.f_pop.result.value = document.f_pop.result.value+'|'+value2report;
}
return true;
}
</script>
<script>
function finish() {
opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.result.value;
self.close();
return false;
}
</script>
<form name="f_pop" action="plugin_launcher.pl" method="post">
<input type="hidden" name="plugin_name" value="unimarc_field_60X.pl">
<textarea name="result" rows=10 cols=50><!-- TMPL_VAR name="result" --></textarea>
<br/><input type="button" value="OK" onClick="javascript:finish()">
<p><h2>Recherche</h2>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=A">A</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=B">B</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=C">C</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=D">D</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=E">E</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=F">F</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=G">G</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=H">H</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=I">I</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=J">J</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=K">K</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=L">L</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=M">M</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=N">N</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=O">O</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=P">P</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=Q">Q</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=R">R</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=S">S</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=T">T</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=U">U</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=V">V</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=W">W</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=X">X</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=Y">Y</a>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=Z">Z</a>
<br/>
<input type="text" name="search_string" value="<!-- TMPL_VAR name="search_string" -->">
<input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
<input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
<input type="hidden" name="op" value="search">
<input type="submit" value="Chercher">
</p>
</form>
<table>
<tr>
<td valign="top">
<h2>Results</h2>
<table>
<!-- TMPL_LOOP name="results" -->
<tr>
<td>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&index=<!-- TMPL_VAR name="index" -->&level=<!-- TMPL_VAR name="level" -->&search_string=<!-- TMPL_VAR name=value ESCAPE=URL -->">
<!-- TMPL_VAR name="value" -->
</a>
</td>
<td>
<input type="button" value="Reporter" OnClick="javascript:report('<!-- TMPL_VAR name="value" -->')"><br/>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</td>
<td>
<!-- TMPL_IF name=deeper -->
<td valign="top">
<h2>Dependancies</h2>
<!-- /TMPL_IF -->
<table>
<!-- TMPL_LOOP name="deeper" -->
<tr><td>
<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&index=<!-- TMPL_VAR name="index" -->&level=<!-- TMPL_VAR name="level" -->&search_string=<!-- TMPL_VAR ESCAPE="URL" name="father" -->+<!-- TMPL_VAR ESCAPE="URL" name="stdlib" -->">
<!-- TMPL_VAR name="father" --> <!-- TMPL_VAR name="stdlib" -->
</a></td>
<td>
<input type="button" value="Reporter" OnClick="javascript:report('<!-- TMPL_VAR ESCAPE=HTML name="father" --> <!-- TMPL_VAR ESCAPE=HTML name="stdlib" -->')"><br/>
</td></tr>
<!-- /TMPL_LOOP -->
</table>
</td>
</tr>
</table>
<h2>Adding</h2>
<form name="f3_pop" action="thesaurus_popup.pl" method="post">
<input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
<input type="hidden" name="op" value="add">
<input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
Create a new authority/thesaurus entry : <input type="text" name="insert" value="<!-- TMPL_VAR name="search_string" -->">
<input type="submit" name="NEW" value="Ajouter">
</form>
</body>
</html>