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