21b0237096312b09ed24c60e1b3ad15c391ce09d
[egate.git] / www / tform.egw
1 <html>
2 <head>
3 <title> WWW/Z39.50 Gateway Target Definition</title>
4 </head>
5 <body>
6 {
7 # $Id: tform.egw,v 1.2 1996/01/24 16:59:29 adam Exp $
8
9     if {[info commands saveState] == ""} {
10         source z39util.tcl
11     }
12     html "<h2>Target definition form</h2><br>\n"
13     html {<form action="http:} $env(SCRIPT_NAME)
14     html / $sessionId {/tdefine.egw} {" method=post>} \n
15
16     html "<dl>"
17     html "\n<dt>Target name\n"
18     html {<dd><input type="text" size=20 maxlength=20 name="name">}
19     html "\n<br><font size=2>This name serves as a short nickname of "
20     html "the target</font>"
21
22     html "\n<dt>Description\n"
23     html {<dd><textarea rows=3 cols=55 name="description"></textarea>}
24     html "\n<br><font size=2>A description of the server and what data "
25     html "it provides.</font>"
26
27     html "\n<dt>Host and port\n"
28     html {<dd><input type="text" size=55 name="host">}
29     html "\n<br><font size=2>For example myhost.com:210</font>"
30
31     html "\n<dt>Authentication\n"
32     html {<dd><input type="text" size=55 name="authentication">}
33     html "\n<br><font size=2>Some targets require authentication strings, "
34     html "i.e. passwords. Leave this field empty if no authentication "
35     html "string is required.</font>"
36
37     html "\n<dt>Databases\n"
38     html {<dd><textarea rows=3 cols=55 name="databases"></textarea>}
39     html "\n<br><font size=2>Separate each database by blanks</font>"
40
41     html "\n<dt>Search fields\n"
42     html {<dd><textarea rows=8 cols=55 name="fields">} 
43     html "Title    1=4\n"
44     html "Author   1=1003\n"
45     html "Abstract 1=62\n"
46     html "Date     1=30\n"
47     html "Doc Id   1=1032\n"
48     html "All      1=1016\n"
49     html "Ranked   1=1016 4=105\n"
50     html {</textarea>}
51     html "\n<br><font size=2>"
52     html {Specify search fields, such as Title/Author,ISBN, etc. and }
53     html {their mappings to the Bib-1 attribute for this target.}
54     html { Note: If you don't know how to set these - leave them untouched!}
55     html "</font>"
56     html "\n</dl><br>\n"
57     html {<input type=submit name=submit value="Submit">}
58     html {<input type=reset value="Reset">}
59     html "\n<br>\n"
60 }
61
62 {
63     button-europagate
64     button-new-target 0
65 }
66 </body></html>