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

Last change on this file since 3177 was 2880, checked in by dmm9, 23 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
RevLine 
[2396]1package browse
2
[2831]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_
[2880]12_htmlhead_(onLoad="ccont(0)")_startspacer__pagebanner_
[2831]13}
14
15
[2396]16_content_{
17
[2831]18
19
[2396]20 _navigationbar_
21
22 _browseinterface_
23
24 _iconblankbar_
[2831]25
26 _classifications_
27
28
29 <div id="mydiv"></div>
[2833]30 <div><layer id="mylayer"top=350 left=280 width="100%"></layer></div>
[2831]31
[2396]32}
33
[2831]34
35_runtimebrowsescript_{}
36
[2396]37_browseinterface_{
38
[2458]39<form name=BrowseForm method=get action="_gwcgi_">
[2396]40
41<input type=hidden name="a" value="br">
[2458]42<input type=hidden name="e" value="_decodedcompressedoptions_">
[2880]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>
[2396]52</form>
53
54}
55
[2880]56_browsebutton_{<input type=submit value=_browsebuttontext_ align=right>}
[2396]57
[2718]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}
[2396]67
[2831]68_filterbox_{<input type=text name="bft" value="_cgiargbft_" size=60>}
[2396]69
70
71_anyallselect_{
[2718]72<select name="bt">
73 <option value="0"_If_(_cgiargbt_,, selected)>_textany_
74 <option value="1"_If_(_cgiargbt_, selected)>_textall_
[2396]75</select>
76}
77
[2831]78_classifications_{
79}
[2718]80
[2831]81_pagescriptextra_ {
[2880]82var tbl = new Array()
[2396]83
[2880]84function ccont(current)\{
[2833]85 if(document.getElementById) \{
[2880]86 document.getElementById("mydiv").innerHTML = tbl[current];
[2833]87 \}
88 else if(document.all)\{
[2880]89 mydiv.innerHTML=tbl[current]
[2833]90 \}
[2831]91 else if(document.layers)\{
[2880]92 document.mylayer.document.write(tbl[current])
[2831]93 document.mylayer.document.close()
[2833]94 \}
95
[2831]96\}
[2396]97
[2831]98_runtimebrowsescript_
[2396]99
[2831]100}
[2396]101
102
103
104
105
[2718]106
[2831]107
108
109
110
111
112
113
Note: See TracBrowser for help on using the repository browser.