1 | package collector
|
---|
2 |
|
---|
3 | _imagethispage_ {<a href="_httppagecollector_">_iconhcolect_</a>}
|
---|
4 |
|
---|
5 | # _pagescriptextra_ will be set to the appropriate _***scriptextra_
|
---|
6 | # macro from within the server
|
---|
7 | _pagescriptextra_ {}
|
---|
8 |
|
---|
9 | # this is just like the _gsimage_ macro but it calls the check_submit() javascript
|
---|
10 | # function instead of linking directly to the page (_1_ argument isn't used)
|
---|
11 | _gsjimage_ {<a href="javascript:check\_submit('_4_');" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);" target=_top><img
|
---|
12 | name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_"></a>}
|
---|
13 | _gsjimage_ [v=1] {<a href="javascript:check\_submit('_4_');" target=_top>_5_</a><br>}
|
---|
14 |
|
---|
15 | # _gstimage_ is also similar to _gsimage_ but is used where buttons occur in a sub-frame and
|
---|
16 | # require target=_top
|
---|
17 | _gstimage_ {<a href="_1_" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);" target="\_top"><img
|
---|
18 | name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_"></a>}
|
---|
19 | _gstimage_ [v=1] {<a href="_1_" target="\_top">_5_</a><br>}
|
---|
20 |
|
---|
21 | # a plain header for those pages that need it (the _pagebanner_ macro
|
---|
22 | # will be set to this by the server for those pages.
|
---|
23 | _plainbanner_ {}
|
---|
24 |
|
---|
25 | # dont want links to "help" or "preferences" pages from within
|
---|
26 | # collector
|
---|
27 | _javalinks_ {_imagehome_}
|
---|
28 | _javalinks_ [v=1] {
|
---|
29 | _imagehome_<br>
|
---|
30 | }
|
---|
31 |
|
---|
32 |
|
---|
33 | #######################################################################
|
---|
34 | # icons
|
---|
35 |
|
---|
36 | _iconcross_ {<img src="_httpimg_/cross.gif">}
|
---|
37 | _iconcross_ [v=1] {<b>no</b>}
|
---|
38 | _icontick_ {<img src="_httpimg_/tick.gif">}
|
---|
39 | _icontick_ [v=1] {<b>yes</b>}
|
---|
40 | _iconblank_ {<img src="_httpimg_/blank.gif">}
|
---|
41 | _iconblank_ [v=1] {}
|
---|
42 |
|
---|
43 | _imagemore_ {<a href="javascript:more()" onMouseover="roll('more',1);" onMouseOut="roll('more',0);"><img
|
---|
44 | name="more" src="_httpimg_/moreof.gif" onLoad="gbutton(this,'_httpimg_/moreon.gif');" border=0 alt="_textmore_"
|
---|
45 | align=top></a>}
|
---|
46 | _imagemore_ [v=1] {_textmore_}
|
---|
47 |
|
---|
48 | _iconhcolect_ {<img src="_httpiconhcolect_" alt="_textcollector_" border=0>}
|
---|
49 | _icongreyarrow_ {<img src="_httpimg_/grarrow.gif">}
|
---|
50 | _icongreyuparrow_ {<img src="_httpimg_/guarrow.gif">}
|
---|
51 | _iconstop_ {<img src="_httpimg_/stop.gif" border=0>}
|
---|
52 |
|
---|
53 | _icongcinfoof_ {<img src="_httpicongcinfoof_" alt="_textinfo_">}
|
---|
54 | _icongcinfoon_ {<img src="_httpicongcinfoon_" alt="_textinfo_">}
|
---|
55 | _iconycinfoof_ {<img src="_httpiconycinfoof_" alt="_textinfo_">}
|
---|
56 | _iconycinfoon_ {<img src="_httpiconycinfoon_" alt="_textinfo_">}
|
---|
57 | _iconncinfoof_ {<img src="_httpiconncinfoof_" alt="_textinfo_">}
|
---|
58 |
|
---|
59 | _icongcsrceof_ {<img src="_httpicongcsrceof_" alt="_textsrce_">}
|
---|
60 | _icongcsrceon_ {<img src="_httpicongcsrceon_" alt="_textsrce_">}
|
---|
61 | _iconycsrceof_ {<img src="_httpiconycsrceof_" alt="_textsrce_">}
|
---|
62 | _iconycsrceon_ {<img src="_httpiconycsrceon_" alt="_textsrce_">}
|
---|
63 | _iconncsrceof_ {<img src="_httpiconncsrceof_" alt="_textsrce_">}
|
---|
64 |
|
---|
65 | _icongcconfof_ {<img src="_httpicongcconfof_" alt="_textconf_">}
|
---|
66 | _icongcconfon_ {<img src="_httpicongcconfon_" alt="_textconf_">}
|
---|
67 | _iconycconfof_ {<img src="_httpiconycconfof_" alt="_textconf_">}
|
---|
68 | _iconycconfon_ {<img src="_httpiconycconfon_" alt="_textconf_">}
|
---|
69 | _iconncconfof_ {<img src="_httpiconncconfof_" alt="_textconf_">}
|
---|
70 |
|
---|
71 | _icongcbildof_ {<img src="_httpicongcbildof_" alt="_textbild_">}
|
---|
72 | _icongcbildon_ {<img src="_httpicongcbildon_" alt="_textbild_">}
|
---|
73 | _iconycbildof_ {<img src="_httpiconycbildof_" alt="_textbild_">}
|
---|
74 | _iconycbildon_ {<img src="_httpiconycbildon_" alt="_textbild_">}
|
---|
75 | _iconncbildof_ {<img src="_httpiconncbildof_" alt="_textbild_">}
|
---|
76 |
|
---|
77 | _icongcviewof_ {<img src="_httpicongcviewof_" alt="_textview_">}
|
---|
78 | _icongcviewon_ {<img src="_httpicongcviewon_" alt="_textview_">}
|
---|
79 | _iconycviewof_ {<img src="_httpiconycviewof_" alt="_textview_">}
|
---|
80 | _iconycviewon_ {<img src="_httpiconycviewon_" alt="_textview_">}
|
---|
81 | _iconncviewof_ {<img src="_httpiconncviewof_" alt="_textview_">}
|
---|
82 |
|
---|
83 | _icongcdelof_ {<img src="_httpicongcdelof_" alt="_textdel_">}
|
---|
84 | _icongcdelon_ {<img src="_httpicongcdelon_" alt="_textdel_">}
|
---|
85 |
|
---|
86 | # these buttons fixed width 77x26 fontsize 13 bgcolor #96c19b
|
---|
87 |
|
---|
88 | _icongcexptof_ {<img src="_httpicongcexptof_" alt="_textexpt_">}
|
---|
89 | _icongcexpton_ {<img src="_httpicongcexpton_" alt="_textexpt_">}
|
---|
90 |
|
---|
91 | #######################################################################
|
---|
92 | # http macros
|
---|
93 |
|
---|
94 | _httpinfo_ {_gwcgi_?e=_compressedoptions_&p=info}
|
---|
95 | _httpsrce_ {_gwcgi_?e=_compressedoptions_&p=srce}
|
---|
96 | _httpconf_ {_gwcgi_?e=_compressedoptions_&p=conf}
|
---|
97 | _httpbild_ {_gwcgi_?e=_compressedoptions_&p=bild}
|
---|
98 | _httpview_ {_gwcgi_?a=p&p=about&c=_cgiargbc1dirname_}
|
---|
99 | _httpdel_ {javascript:do\_delete();}
|
---|
100 | _httpexpt_ {_gwcgi_?e=_compressedoptions_&p=expt}
|
---|
101 |
|
---|
102 |
|
---|
103 | #######################################################################
|
---|
104 | # intro
|
---|
105 | #######################################################################
|
---|
106 |
|
---|
107 | _introscriptextra_ {}
|
---|
108 |
|
---|
109 | _introcontent_ {
|
---|
110 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
111 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
112 |
|
---|
113 | <center>
|
---|
114 | <table width=_pagewidth_>
|
---|
115 | <tr><td>
|
---|
116 | _iconblankbar_
|
---|
117 | <center>
|
---|
118 | <h2>_textcollector_</h2>
|
---|
119 | <p>_textcollectorblurb_
|
---|
120 | </center>
|
---|
121 | <p>_iconblankbar_
|
---|
122 | <p>_textcb1_
|
---|
123 | <p>_textcb2_
|
---|
124 | <ul>
|
---|
125 | <input type=radio name=p value=new checked>
|
---|
126 | _textcnc_
|
---|
127 | <br>
|
---|
128 | <input type=radio name=p value=existing>
|
---|
129 | _textwec_
|
---|
130 | </ul>
|
---|
131 | <p>_iconblankbar_
|
---|
132 | <p>_textcb3_
|
---|
133 | <p>_textcb4_
|
---|
134 |
|
---|
135 | <table><tr><td width=80>_authen:textusername_</td>
|
---|
136 | <td><input type="text" name="un" value="" size=10></td>
|
---|
137 | <td></td></tr>
|
---|
138 | <tr><td>_authen:textpassword_</td>
|
---|
139 | <td><input type="password" name="pw" size=10></td>
|
---|
140 | <td><input type="submit" value="_textsignin_"></td>
|
---|
141 | </tr>
|
---|
142 | </table>
|
---|
143 | <p>_iconblankbar_
|
---|
144 | </td></tr>
|
---|
145 | </table></center>
|
---|
146 |
|
---|
147 | </form>
|
---|
148 | }
|
---|
149 |
|
---|
150 |
|
---|
151 | #######################################################################
|
---|
152 | # existing (Changing an existing collection page)
|
---|
153 | #######################################################################
|
---|
154 |
|
---|
155 | _existingscriptextra_ {
|
---|
156 | function check\_submit (gotopage) \{
|
---|
157 | var form = document.collectorform;
|
---|
158 | if (gotopage == "srce") \{
|
---|
159 | form.bc1esrce.value = "1";
|
---|
160 | \}
|
---|
161 | if (gotopage == "conf") \{
|
---|
162 | form.bc1econf.value = "1";
|
---|
163 | \}
|
---|
164 | form.p.value = gotopage;
|
---|
165 | form.submit();
|
---|
166 | \}
|
---|
167 |
|
---|
168 | function do\_delete () \{
|
---|
169 | var form = document.collectorform;
|
---|
170 | var i = form.bc1dirname.selectedIndex;
|
---|
171 | var del = confirm ("Confirm deletion of " + form.bc1dirname.options[i].value + " collection?");
|
---|
172 | if (del) \{
|
---|
173 | form.bc1dodelete.value = "1";
|
---|
174 | form.submit();
|
---|
175 | \}
|
---|
176 | \}
|
---|
177 | }
|
---|
178 |
|
---|
179 | _changeexisting_ {
|
---|
180 | <p>_textfsc_
|
---|
181 | <br>_fullnamemenu_<br>
|
---|
182 | <p>_textwtc_
|
---|
183 |
|
---|
184 | <table cellspacing=6>
|
---|
185 | <tr><td width=20 align=right valign=bottom>1.</td>
|
---|
186 | <td valign=bottom>_gsjimage_( ,_collector:httpicongcsrceof_,_collector:httpicongcsrceon_,srce,_collector:textsrce_)</td>
|
---|
187 | <td valign=bottom>_textamd_</td></tr>
|
---|
188 | <tr><td align=right valign=bottom>2.</td>
|
---|
189 | <td valign=bottom>_gsjimage_(_,_collector:httpicongcconfof_,_collector:httpicongcconfon_,conf,_collector:textconf_)</td>
|
---|
190 | <td valign=bottom>_textetc_</td></tr>
|
---|
191 | <tr><td align=right valign=bottom>3.</td>
|
---|
192 | <td valign=bottom>_gsimage_(_collector:httpdel_,_collector:httpicongcdelof_,_collector:httpicongcdelon_,del,_collector:textdel_)</td>
|
---|
193 | <td valign=bottom>_textdtc_</td></tr>
|
---|
194 | <tr><td align=right valign=bottom>4.</td>
|
---|
195 | <td valign=bottom>_gsjimage_( ,_collector:httpicongcexptof_,_collector:httpicongcexpton_,expt,_collector:textexpt_)</td>
|
---|
196 | <td valign=bottom>_textetcfcd_</td></tr>
|
---|
197 | </table>
|
---|
198 | }
|
---|
199 |
|
---|
200 | _existingcontent_ {
|
---|
201 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
202 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
203 | <input type=hidden name="p" value="_cgiargp_">
|
---|
204 | <input type=hidden name="bc1dodelete" value="0">
|
---|
205 | <input type=hidden name="bc1esrce" value="0">
|
---|
206 | <input type=hidden name="bc1econf" value="0">
|
---|
207 | <center>
|
---|
208 | <table width=_pagewidth_>
|
---|
209 | <tr><td>
|
---|
210 | _iconblankbar_
|
---|
211 | <center><h2>_textcaec_</h2></center>
|
---|
212 | _iconblankbar_
|
---|
213 | _If_("_fullnamemenu_" eq "",<p>_textnwec_,_changeexisting_)
|
---|
214 | <p>_iconblankbar_
|
---|
215 | </td></tr>
|
---|
216 | </table></center>
|
---|
217 | </form>
|
---|
218 | }
|
---|
219 |
|
---|
220 |
|
---|
221 | #######################################################################
|
---|
222 | # new (Create a new collection page)
|
---|
223 | #######################################################################
|
---|
224 |
|
---|
225 | _newscriptextra_ {}
|
---|
226 |
|
---|
227 | _newcontent_ {
|
---|
228 | <center>
|
---|
229 | <table width=_pagewidth_>
|
---|
230 | <tr><td>
|
---|
231 | _iconblankbar_
|
---|
232 | <center><h2>_textcianc_</h2></center>
|
---|
233 | _iconblankbar_
|
---|
234 |
|
---|
235 | <p>_texttsosn_
|
---|
236 | <table cellspacing=6>
|
---|
237 | <tr><td width=20 align=right valign=bottom>1.</td>
|
---|
238 | <td valign=bottom>_iconncinfoof_</td>
|
---|
239 | <td valign=bottom>_textsin_</td></tr>
|
---|
240 | <tr><td align=right valign=bottom>2.</td>
|
---|
241 | <td valign=bottom>_iconncsrceof_</td>
|
---|
242 | <td valign=bottom>_textswts_</td></tr>
|
---|
243 | <tr><td align=right valign=bottom>3.</td>
|
---|
244 | <td valign=bottom>_iconncconfof_</td>
|
---|
245 | <td valign=bottom>_textatco_</td></tr>
|
---|
246 | <tr><td align=right valign=bottom>4.</td>
|
---|
247 | <td valign=bottom>_iconncbildof_</td>
|
---|
248 | <td valign=bottom>_textbtc_</td></tr>
|
---|
249 | <tr><td align=right valign=bottom>5.</td>
|
---|
250 | <td valign=bottom>_iconncviewof_</td>
|
---|
251 | <td valign=bottom>_textpvyh_</td></tr>
|
---|
252 | </table>
|
---|
253 |
|
---|
254 | <p>_texttfsiw_
|
---|
255 | <p>_iconblankbar_
|
---|
256 | <p>_textadab_
|
---|
257 | <p>_textwyar_
|
---|
258 | <p><center>
|
---|
259 | _collectorbar_
|
---|
260 | </center>
|
---|
261 |
|
---|
262 | </td></tr>
|
---|
263 | </table></center>
|
---|
264 | }
|
---|
265 |
|
---|
266 |
|
---|
267 | #######################################################################
|
---|
268 | # info (Collection information page)
|
---|
269 | #######################################################################
|
---|
270 |
|
---|
271 | _infoscriptextra_ {
|
---|
272 | function check\_submit (gotopage) \{
|
---|
273 | var form = document.collectorform;
|
---|
274 | if (form.bc1fullname.value.match(/^\\s*$/))
|
---|
275 | \{
|
---|
276 | alert("_textcnmbs_");
|
---|
277 | form.bc1fullname.focus();
|
---|
278 | return;
|
---|
279 | \}
|
---|
280 | else if (form.bc1contactemail.value.match(/^\\s*$/))
|
---|
281 | \{
|
---|
282 | alert("_texteambs_");
|
---|
283 | form.bc1contactemail.focus();
|
---|
284 | return;
|
---|
285 | \}
|
---|
286 | else if (!form.bc1contactemail.value.match(/^([^@]+)@(.+)$/))
|
---|
287 | \{
|
---|
288 | alert("_textpsea_");
|
---|
289 | form.bc1contactemail.focus();
|
---|
290 | return;
|
---|
291 | \}
|
---|
292 | else if (form.bc1aboutdesc.value.match(/^\\s*$/))
|
---|
293 | \{
|
---|
294 | alert("_textdocmbs_");
|
---|
295 | form.bc1aboutdesc.focus();
|
---|
296 | return;
|
---|
297 | \}
|
---|
298 | form.p.value = gotopage;
|
---|
299 | form.submit();
|
---|
300 | \}
|
---|
301 | }
|
---|
302 |
|
---|
303 | _infocontent_ {
|
---|
304 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
305 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
306 | <input type=hidden name="p" value="_cgiargp_">
|
---|
307 | <input type=hidden name="bc1infochanged" value="0">
|
---|
308 |
|
---|
309 | <center>
|
---|
310 | <table width=_pagewidth_>
|
---|
311 | <tr><td>
|
---|
312 | _iconblankbar_
|
---|
313 | <center>
|
---|
314 | <h2>_textinfo_</h2>
|
---|
315 | </center>
|
---|
316 | <p>_iconblankbar_
|
---|
317 |
|
---|
318 | <p>_textwcanc_
|
---|
319 | <h4>_texttfc_</h4>
|
---|
320 | <input type="text" name="bc1fullname" value="_cgiargbc1fullname_"
|
---|
321 | onChange="document.collectorform.bc1infochanged.value=1;") size=72>
|
---|
322 | <br>_texttctiasp_
|
---|
323 | <h4>_textcea_</h4>
|
---|
324 | <input type="text" name="bc1contactemail" value="_cgiargbc1contactemail_"
|
---|
325 | onChange="document.collectorform.bc1infochanged.value=1;" size=72>
|
---|
326 | <br>
|
---|
327 | _textteas_
|
---|
328 |
|
---|
329 | <h4>_textatc_</h4>
|
---|
330 | <textarea name="bc1aboutdesc" cols=72 rows=6 wrap=physical
|
---|
331 | onChange="document.collectorform.bc1infochanged.value=1;">
|
---|
332 | _cgiargbc1aboutdesc_
|
---|
333 | </textarea>
|
---|
334 | <br>_texttiasd_
|
---|
335 |
|
---|
336 | <p>_iconblankbar_
|
---|
337 |
|
---|
338 | <p>_textypits_
|
---|
339 | <p><center>
|
---|
340 | _collectorbar_
|
---|
341 | </center>
|
---|
342 |
|
---|
343 | </td></tr>
|
---|
344 | </table></center>
|
---|
345 |
|
---|
346 | </form>
|
---|
347 | }
|
---|
348 |
|
---|
349 |
|
---|
350 | #######################################################################
|
---|
351 | # srce (Source data page)
|
---|
352 | #######################################################################
|
---|
353 |
|
---|
354 | # _fullnamemenu is set from within the server. If it's empty there are
|
---|
355 | # no valid collections
|
---|
356 | _fullnamemenu_ {}
|
---|
357 |
|
---|
358 | _srcescriptextra_ {
|
---|
359 | var selectedindex = _selectedindex_;
|
---|
360 |
|
---|
361 | function check\_submit (gotopage) \{
|
---|
362 | var form = document.collectorform;
|
---|
363 | form.p.value = gotopage;
|
---|
364 | form.bc1fromsrce.value = "1";
|
---|
365 | form.submit();
|
---|
366 | \}
|
---|
367 |
|
---|
368 | function menuchange () \{
|
---|
369 | var form = document.collectorform;
|
---|
370 | var warnlist = new Array (_warnindex_);
|
---|
371 |
|
---|
372 | if (warnlist[form.bc1clonecol.selectedIndex] == 1) \{
|
---|
373 | alert ("The collection you are cloning has a non-standard input file\\n" +
|
---|
374 | "format, and/or uses metadata specified in auxiliary files. If your\\n" +
|
---|
375 | "new input lacks this information, some browsing facilities may not\\n" +
|
---|
376 | "work properly.");
|
---|
377 | \}
|
---|
378 |
|
---|
379 | if (form.bc1clonecol.selectedIndex == 0) \{
|
---|
380 | form.bc1clone.value = "0";
|
---|
381 | \} else \{
|
---|
382 | form.bc1clone.value = "1";
|
---|
383 | \}
|
---|
384 |
|
---|
385 | if (form.bc1clonecol.selectedIndex == selectedindex) \{
|
---|
386 | form.bc1clonechanged.value = "0";
|
---|
387 | \} else \{
|
---|
388 | form.bc1clonechanged.value = "1";
|
---|
389 | \}
|
---|
390 | \}
|
---|
391 |
|
---|
392 | function more () \{
|
---|
393 | var form = document.collectorform;
|
---|
394 | form.bc1inputnum.value = parseInt(form.bc1inputnum.value) + 3;
|
---|
395 | form.p.value = "srce";
|
---|
396 | if (!form.action.match(/sources$/)) \{
|
---|
397 | form.action += "#sources";
|
---|
398 | \}
|
---|
399 | form.submit();
|
---|
400 | \}
|
---|
401 | }
|
---|
402 |
|
---|
403 | _srcenew_ {
|
---|
404 | <center>
|
---|
405 | <h2>_textsrce_</h2>
|
---|
406 | </center>
|
---|
407 | <p>_iconblankbar_
|
---|
408 | _If_("_badsources_" eq "1",_srcebadsources_,_srcenewcontent_)
|
---|
409 | }
|
---|
410 |
|
---|
411 | _srcenewcontent_ {
|
---|
412 | _textymbyco_
|
---|
413 | <p>_textbtco_
|
---|
414 | _fullnamemenu_
|
---|
415 | <p>_iconblankbar_
|
---|
416 | }
|
---|
417 |
|
---|
418 | _srceappend_ {
|
---|
419 | <center>
|
---|
420 | <h2>_textand_</h2>
|
---|
421 | </center>
|
---|
422 | <p>_iconblankbar_
|
---|
423 | <h4>_textad_</h4>
|
---|
424 | _texttftysb_
|
---|
425 | }
|
---|
426 |
|
---|
427 | _srcecontent_ {
|
---|
428 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
429 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
430 | <input type=hidden name="p" value="_cgiargp_">
|
---|
431 | <input type=hidden name="bc1fromsrce" value="0">
|
---|
432 | <input type=hidden name="bc1clonechanged" value="0">
|
---|
433 | <input type=hidden name="bc1clone" value="_cgiargbc1clone_">
|
---|
434 | <input type=hidden name="bc1inputnum" value="_cgiargbc1inputnum_">
|
---|
435 |
|
---|
436 | <center>
|
---|
437 | <table width=_pagewidth_>
|
---|
438 | <tr><td>
|
---|
439 | _iconblankbar_
|
---|
440 | _If_("_cgiargbc1esrce_" eq "1",_srceappend_,_srcenew_)
|
---|
441 |
|
---|
442 | <a name=sources>
|
---|
443 | <h4>_textis_</h4>
|
---|
444 | _sourcelist_
|
---|
445 |
|
---|
446 | _textddd1_
|
---|
447 | <p>_iconblankbar_
|
---|
448 | _textddd2_
|
---|
449 | <p><center>
|
---|
450 | _collectorbar_
|
---|
451 | </center>
|
---|
452 |
|
---|
453 | </td></tr>
|
---|
454 | </table></center>
|
---|
455 |
|
---|
456 | </form>
|
---|
457 | }
|
---|
458 |
|
---|
459 |
|
---|
460 | #######################################################################
|
---|
461 | # conf (Configure collection page)
|
---|
462 | #######################################################################
|
---|
463 |
|
---|
464 | _confscriptextra_ {
|
---|
465 | var changed = 0;
|
---|
466 |
|
---|
467 | function check\_submit (gotopage) \{
|
---|
468 | var form = document.collectorform;
|
---|
469 | form.bc1cfgchanged.value = changed;
|
---|
470 | form.p.value = gotopage;
|
---|
471 | form.submit();
|
---|
472 | \}
|
---|
473 |
|
---|
474 | function reset\_button () \{
|
---|
475 | document.collectorform.reset();
|
---|
476 | changed = 0;
|
---|
477 | \}
|
---|
478 | }
|
---|
479 |
|
---|
480 | _confcontent_ {
|
---|
481 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
482 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
483 | <input type=hidden name="p" value="_cgiargp_">
|
---|
484 | <input type=hidden name="bc1cfgchanged" value="_cgiargbc1cfgchanged_">
|
---|
485 |
|
---|
486 | <center>
|
---|
487 | <table width=_pagewidth_>
|
---|
488 | <tr><td>
|
---|
489 | _iconblankbar_
|
---|
490 | <center>
|
---|
491 | <h2>_textconf_</h2>
|
---|
492 | </center>
|
---|
493 | <p>_iconblankbar_
|
---|
494 | _textconf1_
|
---|
495 |
|
---|
496 | <p><textarea name="cfgfile" cols=72 rows=18 wrap=off onChange="changed=1;">
|
---|
497 | _cfgfile_
|
---|
498 | </textarea>
|
---|
499 | <table><tr valign=top>
|
---|
500 | <td><a href="javascript:reset\_button();">_iconstop_</a></td>
|
---|
501 | <td><a href="javascript:reset\_button();">_textreset_</a></td>
|
---|
502 | </tr></table>
|
---|
503 |
|
---|
504 | <p><center>
|
---|
505 | _collectorbar_
|
---|
506 | </center>
|
---|
507 |
|
---|
508 | </td></tr>
|
---|
509 | </table></center>
|
---|
510 |
|
---|
511 | </form>
|
---|
512 | }
|
---|
513 |
|
---|
514 |
|
---|
515 | #######################################################################
|
---|
516 | # bild (main frameset for build page)
|
---|
517 | #######################################################################
|
---|
518 |
|
---|
519 | _bildcontent_ {
|
---|
520 | <html>
|
---|
521 | <head>
|
---|
522 | <script>
|
---|
523 | <!--
|
---|
524 | function check\_submit (gotopage) \{
|
---|
525 | var form = document.collectorform;
|
---|
526 | form.p.value = gotopage;
|
---|
527 | form.submit();
|
---|
528 | \}
|
---|
529 | // -->
|
---|
530 | </script>
|
---|
531 | </head>
|
---|
532 |
|
---|
533 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
534 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
535 | <input type=hidden name="p" value="_cgiargp_">
|
---|
536 |
|
---|
537 | <frameset rows="*,160" border=0>
|
---|
538 | <noframes><body bgcolor="#ffffff">
|
---|
539 | <p>You must have a frame enabled browser to obtain feedback
|
---|
540 | on how the building process is progressing. The collection <i>will</i>
|
---|
541 | continue to build as normal however.
|
---|
542 |
|
---|
543 | <table>
|
---|
544 | <tr valign=center><td>
|
---|
545 | To stop the building process at any time, click here.
|
---|
546 | <br>The collection you are working on will remain intact.
|
---|
547 | </td>
|
---|
548 | <td><input type="submit" value="stop building"></td>
|
---|
549 | </table>
|
---|
550 |
|
---|
551 | </body>
|
---|
552 | </noframes>
|
---|
553 | <frame src="_gwcgi_?e=_compressedoptions_&p=bildframe1">
|
---|
554 | <frame src="_gwcgi_?e=_compressedoptions_&p=bildstatus">
|
---|
555 | </frameset>
|
---|
556 | </html>
|
---|
557 | }
|
---|
558 |
|
---|
559 | #######################################################################
|
---|
560 | # bildframe1
|
---|
561 | #######################################################################
|
---|
562 |
|
---|
563 | # header overridden to allow base target to be set
|
---|
564 | # also no page banner to maximise what we can fit in the frame without scrolling
|
---|
565 | _bildframe1header_ {_cgihead_
|
---|
566 | <html>
|
---|
567 | <head>
|
---|
568 | <base target=_top>
|
---|
569 | <title>_pagetitle_</title>
|
---|
570 | _globalscripts_
|
---|
571 | </head>
|
---|
572 | <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
|
---|
573 | alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
|
---|
574 | _startspacer_
|
---|
575 | }
|
---|
576 | _bildframe1header_[v=1] {_cgihead_
|
---|
577 | <html>
|
---|
578 | <head>
|
---|
579 | <base target=_top>
|
---|
580 | <title>_pagetitle_</title>
|
---|
581 | _globalscripts_
|
---|
582 | </head>
|
---|
583 | <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
|
---|
584 | alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
|
---|
585 | }
|
---|
586 | _bildframe1scriptextra_ {}
|
---|
587 | _bildframe1content_ {
|
---|
588 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
589 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
590 | <input type=hidden name="p" value="bildcancel">
|
---|
591 |
|
---|
592 | <center>
|
---|
593 | <table width=_pagewidth_>
|
---|
594 | <tr><td>
|
---|
595 | _iconblankbar_
|
---|
596 | <center>
|
---|
597 | <h2>_textbild_</h2>
|
---|
598 | </center>
|
---|
599 | <p>_iconblankbar_
|
---|
600 | <p>
|
---|
601 | _textbild1_
|
---|
602 | <p>
|
---|
603 |
|
---|
604 | <table>
|
---|
605 | <tr valign=center><td>
|
---|
606 | _textbild2_
|
---|
607 | </td>
|
---|
608 | <td><input type="submit" value="_textstopbuild_"></td>
|
---|
609 | </table>
|
---|
610 |
|
---|
611 | <p>
|
---|
612 | _textbild3_
|
---|
613 | </td></tr>
|
---|
614 | </table></center>
|
---|
615 | </form>
|
---|
616 | }
|
---|
617 |
|
---|
618 |
|
---|
619 | #######################################################################
|
---|
620 | # bildcancel
|
---|
621 | #######################################################################
|
---|
622 |
|
---|
623 | _bildcancelscriptextra_ {
|
---|
624 | function check\_submit (gotopage) \{
|
---|
625 | var form = document.collectorform;
|
---|
626 | form.p.value = gotopage;
|
---|
627 | form.submit();
|
---|
628 | \}
|
---|
629 | }
|
---|
630 | _bildcancelcontent_ {
|
---|
631 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
632 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
633 | <input type=hidden name="p" value="_cgiargp_">
|
---|
634 |
|
---|
635 | </form>
|
---|
636 | <center>
|
---|
637 | <table width=_pagewidth_>
|
---|
638 | <tr><td>
|
---|
639 | _iconblankbar_
|
---|
640 | <center>
|
---|
641 | <h2>_textbuildcancelled_</h2>
|
---|
642 | </center>
|
---|
643 | <p>_iconblankbar_
|
---|
644 | <p>
|
---|
645 | _textbildcancel1_
|
---|
646 | <p><center>
|
---|
647 | _collectorbar_
|
---|
648 | </center>
|
---|
649 |
|
---|
650 | </td></tr>
|
---|
651 | </table></center>
|
---|
652 | }
|
---|
653 |
|
---|
654 |
|
---|
655 | #######################################################################
|
---|
656 | # bildstatus
|
---|
657 | #######################################################################
|
---|
658 |
|
---|
659 | # special header for status page
|
---|
660 | _bildstatusheader_ {_cgihead_
|
---|
661 | _htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer_
|
---|
662 | }
|
---|
663 | _bildstatusheader_[v=1] {_cgihead_
|
---|
664 | _htmlhead_(onLoad="initialize();")
|
---|
665 | }
|
---|
666 |
|
---|
667 | _bildstatusscriptextra_ {
|
---|
668 | var timer = 5;
|
---|
669 | function initialize() \{
|
---|
670 | setTimeout("count_down()",1000);
|
---|
671 | \}
|
---|
672 |
|
---|
673 | function count_down() \{
|
---|
674 | if (timer==0) \{
|
---|
675 | window.status = "";
|
---|
676 | document.collectorform.submit();
|
---|
677 | \} else \{
|
---|
678 | if (timer==1) \{
|
---|
679 | window.status = "_textbsupdate1_";
|
---|
680 | \} else \{
|
---|
681 | window.status = "_textbsupdate2_ "+timer+" _textseconds_";
|
---|
682 | \}
|
---|
683 | timer--;
|
---|
684 | setTimeout("count_down()",1000);
|
---|
685 | \}
|
---|
686 | \}
|
---|
687 | }
|
---|
688 |
|
---|
689 | _bildstatuscontent_ {
|
---|
690 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
691 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
692 |
|
---|
693 | <center>
|
---|
694 | <table width=_pagewidth_>
|
---|
695 | <tr><td>
|
---|
696 | _statusline_
|
---|
697 | </td></tr>
|
---|
698 | </table></center>
|
---|
699 | </form>
|
---|
700 | }
|
---|
701 |
|
---|
702 |
|
---|
703 | #######################################################################
|
---|
704 | # bilddone
|
---|
705 | #######################################################################
|
---|
706 |
|
---|
707 | _bilddoneheader_ {_cgihead_
|
---|
708 | _htmlhead_(background="_httpiconchalk_")_startspacer_
|
---|
709 | }
|
---|
710 | _bilddonescriptextra_ {}
|
---|
711 | _bilddonecontent_ {
|
---|
712 | <center>
|
---|
713 | <table width=_pagewidth_>
|
---|
714 | <tr><td>
|
---|
715 | <p>_textbildsuc_
|
---|
716 |
|
---|
717 | <p>_textviewbildsummary_
|
---|
718 |
|
---|
719 | <p><center>
|
---|
720 | _collectorbar_
|
---|
721 | </center>
|
---|
722 |
|
---|
723 | </td></tr>
|
---|
724 | </table></center>
|
---|
725 | }
|
---|
726 |
|
---|
727 |
|
---|
728 | #######################################################################
|
---|
729 | # bildfail
|
---|
730 | #######################################################################
|
---|
731 |
|
---|
732 | _bildfailheader_ {_cgihead_
|
---|
733 | _htmlhead_(background="_httpiconchalk_")_startspacer_
|
---|
734 | }
|
---|
735 | _bildfailscriptextra_ {
|
---|
736 | function check\_submit (gotopage) \{
|
---|
737 | var form = document.collectorform;
|
---|
738 | form.p.value = gotopage;
|
---|
739 | form.submit();
|
---|
740 | \}
|
---|
741 | }
|
---|
742 | _bildfailcontent_ {
|
---|
743 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
744 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
745 | <input type=hidden name="p" value="_cgiargp_">
|
---|
746 |
|
---|
747 | </form>
|
---|
748 | <center>
|
---|
749 | <table width=_pagewidth_>
|
---|
750 | <tr><td>
|
---|
751 | _textfailmsg_
|
---|
752 | </td></tr>
|
---|
753 | </table></center>
|
---|
754 | }
|
---|
755 |
|
---|
756 | # _textfailmsg_ will be set to one of the following macros from within
|
---|
757 | # the server
|
---|
758 |
|
---|
759 | _textfailmsg1_ {
|
---|
760 | _textfailmsg11_
|
---|
761 | <p><center>
|
---|
762 | _collectorbar_
|
---|
763 | </center>
|
---|
764 | }
|
---|
765 |
|
---|
766 | _textfailmsg6_ {_textfailmsg1_}
|
---|
767 |
|
---|
768 | _textfailmsg2_ {
|
---|
769 | _textfailmsg21_
|
---|
770 | <p>_textblcont_
|
---|
771 | <p>_faillog_
|
---|
772 | <p>_texttryagain_
|
---|
773 | }
|
---|
774 |
|
---|
775 | _textfailmsg3_ {
|
---|
776 | _textfailmsg31_
|
---|
777 | <p>_textblcont_
|
---|
778 | <p>_faillog_
|
---|
779 | <p>_texttryagain_
|
---|
780 | }
|
---|
781 |
|
---|
782 | _textfailmsg4_ {
|
---|
783 | _textfailmsg41_
|
---|
784 | <p>_textblcont_
|
---|
785 | <p>_faillog_
|
---|
786 | }
|
---|
787 |
|
---|
788 | _textfailmsg5_ {_textfailmsg4_}
|
---|
789 |
|
---|
790 | _textfailmsg7_ {
|
---|
791 | _textfailmsg71_
|
---|
792 | <p>_texttryagain_
|
---|
793 | }
|
---|
794 |
|
---|
795 | #######################################################################
|
---|
796 | # Error and message pages
|
---|
797 | #######################################################################
|
---|
798 |
|
---|
799 | _messagehead_ {
|
---|
800 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
801 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
802 |
|
---|
803 | <center>
|
---|
804 | <table width=_pagewidth_>
|
---|
805 | <tr><td>
|
---|
806 | _iconblankbar_
|
---|
807 | }
|
---|
808 |
|
---|
809 | _messagefoot_ {
|
---|
810 | <p>
|
---|
811 | <a href="javascript:document.collectorform.submit();">_textretcoll_</a>
|
---|
812 | <p>_iconblankbar_
|
---|
813 | </td></tr>
|
---|
814 | </table></center>
|
---|
815 | </form>
|
---|
816 | }
|
---|
817 |
|
---|
818 | _messagefootnolink_ {
|
---|
819 | <p>_iconblankbar_
|
---|
820 | </td></tr>
|
---|
821 | </table></center>
|
---|
822 | </form>
|
---|
823 | }
|
---|
824 |
|
---|
825 | _delpermissioncontent_ {
|
---|
826 | _messagehead_
|
---|
827 | <p>
|
---|
828 | _textdelperm_
|
---|
829 | _messagefoot_
|
---|
830 | }
|
---|
831 |
|
---|
832 | _delinvalidcontent_ {
|
---|
833 | _messagehead_
|
---|
834 | <p>
|
---|
835 | _textdelinv_
|
---|
836 | _messagefoot_
|
---|
837 | }
|
---|
838 |
|
---|
839 | _delsuccesscontent_ {
|
---|
840 | _messagehead_
|
---|
841 | <p>
|
---|
842 | _textdelsuc_
|
---|
843 | _messagefoot_
|
---|
844 | }
|
---|
845 |
|
---|
846 | _clonefailcontent_ {
|
---|
847 | _messagehead_
|
---|
848 | <input type=hidden name="bc1clone" value="0">
|
---|
849 | <p>_textclonefail_
|
---|
850 | _messagefoot_
|
---|
851 | }
|
---|
852 |
|
---|
853 | _genericcontent_ {
|
---|
854 | _messagehead_
|
---|
855 | <p>_textcolerr_
|
---|
856 | _messagefoot_
|
---|
857 | }
|
---|
858 |
|
---|
859 | _tmpfailcontent_ {
|
---|
860 | _messagehead_
|
---|
861 | <p>
|
---|
862 | _texttmpfail_
|
---|
863 | _messagefoot_
|
---|
864 | }
|
---|
865 |
|
---|
866 | _mkcolfailcontent_ {
|
---|
867 | _messagehead_
|
---|
868 | <p>_textmkcolfail_
|
---|
869 | _messagefoot_
|
---|
870 | }
|
---|
871 |
|
---|
872 | _nocollectioncontent_ {
|
---|
873 | _messagehead_
|
---|
874 | <p>_textnocontent_
|
---|
875 | <br><a href="_httppagecollector_">_textrestart_</a>
|
---|
876 | <p>
|
---|
877 | _messagefootnolink_
|
---|
878 | }
|
---|
879 |
|
---|
880 | _reloaderrorcontent_ {
|
---|
881 | _messagehead_
|
---|
882 | <p>_textreloaderror_
|
---|
883 | <br><a href="_httppagecollector_">_textrestart_</a>
|
---|
884 | <p>
|
---|
885 | _messagefootnolink_
|
---|
886 | }
|
---|
887 |
|
---|
888 | _exptscriptextra_ {}
|
---|
889 |
|
---|
890 | _exptsuccesscontent_ {
|
---|
891 | _messagehead_
|
---|
892 | <input type=hidden name=p value=existing>
|
---|
893 | <p>_textexptsuc_
|
---|
894 | _messagefoot_
|
---|
895 | }
|
---|
896 |
|
---|
897 | _exptfailcontent_ {
|
---|
898 | _messagehead_
|
---|
899 | <input type=hidden name=p value=existing>
|
---|
900 | _textexptfail_
|
---|
901 | _messagefoot_
|
---|
902 | }
|
---|