[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 |
|
---|
[31951] | 196 | var inputObj;
|
---|
[16680] | 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) \{
|
---|
[31951] | 223 |
|
---|
| 224 | // escape any commas in the metadata fields in order to preserve them
|
---|
| 225 | // preserve any commas in the metadata fields by escaping them here
|
---|
| 226 | // so that meta values containing commas don't end up split at comma by depositoraction.cpp
|
---|
| 227 |
|
---|
| 228 | // Get just the part of form containing metadata input elements
|
---|
| 229 | // as we don't want to modify any other part of the form
|
---|
| 230 | var formContainer = document.getElementById('formcontainer');
|
---|
| 231 | // https://stackoverflow.com/questions/25302684/getting-all-child-input-elements-within-a-div
|
---|
| 232 | var inputNodes = formContainer.getElementsByTagName('input');
|
---|
| 233 | for(var i = 0; i < inputNodes.length; i++) \{
|
---|
| 234 | var inputNode = inputNodes[i];
|
---|
| 235 | if(inputNode.type == 'text') \{
|
---|
| 236 | if(inputNode.value) \{
|
---|
| 237 | var val = inputNode.value;
|
---|
| 238 | // To replace all occurrences in a string, and not just the 1st, need to do a global
|
---|
| 239 | // substitution. See https://www.w3schools.com/jsref/jsref_replace.asp
|
---|
| 240 | inputNode.value = val.replace(/,/g, "%2C");
|
---|
| 241 | \}
|
---|
| 242 | \}
|
---|
| 243 | \}
|
---|
| 244 |
|
---|
| 245 | // Proceed as usual from here on to submit the modified form
|
---|
| 246 |
|
---|
[11999] | 247 | var form = document.depositorform;
|
---|
| 248 | form.p.value = gotopage;
|
---|
| 249 | form.submit();
|
---|
| 250 | \}
|
---|
[16680] | 251 |
|
---|
| 252 | if (window.addEventListener) window.addEventListener("load", loadForm, false);
|
---|
| 253 | else if (window.attachEvent) window.attachEvent("onload", loadForm);
|
---|
| 254 |
|
---|
[11999] | 255 | }
|
---|
| 256 |
|
---|
| 257 | _step1content_ {
|
---|
| 258 |
|
---|
| 259 | <form name="depositorform" method=post action="_gwcgi_" enctype="multipart/form-data">
|
---|
| 260 |
|
---|
[28898] | 261 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 262 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 263 |
|
---|
[16680] | 264 |
|
---|
[11999] | 265 | <center>
|
---|
| 266 | <table width=_pagewidth_>
|
---|
| 267 | <tr><td>
|
---|
| 268 | <div class="divbar"> </div>
|
---|
| 269 | <center>
|
---|
| 270 | <h2>_textstep1_</h2>
|
---|
| 271 | <p>_textdepositorblurb_
|
---|
| 272 | </center>
|
---|
| 273 | <div class="divbar"> </div>
|
---|
| 274 | <ul>
|
---|
| 275 |
|
---|
| 276 | <!--input goes here-->
|
---|
[16680] | 277 | <!--dynamic load the metadata elements as configured in the collection's collect.cfg-->
|
---|
[22559] | 278 | <p><table><tbody id="formcontainer"></tbody></table>
|
---|
[11999] | 279 |
|
---|
| 280 | <div class="divbar"> </div>
|
---|
| 281 | </td></tr>
|
---|
| 282 | <tr><td>_depositorbar_</td></tr>
|
---|
| 283 | </table></center>
|
---|
| 284 |
|
---|
| 285 | </form>
|
---|
| 286 |
|
---|
| 287 | }
|
---|
| 288 |
|
---|
| 289 | #######################################################################
|
---|
| 290 | # step 2
|
---|
| 291 | #######################################################################
|
---|
| 292 |
|
---|
[28888] | 293 | _userfile_ {_If_("_:cgiargdi1userfile_" eq "_cgiargdi1userfile_",_cgiargdi1userfileAttrsafe_,)}
|
---|
[11999] | 294 |
|
---|
| 295 | _step2scriptextra_ {
|
---|
| 296 |
|
---|
| 297 | function check\_submit (gotopage) \{
|
---|
| 298 | var form = document.depositorform;
|
---|
| 299 | form.p.value = gotopage;
|
---|
| 300 | form.submit();
|
---|
| 301 | \}
|
---|
| 302 | }
|
---|
| 303 |
|
---|
| 304 | _step2content_ {
|
---|
| 305 | <form name="depositorform" method=post action="_gwcgi_" enctype="multipart/form-data">
|
---|
[28898] | 306 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 307 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 308 | <center>
|
---|
| 309 | <table width=_pagewidth_>
|
---|
| 310 | <tr><td>
|
---|
| 311 | <div class="divbar"> </div>
|
---|
| 312 | <center><h2>_textstep2_</h2></center>
|
---|
| 313 | <div class="divbar"> </div>
|
---|
[14738] | 314 | <p>_textfilename_: <input type=file name=di1userfileinfo value="_userfile_"></p>
|
---|
[11999] | 315 | <div class="divbar"> </div>
|
---|
| 316 | </td></tr>
|
---|
| 317 | <tr><td>_depositorbar_</td></tr>
|
---|
| 318 | </table>
|
---|
| 319 | </center>
|
---|
| 320 | </form>
|
---|
| 321 | }
|
---|
| 322 |
|
---|
| 323 | #######################################################################
|
---|
| 324 | # step 3
|
---|
| 325 | #######################################################################
|
---|
| 326 |
|
---|
| 327 | #here goes the "memorization" macros for each form field.
|
---|
[16680] | 328 | #_di1_ {_If_("_:cgiargdi1md.Title_" eq "_cgiargdi1md.Title_",_cgiargdi1md.Title_,)}
|
---|
| 329 | #_di1md.Creator_ {_If_("_:cgiargdi1md.Creator_" eq "_cgiargdi1md.Creator_",_cgiargdi1md.Creator_,)}
|
---|
[11999] | 330 |
|
---|
| 331 | _step3scriptextra_ {
|
---|
| 332 |
|
---|
| 333 | function check\_submit (gotopage) \{
|
---|
| 334 | var form = document.depositorform;
|
---|
| 335 | form.p.value = gotopage;
|
---|
| 336 | form.submit();
|
---|
| 337 | \}
|
---|
| 338 | }
|
---|
| 339 |
|
---|
| 340 | _step3content_ {
|
---|
| 341 | <form name="depositorform" method=post action="_gwcgi_" enctype="multipart/form-data">
|
---|
[28898] | 342 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 343 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 344 | <center>
|
---|
| 345 | <table width=_pagewidth_>
|
---|
| 346 | <tr><td>
|
---|
| 347 | <div class="divbar"> </div>
|
---|
| 348 | <center><h2>_textstep3_</h2></center>
|
---|
| 349 | <div class="divbar"> </div>
|
---|
[14738] | 350 | <p>_textfilename_: _di1userfile_ </p>
|
---|
| 351 | <p>_textfilesize_: _di1userfilesize_ </p>
|
---|
[11999] | 352 | <div class="divbar"> </div>
|
---|
| 353 | </td></tr>
|
---|
| 354 | <tr><td>_depositorbar_</td></tr>
|
---|
| 355 | </table>
|
---|
| 356 | </center>
|
---|
| 357 | </form>
|
---|
| 358 | }
|
---|
| 359 |
|
---|
| 360 | #######################################################################
|
---|
| 361 | # bild (main frameset for build page)
|
---|
| 362 | #######################################################################
|
---|
| 363 |
|
---|
| 364 | _bildcontent_ {
|
---|
| 365 | <html>
|
---|
| 366 | <head>
|
---|
| 367 | <!--
|
---|
| 368 | <script>
|
---|
| 369 | function check\_submit (gotopage) \{
|
---|
| 370 | var form = document.depositorform;
|
---|
| 371 | form.p.value = gotopage;
|
---|
| 372 | form.submit();
|
---|
| 373 | \}
|
---|
| 374 | </script>
|
---|
| 375 | -->
|
---|
| 376 | </head>
|
---|
| 377 |
|
---|
| 378 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 379 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 380 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 381 |
|
---|
| 382 | <frameset rows="*,160" border=0>
|
---|
| 383 | <noframes><body bgcolor="#ffffff">
|
---|
| 384 | <p>You must have a frame enabled browser to obtain feedback
|
---|
| 385 | on how the building process is progressing. The collection <i>will</i>
|
---|
| 386 | continue to build as normal however.</p>
|
---|
| 387 |
|
---|
| 388 | <table>
|
---|
| 389 | <tr valign=center><td>
|
---|
| 390 | To stop the building process at any time, click here.
|
---|
| 391 | <br>The collection you are working on will remain intact.
|
---|
| 392 | </td>
|
---|
| 393 | <td><input type="submit" value="stop building"></td>
|
---|
| 394 | </table>
|
---|
| 395 |
|
---|
| 396 | </body>
|
---|
| 397 | </noframes>
|
---|
| 398 | <frame src="_gwcgi_?e=_compressedoptions_&p=bildframe1">
|
---|
| 399 | <frame src="_gwcgi_?e=_compressedoptions_&p=bildstatus">
|
---|
| 400 | </frameset>
|
---|
| 401 | </html>
|
---|
| 402 | }
|
---|
| 403 |
|
---|
| 404 | #######################################################################
|
---|
| 405 | # bildframe1
|
---|
| 406 | #######################################################################
|
---|
| 407 |
|
---|
| 408 | # header overridden to allow base target to be set
|
---|
[12578] | 409 |
|
---|
[11999] | 410 | _bildframe1header_ {_cgihead_
|
---|
| 411 | <html>
|
---|
| 412 | <head>
|
---|
| 413 | <base target=_top>
|
---|
| 414 | <title>_pagetitle_</title>
|
---|
| 415 | _globalscripts_
|
---|
[12578] | 416 | _cssheader_
|
---|
[11999] | 417 | </head>
|
---|
[19826] | 418 | <body class="bgimage">
|
---|
[12578] | 419 | _startspacer__pagebanner_
|
---|
[11999] | 420 | }
|
---|
| 421 |
|
---|
| 422 |
|
---|
| 423 | _bildframe1header_[v=1] {_cgihead_
|
---|
| 424 | <html>
|
---|
| 425 | <head>
|
---|
| 426 | <base target=_top>
|
---|
| 427 | <title>_pagetitle_</title>
|
---|
| 428 | _globalscripts_
|
---|
| 429 | </head>
|
---|
[19826] | 430 | <body class="bgimage">
|
---|
[12578] | 431 | _pagebanner_
|
---|
[11999] | 432 | }
|
---|
| 433 |
|
---|
| 434 | _bildframe1scriptextra_ {}
|
---|
| 435 |
|
---|
| 436 | _bildframe1content_ {
|
---|
| 437 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 438 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[11999] | 439 | <input type=hidden name="p" value="bildcancel">
|
---|
| 440 |
|
---|
| 441 | <center>
|
---|
| 442 | <table width=_pagewidth_>
|
---|
| 443 | <tr><td>
|
---|
| 444 | <div class="divbar"> </div>
|
---|
| 445 | <center>
|
---|
| 446 | <h2>_textbild_</h2>
|
---|
| 447 | </center>
|
---|
| 448 | <div class="divbar"> </div>
|
---|
| 449 | <p>
|
---|
| 450 | _depositor:textbild1_
|
---|
| 451 | <p>
|
---|
| 452 |
|
---|
| 453 | <table>
|
---|
| 454 | <tr valign=center><td>
|
---|
| 455 | _depositor:textbild2_
|
---|
| 456 | </td>
|
---|
| 457 | <td><input type="submit" value="_depositor:textstopbuild_"></td>
|
---|
| 458 | </table>
|
---|
| 459 |
|
---|
| 460 | <p>
|
---|
| 461 | _depositor:textbild3_
|
---|
| 462 | </td></tr>
|
---|
| 463 | </table></center>
|
---|
| 464 | </form>
|
---|
| 465 | }
|
---|
| 466 |
|
---|
| 467 |
|
---|
| 468 | #######################################################################
|
---|
| 469 | # bildcancel
|
---|
| 470 | #######################################################################
|
---|
| 471 |
|
---|
| 472 | _bildcancelscriptextra_ {
|
---|
| 473 | function check\_submit (gotopage) \{
|
---|
| 474 | var form = document.depositorform;
|
---|
| 475 | form.p.value = gotopage;
|
---|
| 476 | form.submit();
|
---|
| 477 | \}
|
---|
| 478 | }
|
---|
| 479 | _bildcancelcontent_ {
|
---|
| 480 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 481 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 482 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 483 |
|
---|
| 484 | </form>
|
---|
| 485 | <center>
|
---|
| 486 | <table width=_pagewidth_>
|
---|
| 487 | <tr><td>
|
---|
| 488 | <div class="divbar"> </div>
|
---|
| 489 | <center>
|
---|
| 490 | <h2>_depositor:textbuildcancelled_</h2>
|
---|
| 491 | </center>
|
---|
| 492 | <div class="divbar"> </div>
|
---|
| 493 | <p>
|
---|
| 494 | _depositor:textbildcancel1_
|
---|
| 495 | <p><center>
|
---|
| 496 | _depositorbar_
|
---|
| 497 | </center>
|
---|
| 498 |
|
---|
| 499 | </td></tr>
|
---|
| 500 | </table></center>
|
---|
| 501 | }
|
---|
| 502 |
|
---|
| 503 |
|
---|
| 504 | #######################################################################
|
---|
| 505 | # bildstatus
|
---|
| 506 | #######################################################################
|
---|
| 507 |
|
---|
| 508 | # special header for status page
|
---|
| 509 | _bildstatusheader_ {_cgihead_
|
---|
[19826] | 510 | _htmlhead_(class="bgimage" onLoad="initialize();")_startspacer_
|
---|
[11999] | 511 | }
|
---|
| 512 | _bildstatusheader_[v=1] {_cgihead_
|
---|
| 513 | _htmlhead_(onLoad="initialize();")
|
---|
| 514 | }
|
---|
| 515 |
|
---|
| 516 | _bildstatusscriptextra_ {
|
---|
| 517 | var timer = 5;
|
---|
| 518 | function initialize() \{
|
---|
| 519 | setTimeout("count_down()",1000);
|
---|
| 520 | \}
|
---|
| 521 |
|
---|
| 522 | function count_down() \{
|
---|
| 523 | if (timer==0) \{
|
---|
| 524 | window.status = "";
|
---|
| 525 | document.depositorform.submit();
|
---|
| 526 | \} else \{
|
---|
| 527 | if (timer==1) \{
|
---|
| 528 | window.status = "_textbsupdate1_";
|
---|
| 529 | \} else \{
|
---|
| 530 | window.status = "_textbsupdate2_ "+timer+" _textseconds_";
|
---|
| 531 | \}
|
---|
| 532 | timer--;
|
---|
| 533 | setTimeout("count_down()",1000);
|
---|
| 534 | \}
|
---|
| 535 | \}
|
---|
| 536 | }
|
---|
| 537 |
|
---|
| 538 | _bildstatuscontent_ {
|
---|
| 539 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 540 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[11999] | 541 |
|
---|
| 542 | <center>
|
---|
| 543 | <table width=_pagewidth_>
|
---|
| 544 | <tr><td><center>
|
---|
| 545 | _statusline_
|
---|
| 546 | </center>
|
---|
| 547 | </td></tr>
|
---|
| 548 | </table></center>
|
---|
| 549 | </form>
|
---|
| 550 | }
|
---|
| 551 |
|
---|
| 552 |
|
---|
| 553 | #######################################################################
|
---|
| 554 | # bilddone
|
---|
| 555 | #######################################################################
|
---|
| 556 |
|
---|
| 557 | _bilddoneheader_ {_cgihead_
|
---|
[19826] | 558 | _htmlhead_(class="bgimage")_startspacer_
|
---|
[11999] | 559 | }
|
---|
| 560 | _bilddonescriptextra_ {
|
---|
| 561 |
|
---|
| 562 | function check\_submit (gotopage) \{
|
---|
| 563 | var form = document.depositorform;
|
---|
| 564 | form.p.value = gotopage;
|
---|
| 565 | form.submit();
|
---|
| 566 | \}
|
---|
| 567 |
|
---|
| 568 | }
|
---|
| 569 |
|
---|
| 570 |
|
---|
| 571 | _bilddonecontent_ {
|
---|
| 572 | <center>
|
---|
| 573 | <table width=_pagewidth_>
|
---|
| 574 | <tr><td>
|
---|
| 575 | <p>_textbildsuc_
|
---|
| 576 |
|
---|
| 577 | <p>_textviewbildsummary_
|
---|
| 578 |
|
---|
| 579 | <p><center>
|
---|
| 580 | _depositorbar_
|
---|
| 581 | </center>
|
---|
| 582 |
|
---|
| 583 | </td></tr>
|
---|
| 584 | </table></center>
|
---|
| 585 | }
|
---|
| 586 |
|
---|
| 587 |
|
---|
| 588 | #######################################################################
|
---|
| 589 | # bildfail
|
---|
| 590 | #######################################################################
|
---|
| 591 |
|
---|
| 592 | _bildfailheader_ {_cgihead_
|
---|
[19826] | 593 | _htmlhead_(class="bgimage")_startspacer_
|
---|
[11999] | 594 | }
|
---|
| 595 | _bildfailscriptextra_ {
|
---|
| 596 | function check\_submit (gotopage) \{
|
---|
| 597 | var form = document.depositorform;
|
---|
| 598 | form.p.value = gotopage;
|
---|
| 599 | form.submit();
|
---|
| 600 | \}
|
---|
| 601 | }
|
---|
| 602 | _bildfailcontent_ {
|
---|
| 603 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 604 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[28888] | 605 | <input type=hidden name="p" value="_cgiargpAttrsafe_">
|
---|
[11999] | 606 |
|
---|
| 607 | </form>
|
---|
| 608 |
|
---|
| 609 | <table width=_pagewidth_>
|
---|
| 610 | <tr><td>
|
---|
[12017] | 611 | _textfailmsg_
|
---|
[11999] | 612 | </td></tr>
|
---|
| 613 | <tr><td>
|
---|
| 614 | </td></tr>
|
---|
| 615 | </table></center>
|
---|
| 616 | }
|
---|
| 617 |
|
---|
| 618 | # _textfailmsg_ will be set to one of the following macros from within
|
---|
| 619 | # the server
|
---|
| 620 |
|
---|
| 621 | _textfailmsg1_ {
|
---|
| 622 | _textfailmsg11_
|
---|
| 623 | <p><center>
|
---|
| 624 | _depositorbar_
|
---|
| 625 | </center>
|
---|
| 626 | }
|
---|
| 627 |
|
---|
| 628 | _textfailmsg6_ {_textfailmsg1_}
|
---|
| 629 |
|
---|
| 630 | _textfailmsg2_ {
|
---|
| 631 | _textfailmsg21_
|
---|
| 632 | <p>_textblcont_
|
---|
| 633 | <p>_faillog_
|
---|
| 634 | <p>_texttryagain_
|
---|
| 635 | }
|
---|
| 636 |
|
---|
| 637 | _textfailmsg3_ {
|
---|
| 638 | _textfailmsg31_
|
---|
| 639 | <p>_textblcont_
|
---|
| 640 | <p>_faillog_
|
---|
| 641 | <p>_texttryagain_
|
---|
| 642 | }
|
---|
| 643 |
|
---|
| 644 | _textfailmsg4_ {
|
---|
| 645 | _textfailmsg41_
|
---|
| 646 | <p>_textblcont_
|
---|
| 647 | <p>_faillog_
|
---|
| 648 | }
|
---|
| 649 |
|
---|
| 650 | _textfailmsg5_ {_textfailmsg4_}
|
---|
| 651 |
|
---|
| 652 | _textfailmsg7_ {
|
---|
| 653 | _textfailmsg71_
|
---|
| 654 | <p>_texttryagain_
|
---|
| 655 | }
|
---|
| 656 |
|
---|
| 657 | #######################################################################
|
---|
| 658 | # Error and message pages
|
---|
| 659 | #######################################################################
|
---|
| 660 |
|
---|
| 661 | _messagehead_ {
|
---|
| 662 | <form name="depositorform" method=post action="_gwcgi_">
|
---|
[28898] | 663 | <input type=hidden name="e" value="_decodedcompressedoptionsAttrsafe_">
|
---|
[11999] | 664 |
|
---|
| 665 | <center>
|
---|
| 666 | <table width=_pagewidth_>
|
---|
| 667 | <tr><td>
|
---|
| 668 | <div class="divbar"> </div>
|
---|
| 669 | }
|
---|
| 670 |
|
---|
| 671 | _messagefoot_ {
|
---|
| 672 | <p>
|
---|
| 673 | <a href="javascript:document.depositorform.submit();">_textretcoll_</a>
|
---|
| 674 | <div class="divbar"> </div>
|
---|
| 675 | </td></tr>
|
---|
| 676 | </table></center>
|
---|
| 677 | </form>
|
---|
| 678 | }
|
---|
| 679 |
|
---|
| 680 | _messagefootnolink_ {
|
---|
| 681 | <div class="divbar"> </div>
|
---|
| 682 | </td></tr>
|
---|
| 683 | </table></center>
|
---|
| 684 | </form>
|
---|
| 685 | }
|
---|
| 686 |
|
---|
[12522] | 687 | #_delpermissioncontent_ {
|
---|
| 688 | #_messagehead_
|
---|
| 689 | #<p>
|
---|
| 690 | #_textdelperm_
|
---|
| 691 | #_messagefoot_
|
---|
| 692 | #}
|
---|
[11999] | 693 |
|
---|
[12522] | 694 | #_delinvalidcontent_ {
|
---|
| 695 | #_messagehead_
|
---|
| 696 | #<p>
|
---|
| 697 | #_textdelinv_
|
---|
| 698 | #_messagefoot_
|
---|
| 699 | #}
|
---|
[11999] | 700 |
|
---|
[12522] | 701 | #_delsuccesscontent_ {
|
---|
| 702 | #_messagehead_
|
---|
| 703 | #<p>
|
---|
| 704 | #_textdelsuc_
|
---|
| 705 | #_messagefoot_
|
---|
| 706 | #}
|
---|
[11999] | 707 |
|
---|
[12522] | 708 | #_clonefailcontent_ {
|
---|
| 709 | #_messagehead_
|
---|
| 710 | #<input type=hidden name="bc1clone" value="0">
|
---|
| 711 | #<p>_textclonefail_
|
---|
| 712 | #_messagefoot_
|
---|
| 713 | #}
|
---|
[11999] | 714 |
|
---|
| 715 | _genericcontent_ {
|
---|
| 716 | _messagehead_
|
---|
| 717 | <p>_textcolerr_
|
---|
| 718 | _messagefoot_
|
---|
| 719 | }
|
---|
| 720 |
|
---|
| 721 | _tmpfailcontent_ {
|
---|
| 722 | _messagehead_
|
---|
| 723 | <p>
|
---|
| 724 | _texttmpfail_
|
---|
| 725 | _messagefoot_
|
---|
| 726 | }
|
---|
| 727 |
|
---|
[12522] | 728 | #_mkcolfailcontent_ {
|
---|
| 729 | #_messagehead_
|
---|
| 730 | #<p>_textmkcolfail_
|
---|
| 731 | #_messagefoot_
|
---|
| 732 | #}
|
---|
[11999] | 733 |
|
---|
| 734 | _nocollectioncontent_ {
|
---|
| 735 | _messagehead_
|
---|
| 736 | <p>_textnocontent_
|
---|
| 737 | <br><a href="_httppagedepositor_">_textrestart_</a>
|
---|
| 738 | <p>
|
---|
| 739 | _messagefootnolink_
|
---|
| 740 | }
|
---|
| 741 |
|
---|
[12522] | 742 | #_reloaderrorcontent_ {
|
---|
| 743 | #_messagehead_
|
---|
| 744 | #<p>_textreloaderror_
|
---|
| 745 | #<br><a href="_httppagedepositor_">_textrestart_</a>
|
---|
| 746 | #<p>
|
---|
| 747 | #_messagefootnolink_
|
---|
| 748 | #}
|
---|
[11999] | 749 |
|
---|
| 750 | _exptscriptextra_ {}
|
---|
| 751 |
|
---|
[12522] | 752 | #_exptsuccesscontent_ {
|
---|
| 753 | #_messagehead_
|
---|
| 754 | #<input type=hidden name=p value=existing>
|
---|
| 755 | #<p>_textexptsuc_
|
---|
| 756 | #_messagefoot_
|
---|
| 757 | #}
|
---|
[11999] | 758 |
|
---|
[12522] | 759 | #_exptfailcontent_ {
|
---|
| 760 | #_messagehead_
|
---|
| 761 | #<input type=hidden name=p value=existing>
|
---|
| 762 | #_textexptfail_
|
---|
| 763 | #_messagefoot_
|
---|
| 764 | #}
|
---|
[11999] | 765 |
|
---|
| 766 | #######################################################################
|
---|
| 767 | # depositonly
|
---|
| 768 | #######################################################################
|
---|
| 769 |
|
---|
| 770 | _depositonlyscriptextra_ {}
|
---|
| 771 |
|
---|
| 772 | _depositonlycontent_ {
|
---|
| 773 |
|
---|
| 774 | <center>
|
---|
| 775 | <em>Thanks for using the Depositor! Cick <a href="_gwcgi_">here</a> to return to the Greenstone home page. </em>
|
---|
| 776 | <table width=_pagewidth_>
|
---|
| 777 | <tr><td>
|
---|
| 778 | <div class="divbar"> </div>
|
---|
| 779 | <center><h2>_textstep3_</h2></center>
|
---|
| 780 | <div class="divbar"> </div>
|
---|
[14738] | 781 | <p>_textfilename_: _di1userfile_ </p>
|
---|
| 782 | <p>_textfilesize_: _di1userfilesize_ </p>
|
---|
[11999] | 783 | <div class="divbar"> </div>
|
---|
| 784 | </td></tr>
|
---|
| 785 | <tr><td></td></tr>
|
---|
| 786 | </table>
|
---|
| 787 | </center>
|
---|
| 788 |
|
---|
| 789 | }
|
---|
[13316] | 790 |
|
---|
| 791 | ###################################################
|
---|
| 792 | ## text macros that are defined by another package
|
---|
| 793 | ###################################################
|
---|
| 794 |
|
---|
| 795 |
|
---|
| 796 | _textbsupdate1_ {_wizard:textbsupdate1_}
|
---|
| 797 | _textbsupdate2_ {_wizard:textbsupdate2_}
|
---|
| 798 | _textseconds_ {_wizard:textseconds_}
|
---|
| 799 |
|
---|
| 800 | _textbildsuc_ {_wizard:textbildsuc_}
|
---|
| 801 | _textviewbildsummary_ {_wizard:textviewbildsummary_}
|
---|
| 802 |
|
---|
| 803 | _textview_ {_wizard:textview_}
|
---|
| 804 | _textbild1_ {_wizard:textbild1_}
|
---|
| 805 |
|
---|
| 806 | _textbild2_ {_wizard:textbild2_}
|
---|
| 807 |
|
---|
| 808 | _textstopbuild_ {_wizard:textstopbuild_}
|
---|
| 809 |
|
---|
| 810 | _textbild3_ {_wizard:textbild3_}
|
---|
| 811 |
|
---|
| 812 | _textbuildcancelled_ {_wizard:textbuildcancelled_}
|
---|
| 813 |
|
---|
| 814 | _textbildcancel1_ {_wizard:textbildcancel1_}
|
---|
| 815 |
|
---|
| 816 | _textfailmsg11_ {_wizard:textfailmsg11_}
|
---|
| 817 | _textfailmsg21_ {_wizard:textfailmsg21_}
|
---|
| 818 | _textblcont_ {_wizard:textblcont_}
|
---|
| 819 |
|
---|
| 820 | _textfailmsg31_ {_wizard:textfailmsg31_}
|
---|
| 821 | _textfailmsg41_ {_wizard:textfailmsg41_}
|
---|
| 822 | _textfailmsg71_ {_wizard:textfailmsg71_}
|
---|