Work on target definitions.
[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.1 1996/01/24 14:14:20 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
20     html "\n<dt>Description\n"
21     html {<dd><textarea rows=3 cols=50 name="description"></textarea>}
22
23     html "\n<dt>Host and port\n"
24     html {<dd><input type="text" size=50 name="host">}
25     html "\n<br><font size=2>For example myhost.com:210</font>"
26
27     html "\n<dt>Authentication\n"
28     html {<dd><input type="text" size=50 name="authentication">}
29     html "\n<br><font size=2>Some targets require authentacation strings, "
30     html "i.e. passwords. Leave this field empty if no authentication "
31     html "string is required.</font>"
32
33     html "\n<dt>Databases\n"
34     html {<dd><textarea rows=3 cols=50 name="databases"></textarea>}
35     html "\n<br><font size=2>Separate each database by blanks</font>"
36
37     html "\n<dt>Search fields\n"
38     html {<dd><textarea rows=8 cols=50 name="fields">} 
39     html "Title    1=4\n"
40     html "Author   1=1003\n"
41     html "Abstract 1=62\n"
42     html "Date     1=30\n"
43     html "Doc Id   1=1032\n"
44     html "All      1=1016\n"
45     html "Ranked   1=1016 4=105\n"
46     html {</textarea>}
47     html "\n<br><font size=2>"
48     html {Specify search fields, such as Title/Author,ISBN, etc. and }
49     html {their mappings to the Bib-1 attribute for this target.}
50     html { Note: If you don't know how to set these - leave them untouched!}
51     html "</font>"
52     html "\n</dl><br>\n"
53     html {<input type=submit name=submit value="Submit">}
54     html {<input type=reset value="Reset">}
55     html "\n<br>\n"
56 }
57
58 {
59     button-europagate
60     button-new-target 0
61 }
62 </body></html>