improvements from Dombes Abbey work

This commit is contained in:
tipaul 2002-12-10 13:52:44 +00:00
parent 421de1df64
commit d0ade962d3

View file

@ -1,6 +1,6 @@
<html>
<head>
<title>thesaurus value builder</title>
<title>Thesaurus value builder for category <TMPL_VAR name="category"></title>
</head>
<body>
<form name="f_pop" action="thesaurus_popup.pl" method="post">
@ -9,7 +9,8 @@
<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="Search"></p>
<input type="submit" value="Search">
<input type="button" value="END" onClick="javascript:report()">
</form>
<TMPL_IF name="search_string">
<form name="f2_pop" action="thesaurus_popup.pl" method="post">
@ -21,10 +22,13 @@
<input type="submit" name="OK" value="OK">
</form>
</TMPL_IF>
<form name="f3_pop" onSubmit="javascript:report()">
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
<input type="submit" value="END">
</form>
<form name="f3_pop" action="thesaurus_popup.pl" method="post">
<input type="hidden" name="index" value="<TMPL_VAR name="index">">
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
<input type="hidden" name="op" value="add">
insert a new authority : <input type="text" name="insert">
<input type="submit" name="NEW" value="NEW">
</form>
<script>
function report() {
opener.document.f.field_value[<TMPL_VAR name="index">].value= document.f_pop.result.value;