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