[11999] | 1 | # this file must be UTF-8 encoded
|
---|
| 2 |
|
---|
| 3 | package depositor
|
---|
| 4 |
|
---|
[29386] | 5 | _imagethispage_ {_If_("_cgiargdi1local_" eq "1",<a href="_httppagedepositorcurrentcollection_">_textdepositorlocal_</a>,<a href="_httppagedepositor_">_textdepositor_</a>)}
|
---|
[11999] | 6 |
|
---|
| 7 | # _pagescriptextra_ will be set to the appropriate _***scriptextra_
|
---|
| 8 | # macro from within the server
|
---|
| 9 | _pagescriptextra_ {}
|
---|
| 10 |
|
---|
| 11 | # a plain header for those pages that need it (the _pagebanner_ macro
|
---|
| 12 | # will be set to this by the server for those pages.
|
---|
| 13 | _plainbanner_ {}
|
---|
| 14 |
|
---|
| 15 | # dont want links to help" or "preferences" pages from within
|
---|
| 16 | # collector
|
---|
| 17 | _globallinks_ {_homelink_}
|
---|
| 18 |
|
---|
[16680] | 19 | # metadata fields that will be displayed in the step1 page,
|
---|
[29403] | 20 | # this is determined by the depositormetadata array defined in the collection's collect.cfg
|
---|
[16680] | 21 | _metadataconf_ {var DepositorMDFields = new Array();}
|
---|
[29403] | 22 | # If you are using GLI, and want to modify the depositormetadata, then define
|
---|
| 23 | # the custommetadataconf macrco in exta.dm or collectionmacro in collect.cfg
|
---|
[16680] | 24 |
|
---|
[29403] | 25 | _custommetadataconf_ {}
|
---|
| 26 |
|
---|
[16680] | 27 | # store any existing metadata values
|
---|
| 28 | _cachedmetadatavalues_ {var CachedMDValues = new Array();}
|
---|
[29386] | 29 | # set the following to 0 if you don't want to cache metadata values
|
---|
| 30 | _cacheoption_{1}
|
---|
[11999] | 31 | #######################################################################
|
---|
| 32 | # steps
|
---|
| 33 |
|
---|
| 34 | _numsteps_ {3}
|
---|
| 35 |
|
---|
| 36 | # clashes with general text (in english2.dm) about what to do at this stage
|
---|
| 37 | # now it doesn't appear in wizard bar, is it needed?
|
---|
| 38 | ##_textselect_ {The Depositor}
|
---|
| 39 | _textstep1_ {_textmeta_}
|
---|
| 40 | _textstep2_ {_textintro_}
|
---|
[14718] | 41 | _textstep3_ {_textconfirm_}
|
---|
[11999] | 42 |
|
---|
[29386] | 43 | # set laststep to depositonly if you don't want the item to be indexed
|
---|
[11999] | 44 | _laststep_ {bild}
|
---|
| 45 | _textlaststep_ {_textbild_}
|
---|
| 46 |
|
---|
| 47 |
|
---|
| 48 | #######################################################################
|
---|
| 49 | # icons
|
---|
| 50 |
|
---|
| 51 | _iconcross_ {<img src="_httpimg_/cross.gif">}
|
---|
| 52 | _iconcross_ [v=1] {<b>no</b>}
|
---|
| 53 | _icontick_ {<img src="_httpimg_/tick.gif">}
|
---|
| 54 | _icontick_ [v=1] {<b>yes</b>}
|
---|
| 55 | _iconblank_ {<img src="_httpimg_/blank.gif">}
|
---|
| 56 | _iconblank_ [v=1] {}
|
---|
| 57 |
|
---|
| 58 | _imagemore_ {<a href="javascript:more()" onMouseover="roll('more',1);" onMouseOut="roll('more',0);"><img
|
---|
| 59 | name="more" src="_httpimg_/moreof.gif" onLoad="gbutton(this,'_httpimg_/moreon.gif');" border=0 alt="_textmore_"
|
---|
| 60 | title="_textmore_" align=top></a>}
|
---|
| 61 | _imagemore_ [v=1] {_textmore_}
|
---|
| 62 |
|
---|
| 63 | _icongreyarrow_ {<img src="_httpimg_/grarrow.gif">}
|
---|
| 64 | _icongreyuparrow_ {<img src="_httpimg_/guarrow.gif">}
|
---|
| 65 | _iconstop_ {<img src="_httpimg_/stop.gif" border=0>}
|
---|
| 66 |
|
---|
| 67 |
|
---|
| 68 | #######################################################################
|
---|
| 69 | # http macros
|
---|
| 70 |
|
---|
| 71 | _httpinfo_ {_gwcgi_?e=_compressedoptions_&p=info}
|
---|
| 72 | _httpsrce_ {_gwcgi_?e=_compressedoptions_&p=srce}
|
---|
| 73 | _httpconf_ {_gwcgi_?e=_compressedoptions_&p=conf}
|
---|
| 74 | _httpbild_ {_gwcgi_?e=_compressedoptions_&p=bild}
|
---|
[29386] | 75 | _httpview_ {_gwcgi_?e=_compressedoptions_&a=p&p=about&c=_cgiargdi1dirnameUrlsafe_}
|
---|
[11999] | 76 | _httpdel_ {javascript:do\_delete();}
|
---|
| 77 | _httpexpt_ {_gwcgi_?e=_compressedoptions_&p=expt}
|
---|
| 78 |
|
---|
| 79 |
|
---|
| 80 | #######################################################################
|
---|
| 81 | # select // this really should be intro
|
---|
| 82 | #######################################################################
|
---|
| 83 |
|
---|
[12577] | 84 | # _fullnamemenu_ has previous collection selected. Since there is no button
|
---|
| 85 | # on this page to proceed, we reset the drop down box to have no collection
|
---|
| 86 | # selected.
|
---|
| 87 | _selectheader_ {_cgihead_
|
---|
[19826] | 88 | _htmlhead_(class="bgimage" onLoad="initialize();")_startspacer_
|
---|
[12577] | 89 | }
|
---|
| 90 |
|
---|
| 91 |
|
---|
[11999] | 92 | _selectscriptextra_ {
|
---|
| 93 |
|
---|
[12577] | 94 | function initialize() \{
|
---|
| 95 | document.depositorform.di1dirname.value = "";
|
---|
| 96 | \}
|
---|
| 97 |
|
---|
[11999] | 98 | function check\_submit (gotopage) \{
|
---|
| 99 | var form = document.depositorform;
|
---|
| 100 | form.p.value = gotopage;
|
---|
| 101 |
|
---|
| 102 | // if 'dirname' given, then link to cgiarg c so collection specific macros work
|
---|
| 103 | if (form.di1dirname) \{
|
---|
| 104 | form.c.value = form.di1dirname.value;
|
---|
| 105 | \}
|
---|
| 106 |
|
---|
| 107 | form.submit();
|
---|
| 108 | \}
|
---|
| 109 |
|
---|
| 110 | function menuchange() \{
|
---|
| 111 |
|
---|
| 112 | _buildtypearray_
|
---|
| 113 |
|
---|
| 114 | var form = document.depositorform;
|
---|
| 115 |
|
---|
| 116 | if (form.di1dirname.value == "") \{
|
---|
| 117 | alert("Please choose a collection first");
|
---|
| 118 | \}
|
---|
| 119 | else \{
|
---|
| 120 | var pos = form.di1dirname.selectedIndex;
|
---|
| 121 | var bt = buildtype[pos];
|
---|
| 122 | if (bt=="") \{ bt = "mg"; \}
|
---|
| 123 | form.di1buildtype.value = bt;
|
---|
| 124 |
|
---|
| 125 | check\_submit('step1');
|
---|
| 126 | \}
|
---|
| 127 | \}
|
---|
| 128 |
|
---|
| 129 | }
|
---|
| 130 |
|
---|
| 131 | _selectcontent_ {
|
---|
| 132 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 133 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[11999] | 134 | <input type=hidden name="p" value="intro">
|
---|
| 135 | <input type=hidden name="c" value="">
|
---|
| 136 | <input type=hidden name="di1buildtype" value="">
|
---|
| 137 |
|
---|
| 138 | <center>
|
---|
| 139 | <table width=_pagewidth_>
|
---|
| 140 | <tr><td>
|
---|
| 141 | <div class="divbar"> </div>
|
---|
| 142 | <center><h2>_textselect_</h2></center>
|
---|
| 143 | <div class="divbar"> </div>
|
---|
| 144 |
|
---|
[14738] | 145 | <p> <em>_textselectcol_</em>
|
---|
[11999] | 146 |
|
---|
| 147 | <p>_fullnamemenu_<br><br>
|
---|
| 148 | <div class="divbar"> </div>
|
---|
| 149 | </td></tr>
|
---|
| 150 | </table>
|
---|
| 151 | </center>
|
---|
| 152 | </form>
|
---|
| 153 | }
|
---|
| 154 |
|
---|
| 155 |
|
---|
| 156 | #######################################################################
|
---|
| 157 | # step 1
|
---|
| 158 | #######################################################################
|
---|
| 159 |
|
---|
| 160 | #here goes the "memorization" macros for each form field.
|
---|
[16680] | 161 | #_di1md.Title_ {_If_("_:cgiargdi1md.Title_" eq "_cgiargdi1md.Title_",_cgiargdi1md.Title_,)}
|
---|
| 162 | #_di1md.Creator_ {_If_("_:cgiargdi1md.Creator_" eq "_cgiargdi1md.Creator_",_cgiargdi1md.Creator_,)}
|
---|
| 163 | #_di1md.Description_ {_If_("_:cgiargdi1md.Description_" eq "_cgiargdi1md.Description_",_cgiargdi1md.Description_,)}
|
---|
[28888] | 164 | #_di1md.Subject_ {_If_("_:cgiargdi1md.Subject_" eq "_cgiargdi1md.Subject_",_cgiargdi1md.Subject_,)}
|
---|
[11999] | 165 |
|
---|
| 166 | _step1scriptextra_ {
|
---|
| 167 |
|
---|
[29403] | 168 | _If_("_custommetadataconf_" ne "",_custommetadataconf_,_metadataconf_)
|
---|
[16680] | 169 | _cachedmetadatavalues_
|
---|
| 170 |
|
---|
| 171 | function loadForm() \{
|
---|
| 172 |
|
---|
| 173 | var formcontainer = document.getElementById('formcontainer');
|
---|
[22559] | 174 |
|
---|
[16680] | 175 | if (!formcontainer) \{
|
---|
| 176 | return;
|
---|
| 177 | \}
|
---|
[22559] | 178 |
|
---|
[16680] | 179 | for (i=0; i < DepositorMDFields.length; i++) \{
|
---|
| 180 | if (DepositorMDFields[i]==null) \{
|
---|
| 181 | continue;
|
---|
| 182 | \}
|
---|
| 183 | metadataField = DepositorMDFields[i];
|
---|
| 184 |
|
---|
| 185 | var labelCell = document.createElement("td");
|
---|
| 186 | labelCell.innerHTML = metadataField.label + ": ";
|
---|
[22559] | 187 | labelCell.setAttribute("title", metadataField.tooltip);
|
---|
| 188 |
|
---|
[16680] | 189 | var cachedValue;
|
---|
| 190 | if(CachedMDValues[0] !=null && CachedMDValues[0]["di1md." + metadataField.name])\{
|
---|
| 191 | cachedValue = CachedMDValues[0]["di1md." + metadataField.name];
|
---|
| 192 | \} else \{
|
---|
| 193 | cachedValue = "";
|
---|
| 194 | \}
|
---|
| 195 |
|
---|
| 196 | var inputObj;
|
---|
| 197 | if (metadataField.type=="text") \{
|
---|
[22559] | 198 | inputObj = document.createElement("input");
|
---|
| 199 | inputObj.setAttribute("type","text");
|
---|
[16680] | 200 | inputObj.setAttribute("size","74");
|
---|
| 201 | inputObj.setAttribute("value", cachedValue);
|
---|
| 202 | \}
|
---|
| 203 | else if (metadataField.type=="textarea") \{
|
---|
[22559] | 204 | inputObj = document.createElement("textarea");
|
---|
[16680] | 205 | inputObj.setAttribute("rows","5");
|
---|
| 206 | inputObj.setAttribute("cols", "40");
|
---|
| 207 | inputObj.innerHTML = cachedValue;
|
---|
| 208 | \}
|
---|
[22559] | 209 | inputObj.setAttribute("name", "di1md."+ metadataField.name);
|
---|
[16680] | 210 |
|
---|
| 211 | var inputCell = document.createElement("td");
|
---|
| 212 | inputCell.appendChild(inputObj);
|
---|
| 213 |
|
---|
| 214 | var entry = document.createElement("tr");
|
---|
| 215 | entry.appendChild(labelCell);
|
---|
| 216 | entry.appendChild(inputCell);
|
---|
| 217 |
|
---|
| 218 | formcontainer.appendChild(entry);
|
---|
| 219 | \}
|
---|
| 220 | \}
|
---|
| 221 |
|
---|
[11999] | 222 | function check\_submit (gotopage) \{
|
---|
| 223 | var form = document.depositorform;
|
---|
| 224 | form.p.value = gotopage;
|
---|
| 225 | form.submit();
|
---|
| 226 | \}
|
---|
[16680] | 227 |
|
---|
| 228 | if (window.addEventListener) window.addEventListener("load", loadForm, false);
|
---|
| 229 | else if (window.attachEvent) window.attachEvent("onload", loadForm);
|
---|
| 230 |
|
---|
[11999] | 231 | }
|
---|
| 232 |
|
---|
| 233 | _step1content_ {
|
---|
| 234 |
|
---|
| 235 | <form name="depositorform" method=post action="_gwcgi_" enctype="multipart/form-data">
|
---|
| 236 |
|
---|
[28898] | 237 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 238 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 239 |
|
---|
[16680] | 240 |
|
---|
[11999] | 241 | <center>
|
---|
| 242 | <table width=_pagewidth_>
|
---|
| 243 | <tr><td>
|
---|
| 244 | <div class="divbar"> </div>
|
---|
| 245 | <center>
|
---|
| 246 | <h2>_textstep1_</h2>
|
---|
| 247 | <p>_textdepositorblurb_
|
---|
| 248 | </center>
|
---|
| 249 | <div class="divbar"> </div>
|
---|
| 250 | <ul>
|
---|
| 251 |
|
---|
| 252 | <!--input goes here-->
|
---|
[16680] | 253 | <!--dynamic load the metadata elements as configured in the collection's collect.cfg-->
|
---|
[22559] | 254 | <p><table><tbody id="formcontainer"></tbody></table>
|
---|
[11999] | 255 |
|
---|
| 256 | <div class="divbar"> </div>
|
---|
| 257 | </td></tr>
|
---|
| 258 | <tr><td>_depositorbar_</td></tr>
|
---|
| 259 | </table></center>
|
---|
| 260 |
|
---|
| 261 | </form>
|
---|
| 262 |
|
---|
| 263 | }
|
---|
| 264 |
|
---|
| 265 | #######################################################################
|
---|
| 266 | # step 2
|
---|
| 267 | #######################################################################
|
---|
| 268 |
|
---|
[28888] | 269 | _userfile_ {_If_("_:cgiargdi1userfile_" eq "_cgiargdi1userfile_",_cgiargdi1userfileAttrsafe_,)}
|
---|
[11999] | 270 |
|
---|
| 271 | _step2scriptextra_ {
|
---|
| 272 |
|
---|
| 273 | function check\_submit (gotopage) \{
|
---|
| 274 | var form = document.depositorform;
|
---|
| 275 | form.p.value = gotopage;
|
---|
| 276 | form.submit();
|
---|
| 277 | \}
|
---|
| 278 | }
|
---|
| 279 |
|
---|
| 280 | _step2content_ {
|
---|
| 281 | <form name="depositorform" method=post action="_gwcgi_" enctype="multipart/form-data">
|
---|
[28898] | 282 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 283 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 284 | <center>
|
---|
| 285 | <table width=_pagewidth_>
|
---|
| 286 | <tr><td>
|
---|
| 287 | <div class="divbar"> </div>
|
---|
| 288 | <center><h2>_textstep2_</h2></center>
|
---|
| 289 | <div class="divbar"> </div>
|
---|
[14738] | 290 | <p>_textfilename_: <input type=file name=di1userfileinfo value="_userfile_"></p>
|
---|
[11999] | 291 | <div class="divbar"> </div>
|
---|
| 292 | </td></tr>
|
---|
| 293 | <tr><td>_depositorbar_</td></tr>
|
---|
| 294 | </table>
|
---|
| 295 | </center>
|
---|
| 296 | </form>
|
---|
| 297 | }
|
---|
| 298 |
|
---|
| 299 | #######################################################################
|
---|
| 300 | # step 3
|
---|
| 301 | #######################################################################
|
---|
| 302 |
|
---|
| 303 | #here goes the "memorization" macros for each form field.
|
---|
[16680] | 304 | #_di1_ {_If_("_:cgiargdi1md.Title_" eq "_cgiargdi1md.Title_",_cgiargdi1md.Title_,)}
|
---|
| 305 | #_di1md.Creator_ {_If_("_:cgiargdi1md.Creator_" eq "_cgiargdi1md.Creator_",_cgiargdi1md.Creator_,)}
|
---|
[11999] | 306 |
|
---|
| 307 | _step3scriptextra_ {
|
---|
| 308 |
|
---|
| 309 | function check\_submit (gotopage) \{
|
---|
| 310 | var form = document.depositorform;
|
---|
| 311 | form.p.value = gotopage;
|
---|
| 312 | form.submit();
|
---|
| 313 | \}
|
---|
| 314 | }
|
---|
| 315 |
|
---|
| 316 | _step3content_ {
|
---|
| 317 | <form name="depositorform" method=post action="_gwcgi_" enctype="multipart/form-data">
|
---|
[28898] | 318 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 319 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 320 | <center>
|
---|
| 321 | <table width=_pagewidth_>
|
---|
| 322 | <tr><td>
|
---|
| 323 | <div class="divbar"> </div>
|
---|
| 324 | <center><h2>_textstep3_</h2></center>
|
---|
| 325 | <div class="divbar"> </div>
|
---|
[14738] | 326 | <p>_textfilename_: _di1userfile_ </p>
|
---|
| 327 | <p>_textfilesize_: _di1userfilesize_ </p>
|
---|
[11999] | 328 | <div class="divbar"> </div>
|
---|
| 329 | </td></tr>
|
---|
| 330 | <tr><td>_depositorbar_</td></tr>
|
---|
| 331 | </table>
|
---|
| 332 | </center>
|
---|
| 333 | </form>
|
---|
| 334 | }
|
---|
| 335 |
|
---|
| 336 | #######################################################################
|
---|
| 337 | # bild (main frameset for build page)
|
---|
| 338 | #######################################################################
|
---|
| 339 |
|
---|
| 340 | _bildcontent_ {
|
---|
| 341 | <html>
|
---|
| 342 | <head>
|
---|
| 343 | <!--
|
---|
| 344 | <script>
|
---|
| 345 | function check\_submit (gotopage) \{
|
---|
| 346 | var form = document.depositorform;
|
---|
| 347 | form.p.value = gotopage;
|
---|
| 348 | form.submit();
|
---|
| 349 | \}
|
---|
| 350 | </script>
|
---|
| 351 | -->
|
---|
| 352 | </head>
|
---|
| 353 |
|
---|
| 354 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 355 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 356 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 357 |
|
---|
| 358 | <frameset rows="*,160" border=0>
|
---|
| 359 | <noframes><body bgcolor="#ffffff">
|
---|
| 360 | <p>You must have a frame enabled browser to obtain feedback
|
---|
| 361 | on how the building process is progressing. The collection <i>will</i>
|
---|
| 362 | continue to build as normal however.</p>
|
---|
| 363 |
|
---|
| 364 | <table>
|
---|
| 365 | <tr valign=center><td>
|
---|
| 366 | To stop the building process at any time, click here.
|
---|
| 367 | <br>The collection you are working on will remain intact.
|
---|
| 368 | </td>
|
---|
| 369 | <td><input type="submit" value="stop building"></td>
|
---|
| 370 | </table>
|
---|
| 371 |
|
---|
| 372 | </body>
|
---|
| 373 | </noframes>
|
---|
| 374 | <frame src="_gwcgi_?e=_compressedoptions_&p=bildframe1">
|
---|
| 375 | <frame src="_gwcgi_?e=_compressedoptions_&p=bildstatus">
|
---|
| 376 | </frameset>
|
---|
| 377 | </html>
|
---|
| 378 | }
|
---|
| 379 |
|
---|
| 380 | #######################################################################
|
---|
| 381 | # bildframe1
|
---|
| 382 | #######################################################################
|
---|
| 383 |
|
---|
| 384 | # header overridden to allow base target to be set
|
---|
[12578] | 385 |
|
---|
[11999] | 386 | _bildframe1header_ {_cgihead_
|
---|
| 387 | <html>
|
---|
| 388 | <head>
|
---|
| 389 | <base target=_top>
|
---|
| 390 | <title>_pagetitle_</title>
|
---|
| 391 | _globalscripts_
|
---|
[12578] | 392 | _cssheader_
|
---|
[11999] | 393 | </head>
|
---|
[19826] | 394 | <body class="bgimage">
|
---|
[12578] | 395 | _startspacer__pagebanner_
|
---|
[11999] | 396 | }
|
---|
| 397 |
|
---|
| 398 |
|
---|
| 399 | _bildframe1header_[v=1] {_cgihead_
|
---|
| 400 | <html>
|
---|
| 401 | <head>
|
---|
| 402 | <base target=_top>
|
---|
| 403 | <title>_pagetitle_</title>
|
---|
| 404 | _globalscripts_
|
---|
| 405 | </head>
|
---|
[19826] | 406 | <body class="bgimage">
|
---|
[12578] | 407 | _pagebanner_
|
---|
[11999] | 408 | }
|
---|
| 409 |
|
---|
| 410 | _bildframe1scriptextra_ {}
|
---|
| 411 |
|
---|
| 412 | _bildframe1content_ {
|
---|
| 413 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 414 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[11999] | 415 | <input type=hidden name="p" value="bildcancel">
|
---|
| 416 |
|
---|
| 417 | <center>
|
---|
| 418 | <table width=_pagewidth_>
|
---|
| 419 | <tr><td>
|
---|
| 420 | <div class="divbar"> </div>
|
---|
| 421 | <center>
|
---|
| 422 | <h2>_textbild_</h2>
|
---|
| 423 | </center>
|
---|
| 424 | <div class="divbar"> </div>
|
---|
| 425 | <p>
|
---|
| 426 | _depositor:textbild1_
|
---|
| 427 | <p>
|
---|
| 428 |
|
---|
| 429 | <table>
|
---|
| 430 | <tr valign=center><td>
|
---|
| 431 | _depositor:textbild2_
|
---|
| 432 | </td>
|
---|
| 433 | <td><input type="submit" value="_depositor:textstopbuild_"></td>
|
---|
| 434 | </table>
|
---|
| 435 |
|
---|
| 436 | <p>
|
---|
| 437 | _depositor:textbild3_
|
---|
| 438 | </td></tr>
|
---|
| 439 | </table></center>
|
---|
| 440 | </form>
|
---|
| 441 | }
|
---|
| 442 |
|
---|
| 443 |
|
---|
| 444 | #######################################################################
|
---|
| 445 | # bildcancel
|
---|
| 446 | #######################################################################
|
---|
| 447 |
|
---|
| 448 | _bildcancelscriptextra_ {
|
---|
| 449 | function check\_submit (gotopage) \{
|
---|
| 450 | var form = document.depositorform;
|
---|
| 451 | form.p.value = gotopage;
|
---|
| 452 | form.submit();
|
---|
| 453 | \}
|
---|
| 454 | }
|
---|
| 455 | _bildcancelcontent_ {
|
---|
| 456 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 457 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 458 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 459 |
|
---|
| 460 | </form>
|
---|
| 461 | <center>
|
---|
| 462 | <table width=_pagewidth_>
|
---|
| 463 | <tr><td>
|
---|
| 464 | <div class="divbar"> </div>
|
---|
| 465 | <center>
|
---|
| 466 | <h2>_depositor:textbuildcancelled_</h2>
|
---|
| 467 | </center>
|
---|
| 468 | <div class="divbar"> </div>
|
---|
| 469 | <p>
|
---|
| 470 | _depositor:textbildcancel1_
|
---|
| 471 | <p><center>
|
---|
| 472 | _depositorbar_
|
---|
| 473 | </center>
|
---|
| 474 |
|
---|
| 475 | </td></tr>
|
---|
| 476 | </table></center>
|
---|
| 477 | }
|
---|
| 478 |
|
---|
| 479 |
|
---|
| 480 | #######################################################################
|
---|
| 481 | # bildstatus
|
---|
| 482 | #######################################################################
|
---|
| 483 |
|
---|
| 484 | # special header for status page
|
---|
| 485 | _bildstatusheader_ {_cgihead_
|
---|
[19826] | 486 | _htmlhead_(class="bgimage" onLoad="initialize();")_startspacer_
|
---|
[11999] | 487 | }
|
---|
| 488 | _bildstatusheader_[v=1] {_cgihead_
|
---|
| 489 | _htmlhead_(onLoad="initialize();")
|
---|
| 490 | }
|
---|
| 491 |
|
---|
| 492 | _bildstatusscriptextra_ {
|
---|
| 493 | var timer = 5;
|
---|
| 494 | function initialize() \{
|
---|
| 495 | setTimeout("count_down()",1000);
|
---|
| 496 | \}
|
---|
| 497 |
|
---|
| 498 | function count_down() \{
|
---|
| 499 | if (timer==0) \{
|
---|
| 500 | window.status = "";
|
---|
| 501 | document.depositorform.submit();
|
---|
| 502 | \} else \{
|
---|
| 503 | if (timer==1) \{
|
---|
| 504 | window.status = "_textbsupdate1_";
|
---|
| 505 | \} else \{
|
---|
| 506 | window.status = "_textbsupdate2_ "+timer+" _textseconds_";
|
---|
| 507 | \}
|
---|
| 508 | timer--;
|
---|
| 509 | setTimeout("count_down()",1000);
|
---|
| 510 | \}
|
---|
| 511 | \}
|
---|
| 512 | }
|
---|
| 513 |
|
---|
| 514 | _bildstatuscontent_ {
|
---|
| 515 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 516 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[11999] | 517 |
|
---|
| 518 | <center>
|
---|
| 519 | <table width=_pagewidth_>
|
---|
| 520 | <tr><td><center>
|
---|
| 521 | _statusline_
|
---|
| 522 | </center>
|
---|
| 523 | </td></tr>
|
---|
| 524 | </table></center>
|
---|
| 525 | </form>
|
---|
| 526 | }
|
---|
| 527 |
|
---|
| 528 |
|
---|
| 529 | #######################################################################
|
---|
| 530 | # bilddone
|
---|
| 531 | #######################################################################
|
---|
| 532 |
|
---|
| 533 | _bilddoneheader_ {_cgihead_
|
---|
[19826] | 534 | _htmlhead_(class="bgimage")_startspacer_
|
---|
[11999] | 535 | }
|
---|
| 536 | _bilddonescriptextra_ {
|
---|
| 537 |
|
---|
| 538 | function check\_submit (gotopage) \{
|
---|
| 539 | var form = document.depositorform;
|
---|
| 540 | form.p.value = gotopage;
|
---|
| 541 | form.submit();
|
---|
| 542 | \}
|
---|
| 543 |
|
---|
| 544 | }
|
---|
| 545 |
|
---|
| 546 |
|
---|
| 547 | _bilddonecontent_ {
|
---|
| 548 | <center>
|
---|
| 549 | <table width=_pagewidth_>
|
---|
| 550 | <tr><td>
|
---|
| 551 | <p>_textbildsuc_
|
---|
| 552 |
|
---|
| 553 | <p>_textviewbildsummary_
|
---|
| 554 |
|
---|
| 555 | <p><center>
|
---|
| 556 | _depositorbar_
|
---|
| 557 | </center>
|
---|
| 558 |
|
---|
| 559 | </td></tr>
|
---|
| 560 | </table></center>
|
---|
| 561 | }
|
---|
| 562 |
|
---|
| 563 |
|
---|
| 564 | #######################################################################
|
---|
| 565 | # bildfail
|
---|
| 566 | #######################################################################
|
---|
| 567 |
|
---|
| 568 | _bildfailheader_ {_cgihead_
|
---|
[19826] | 569 | _htmlhead_(class="bgimage")_startspacer_
|
---|
[11999] | 570 | }
|
---|
| 571 | _bildfailscriptextra_ {
|
---|
| 572 | function check\_submit (gotopage) \{
|
---|
| 573 | var form = document.depositorform;
|
---|
| 574 | form.p.value = gotopage;
|
---|
| 575 | form.submit();
|
---|
| 576 | \}
|
---|
| 577 | }
|
---|
| 578 | _bildfailcontent_ {
|
---|
| 579 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 580 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 581 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 582 |
|
---|
| 583 | </form>
|
---|
| 584 |
|
---|
| 585 | <table width=_pagewidth_>
|
---|
| 586 | <tr><td>
|
---|
[12017] | 587 | _textfailmsg_
|
---|
[11999] | 588 | </td></tr>
|
---|
| 589 | <tr><td>
|
---|
| 590 | </td></tr>
|
---|
| 591 | </table></center>
|
---|
| 592 | }
|
---|
| 593 |
|
---|
| 594 | # _textfailmsg_ will be set to one of the following macros from within
|
---|
| 595 | # the server
|
---|
| 596 |
|
---|
| 597 | _textfailmsg1_ {
|
---|
| 598 | _textfailmsg11_
|
---|
| 599 | <p><center>
|
---|
| 600 | _depositorbar_
|
---|
| 601 | </center>
|
---|
| 602 | }
|
---|
| 603 |
|
---|
| 604 | _textfailmsg6_ {_textfailmsg1_}
|
---|
| 605 |
|
---|
| 606 | _textfailmsg2_ {
|
---|
| 607 | _textfailmsg21_
|
---|
| 608 | <p>_textblcont_
|
---|
| 609 | <p>_faillog_
|
---|
| 610 | <p>_texttryagain_
|
---|
| 611 | }
|
---|
| 612 |
|
---|
| 613 | _textfailmsg3_ {
|
---|
| 614 | _textfailmsg31_
|
---|
| 615 | <p>_textblcont_
|
---|
| 616 | <p>_faillog_
|
---|
| 617 | <p>_texttryagain_
|
---|
| 618 | }
|
---|
| 619 |
|
---|
| 620 | _textfailmsg4_ {
|
---|
| 621 | _textfailmsg41_
|
---|
| 622 | <p>_textblcont_
|
---|
| 623 | <p>_faillog_
|
---|
| 624 | }
|
---|
| 625 |
|
---|
| 626 | _textfailmsg5_ {_textfailmsg4_}
|
---|
| 627 |
|
---|
| 628 | _textfailmsg7_ {
|
---|
| 629 | _textfailmsg71_
|
---|
| 630 | <p>_texttryagain_
|
---|
| 631 | }
|
---|
| 632 |
|
---|
| 633 | #######################################################################
|
---|
| 634 | # Error and message pages
|
---|
| 635 | #######################################################################
|
---|
| 636 |
|
---|
| 637 | _messagehead_ {
|
---|
| 638 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 639 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[11999] | 640 |
|
---|
| 641 | <center>
|
---|
| 642 | <table width=_pagewidth_>
|
---|
| 643 | <tr><td>
|
---|
| 644 | <div class="divbar"> </div>
|
---|
| 645 | }
|
---|
| 646 |
|
---|
| 647 | _messagefoot_ {
|
---|
| 648 | <p>
|
---|
| 649 | <a href="javascript:document.depositorform.submit();">_textretcoll_</a>
|
---|
| 650 | <div class="divbar"> </div>
|
---|
| 651 | </td></tr>
|
---|
| 652 | </table></center>
|
---|
| 653 | </form>
|
---|
| 654 | }
|
---|
| 655 |
|
---|
| 656 | _messagefootnolink_ {
|
---|
| 657 | <div class="divbar"> </div>
|
---|
| 658 | </td></tr>
|
---|
| 659 | </table></center>
|
---|
| 660 | </form>
|
---|
| 661 | }
|
---|
| 662 |
|
---|
[12522] | 663 | #_delpermissioncontent_ {
|
---|
| 664 | #_messagehead_
|
---|
| 665 | #<p>
|
---|
| 666 | #_textdelperm_
|
---|
| 667 | #_messagefoot_
|
---|
| 668 | #}
|
---|
[11999] | 669 |
|
---|
[12522] | 670 | #_delinvalidcontent_ {
|
---|
| 671 | #_messagehead_
|
---|
| 672 | #<p>
|
---|
| 673 | #_textdelinv_
|
---|
| 674 | #_messagefoot_
|
---|
| 675 | #}
|
---|
[11999] | 676 |
|
---|
[12522] | 677 | #_delsuccesscontent_ {
|
---|
| 678 | #_messagehead_
|
---|
| 679 | #<p>
|
---|
| 680 | #_textdelsuc_
|
---|
| 681 | #_messagefoot_
|
---|
| 682 | #}
|
---|
[11999] | 683 |
|
---|
[12522] | 684 | #_clonefailcontent_ {
|
---|
| 685 | #_messagehead_
|
---|
| 686 | #<input type=hidden name="bc1clone" value="0">
|
---|
| 687 | #<p>_textclonefail_
|
---|
| 688 | #_messagefoot_
|
---|
| 689 | #}
|
---|
[11999] | 690 |
|
---|
| 691 | _genericcontent_ {
|
---|
| 692 | _messagehead_
|
---|
| 693 | <p>_textcolerr_
|
---|
| 694 | _messagefoot_
|
---|
| 695 | }
|
---|
| 696 |
|
---|
| 697 | _tmpfailcontent_ {
|
---|
| 698 | _messagehead_
|
---|
| 699 | <p>
|
---|
| 700 | _texttmpfail_
|
---|
| 701 | _messagefoot_
|
---|
| 702 | }
|
---|
| 703 |
|
---|
[12522] | 704 | #_mkcolfailcontent_ {
|
---|
| 705 | #_messagehead_
|
---|
| 706 | #<p>_textmkcolfail_
|
---|
| 707 | #_messagefoot_
|
---|
| 708 | #}
|
---|
[11999] | 709 |
|
---|
| 710 | _nocollectioncontent_ {
|
---|
| 711 | _messagehead_
|
---|
| 712 | <p>_textnocontent_
|
---|
| 713 | <br><a href="_httppagedepositor_">_textrestart_</a>
|
---|
| 714 | <p>
|
---|
| 715 | _messagefootnolink_
|
---|
| 716 | }
|
---|
| 717 |
|
---|
[12522] | 718 | #_reloaderrorcontent_ {
|
---|
| 719 | #_messagehead_
|
---|
| 720 | #<p>_textreloaderror_
|
---|
| 721 | #<br><a href="_httppagedepositor_">_textrestart_</a>
|
---|
| 722 | #<p>
|
---|
| 723 | #_messagefootnolink_
|
---|
| 724 | #}
|
---|
[11999] | 725 |
|
---|
| 726 | _exptscriptextra_ {}
|
---|
| 727 |
|
---|
[12522] | 728 | #_exptsuccesscontent_ {
|
---|
| 729 | #_messagehead_
|
---|
| 730 | #<input type=hidden name=p value=existing>
|
---|
| 731 | #<p>_textexptsuc_
|
---|
| 732 | #_messagefoot_
|
---|
| 733 | #}
|
---|
[11999] | 734 |
|
---|
[12522] | 735 | #_exptfailcontent_ {
|
---|
| 736 | #_messagehead_
|
---|
| 737 | #<input type=hidden name=p value=existing>
|
---|
| 738 | #_textexptfail_
|
---|
| 739 | #_messagefoot_
|
---|
| 740 | #}
|
---|
[11999] | 741 |
|
---|
| 742 | #######################################################################
|
---|
| 743 | # depositonly
|
---|
| 744 | #######################################################################
|
---|
| 745 |
|
---|
| 746 | _depositonlyscriptextra_ {}
|
---|
| 747 |
|
---|
| 748 | _depositonlycontent_ {
|
---|
| 749 |
|
---|
| 750 | <center>
|
---|
| 751 | <em>Thanks for using the Depositor! Cick <a href="_gwcgi_">here</a> to return to the Greenstone home page. </em>
|
---|
| 752 | <table width=_pagewidth_>
|
---|
| 753 | <tr><td>
|
---|
| 754 | <div class="divbar"> </div>
|
---|
| 755 | <center><h2>_textstep3_</h2></center>
|
---|
| 756 | <div class="divbar"> </div>
|
---|
[14738] | 757 | <p>_textfilename_: _di1userfile_ </p>
|
---|
| 758 | <p>_textfilesize_: _di1userfilesize_ </p>
|
---|
[11999] | 759 | <div class="divbar"> </div>
|
---|
| 760 | </td></tr>
|
---|
| 761 | <tr><td></td></tr>
|
---|
| 762 | </table>
|
---|
| 763 | </center>
|
---|
| 764 |
|
---|
| 765 | }
|
---|
[13316] | 766 |
|
---|
| 767 | ###################################################
|
---|
| 768 | ## text macros that are defined by another package
|
---|
| 769 | ###################################################
|
---|
| 770 |
|
---|
| 771 |
|
---|
| 772 | _textbsupdate1_ {_wizard:textbsupdate1_}
|
---|
| 773 | _textbsupdate2_ {_wizard:textbsupdate2_}
|
---|
| 774 | _textseconds_ {_wizard:textseconds_}
|
---|
| 775 |
|
---|
| 776 | _textbildsuc_ {_wizard:textbildsuc_}
|
---|
| 777 | _textviewbildsummary_ {_wizard:textviewbildsummary_}
|
---|
| 778 |
|
---|
| 779 | _textview_ {_wizard:textview_}
|
---|
| 780 | _textbild1_ {_wizard:textbild1_}
|
---|
| 781 |
|
---|
| 782 | _textbild2_ {_wizard:textbild2_}
|
---|
| 783 |
|
---|
| 784 | _textstopbuild_ {_wizard:textstopbuild_}
|
---|
| 785 |
|
---|
| 786 | _textbild3_ {_wizard:textbild3_}
|
---|
| 787 |
|
---|
| 788 | _textbuildcancelled_ {_wizard:textbuildcancelled_}
|
---|
| 789 |
|
---|
| 790 | _textbildcancel1_ {_wizard:textbildcancel1_}
|
---|
| 791 |
|
---|
| 792 | _textfailmsg11_ {_wizard:textfailmsg11_}
|
---|
| 793 | _textfailmsg21_ {_wizard:textfailmsg21_}
|
---|
| 794 | _textblcont_ {_wizard:textblcont_}
|
---|
| 795 |
|
---|
| 796 | _textfailmsg31_ {_wizard:textfailmsg31_}
|
---|
| 797 | _textfailmsg41_ {_wizard:textfailmsg41_}
|
---|
| 798 | _textfailmsg71_ {_wizard:textfailmsg71_}
|
---|