adding possibility to create a thesaurus entry directly
This commit is contained in:
parent
45ae9b219e
commit
e08349dcdc
|
|
@ -1,16 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<html>
|
||||
<head>
|
||||
<title>Thesaurus value builder for category <TMPL_VAR name="category"></title>
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
<body>
|
||||
<form name="f_pop" action="thesaurus_popup.pl" method="post">
|
||||
<textarea name="result" rows=10 cols=60><TMPL_VAR name="result"></textarea></br>
|
||||
<p><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="Search">
|
||||
<input type="button" value="END" onClick="javascript:report()">
|
||||
<textarea name="result" rows=10 cols=60><TMPL_VAR name="result"></textarea></br>
|
||||
<br/><input type="button" value="OK" onClick="javascript:report()">
|
||||
<p>
|
||||
<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="Search">
|
||||
</p>
|
||||
</form>
|
||||
<TMPL_IF name="search_string">
|
||||
<form name="f2_pop" action="thesaurus_popup.pl" method="post">
|
||||
|
|
@ -22,19 +24,19 @@
|
|||
<input type="submit" name="OK" value="OK">
|
||||
</form>
|
||||
</TMPL_IF>
|
||||
<form name="f3_pop" action="thesaurus_popup.pl" method="post">
|
||||
<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>
|
||||
<script>
|
||||
function report() {
|
||||
opener.document.f.field_value[<TMPL_VAR name="index">].value= document.f_pop.result.value;
|
||||
self.close();
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,39 +1,42 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Saisie des entrées du thésaurus</title>
|
||||
</head>
|
||||
<body>
|
||||
<form name="f_pop" action="thesaurus_popup.pl" method="post">
|
||||
<textarea name="result" rows=10 cols=60><TMPL_VAR name="result"></textarea>
|
||||
<p><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="Rechercher">
|
||||
</p>
|
||||
</form>
|
||||
<TMPL_IF name="search_string">
|
||||
<form name="f2_pop" action="thesaurus_popup.pl" method="post">
|
||||
<TMPL_VAR name="select_list">
|
||||
<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="select">
|
||||
<input type="hidden" name="result" value="<TMPL_VAR name="result">">
|
||||
|
||||
<input type="submit" name="OK" value="Envoyer">
|
||||
</form>
|
||||
</TMPL_IF>
|
||||
<form name="f3_pop" onSubmit="javascript:report()">
|
||||
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
|
||||
|
||||
<input type="submit" value="Quitter">
|
||||
</form>
|
||||
<script>
|
||||
function report() {
|
||||
opener.document.f.field_value[<TMPL_VAR name="index">].value= document.f_pop.result.value;
|
||||
self.close();
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Saisie des entrées du thésaurus</title>
|
||||
</head>
|
||||
<body>
|
||||
<form name="f_pop" action="thesaurus_popup.pl" method="post">
|
||||
<textarea name="result" rows=10 cols=50><TMPL_VAR name="result"></textarea>
|
||||
<br/><input type="button" value="OK" onClick="javascript:report()">
|
||||
<p>
|
||||
<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="Rechercher">
|
||||
</p>
|
||||
</form>
|
||||
<TMPL_IF name="search_string">
|
||||
<form name="f2_pop" action="thesaurus_popup.pl" method="post">
|
||||
<TMPL_VAR name="select_list">
|
||||
<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="select">
|
||||
<input type="hidden" name="result" value="<TMPL_VAR name="result">">
|
||||
<input type="submit" name="OK" value="Sélectionner">
|
||||
</form>
|
||||
</TMPL_IF>
|
||||
<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">">
|
||||
Insérer une nouvelle autorité : <input type="text" name="insert" value="<TMPL_VAR name="search_string">">
|
||||
<input type="submit" name="NEW" value="Ajouter">
|
||||
</form>
|
||||
<script>
|
||||
function report() {
|
||||
opener.document.f.field_value[<TMPL_VAR name="index">].value= document.f_pop.result.value;
|
||||
self.close();
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Reference in New Issue