Koha/koha-tmpl/intranet-tmpl/default/zh-TW/thesaurus_popup.tmpl

45 lines
2 KiB
Cheetah

<html>
<head>
<title>類別 <!-- TMPL_VAR name="category" --> 的同義字典建立程序</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></br>
<br/><input type="button" value="好!" 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="nohierarchy" value="<!-- TMPL_VAR name="nohierarchy" -->">
<input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
<input type="hidden" name="op" value="search">
<input type="submit" value="查詢">
</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="nohierarchy" value="<!-- TMPL_VAR name="nohierarchy" -->">
<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="好!">
</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="category" value="<!-- TMPL_VAR name="category" -->">
<input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR name="nohierarchy" -->">
<input type="hidden" name="op" value="add">
插入一個新權威: <input type="text" name="insert">
<input type="submit" name="NEW" value="新增">
</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>