source: trunk/gsdl/macros/browse.dm@ 3193

Last change on this file since 3193 was 2880, checked in by dmm9, 22 years ago

changing interface for intuitiveness

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1package browse
2
3#######################################################################
4# headers
5# these are overridden so we can put an onLoad event handler
6# in the <body> tag of this page - for mgpp, form search pages
7#######################################################################
8
9#copied from prefs
10
11_header_ {_cgihead_
12_htmlhead_(onLoad="ccont(0)")_startspacer__pagebanner_
13}
14
15
16_content_{
17
18
19
20 _navigationbar_
21
22 _browseinterface_
23
24 _iconblankbar_
25
26 _classifications_
27
28
29 <div id="mydiv"></div>
30 <div><layer id="mylayer"top=350 left=280 width="100%"></layer></div>
31
32}
33
34
35_runtimebrowsescript_{}
36
37_browseinterface_{
38
39<form name=BrowseForm method=get action="_gwcgi_">
40
41<input type=hidden name="a" value="br">
42<input type=hidden name="e" value="_decodedcompressedoptions_">
43 <p>
44 _textfilterby_ _anyallselect_ _textwords_<br>
45 _filterbox_<br>
46
47 <font size=-1><i>(_textleaveblank_)</i></font><p>
48
49 _textsortby_ _browsebox1_, _textalsoshowing_ _browsebox2_ _textwith_
50 _docnum_ _textdocsperpage_
51 <span align = right> _browsebutton_ </span><p>
52</form>
53
54}
55
56_browsebutton_{<input type=submit value=_browsebuttontext_ align=right>}
57
58_docnum_{
59<select name="bnu">
60 <option _If_("_cgiargbnu_" eq "5", selected)>5
61 <option _If_("_cgiargbnu_" eq "10", selected)>10
62 <option _If_("_cgiargbnu_" eq "20", selected)>20
63 <option _If_("_cgiargbnu_" eq "50", selected)>50
64 <option value="-1" _If_("_cgiargbnu_" eq "-1", selected)>max
65</select>
66}
67
68_filterbox_{<input type=text name="bft" value="_cgiargbft_" size=60>}
69
70
71_anyallselect_{
72<select name="bt">
73 <option value="0"_If_(_cgiargbt_,, selected)>_textany_
74 <option value="1"_If_(_cgiargbt_, selected)>_textall_
75</select>
76}
77
78_classifications_{
79}
80
81_pagescriptextra_ {
82var tbl = new Array()
83
84function ccont(current)\{
85 if(document.getElementById) \{
86 document.getElementById("mydiv").innerHTML = tbl[current];
87 \}
88 else if(document.all)\{
89 mydiv.innerHTML=tbl[current]
90 \}
91 else if(document.layers)\{
92 document.mylayer.document.write(tbl[current])
93 document.mylayer.document.close()
94 \}
95
96\}
97
98_runtimebrowsescript_
99
100}
101
102
103
104
105
106
107
108
109
110
111
112
113
Note: See TracBrowser for help on using the repository browser.