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