# this file must be UTF-8 encoded
package depositor
_imagethispage_ {_textdepositor_}
# _pagescriptextra_ will be set to the appropriate _***scriptextra_
# macro from within the server
_pagescriptextra_ {}
# a plain header for those pages that need it (the _pagebanner_ macro
# will be set to this by the server for those pages.
_plainbanner_ {}
# dont want links to help" or "preferences" pages from within
# collector
_globallinks_ {_homelink_}
#######################################################################
# steps
_numsteps_ {3}
# clashes with general text (in english2.dm) about what to do at this stage
# now it doesn't appear in wizard bar, is it needed?
##_textselect_ {The Depositor}
_textstep1_ {_textmeta_}
_textstep2_ {_textintro_}
_textstep3_ {Confirmation}
_laststep_ {bild}
_textlaststep_ {_textbild_}
#######################################################################
# icons
_iconcross_ {}
_iconcross_ [v=1] {no}
_icontick_ {}
_icontick_ [v=1] {yes}
_iconblank_ {}
_iconblank_ [v=1] {}
_imagemore_ {}
_imagemore_ [v=1] {_textmore_}
_icongreyarrow_ {}
_icongreyuparrow_ {}
_iconstop_ {}
#######################################################################
# http macros
_httpinfo_ {_gwcgi_?e=_compressedoptions_&p=info}
_httpsrce_ {_gwcgi_?e=_compressedoptions_&p=srce}
_httpconf_ {_gwcgi_?e=_compressedoptions_&p=conf}
_httpbild_ {_gwcgi_?e=_compressedoptions_&p=bild}
_httpview_ {_gwcgi_?a=p&p=about&c=_cgiargdi1dirname_}
_httpdel_ {javascript:do\_delete();}
_httpexpt_ {_gwcgi_?e=_compressedoptions_&p=expt}
#######################################################################
# select // this really should be intro
#######################################################################
# _fullnamemenu_ has previous collection selected. Since there is no button
# on this page to proceed, we reset the drop down box to have no collection
# selected.
_selectheader_ {_cgihead_
_htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer_
}
_selectscriptextra_ {
function initialize() \{
document.depositorform.di1dirname.value = "";
\}
function check\_submit (gotopage) \{
var form = document.depositorform;
form.p.value = gotopage;
// if 'dirname' given, then link to cgiarg c so collection specific macros work
if (form.di1dirname) \{
form.c.value = form.di1dirname.value;
\}
form.submit();
\}
function menuchange() \{
_buildtypearray_
var form = document.depositorform;
if (form.di1dirname.value == "") \{
alert("Please choose a collection first");
\}
else \{
var pos = form.di1dirname.selectedIndex;
var bt = buildtype[pos];
if (bt=="") \{ bt = "mg"; \}
form.di1buildtype.value = bt;
check\_submit('step1');
\}
\}
}
_selectcontent_ {
}
#######################################################################
# step 1
#######################################################################
#here goes the "memorization" macros for each form field.
_di1md.dc.Title_ {_If_("_:cgiargdi1md.dc.Title_" eq "_cgiargdi1md.dc.Title_",_cgiargdi1md.dc.Title_,)}
_di1md.dc.Creator_ {_If_("_:cgiargdi1md.dc.Creator_" eq "_cgiargdi1md.dc.Creator_",_cgiargdi1md.dc.Creator_,)}
_di1md.dc.Description_ {_If_("_:cgiargdi1md.dc.Description_" eq "_cgiargdi1md.dc.Description_",_cgiargdi1md.dc.Description_,)}
_step1scriptextra_ {
function check\_submit (gotopage) \{
var form = document.depositorform;
form.p.value = gotopage;
form.submit();
\}
}
_step1content_ {
}
#######################################################################
# step 2
#######################################################################
_userfile_ {_If_("_:cgiargdi1userfile_" eq "_cgiargdi1userfile_",_cgiargdi1userfile_,)}
_step2scriptextra_ {
function check\_submit (gotopage) \{
var form = document.depositorform;
form.p.value = gotopage;
form.submit();
\}
}
_step2content_ {
}
#######################################################################
# step 3
#######################################################################
#here goes the "memorization" macros for each form field.
#_di1_ {_If_("_:cgiargdi1md.dc.Title_" eq "_cgiargdi1md.dc.Title_",_cgiargdi1md.dc.Title_,)}
#_di1md.dc.Creator_ {_If_("_:cgiargdi1md.dc.Creator_" eq "_cgiargdi1md.dc.Creator_",_cgiargdi1md.dc.Creator_,)}
_step3scriptextra_ {
function check\_submit (gotopage) \{
var form = document.depositorform;
form.p.value = gotopage;
form.submit();
\}
}
_step3content_ {
}
#######################################################################
# bild (main frameset for build page)
#######################################################################
_bildcontent_ {
}
#######################################################################
# bildcancel
#######################################################################
_bildcancelscriptextra_ {
function check\_submit (gotopage) \{
var form = document.depositorform;
form.p.value = gotopage;
form.submit();
\}
}
_bildcancelcontent_ {
_depositor:textbuildcancelled_
_depositor:textbildcancel1_
_depositorbar_
}
#######################################################################
# bildstatus
#######################################################################
# special header for status page
_bildstatusheader_ {_cgihead_
_htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer_
}
_bildstatusheader_[v=1] {_cgihead_
_htmlhead_(onLoad="initialize();")
}
_bildstatusscriptextra_ {
var timer = 5;
function initialize() \{
setTimeout("count_down()",1000);
\}
function count_down() \{
if (timer==0) \{
window.status = "";
document.depositorform.submit();
\} else \{
if (timer==1) \{
window.status = "_textbsupdate1_";
\} else \{
window.status = "_textbsupdate2_ "+timer+" _textseconds_";
\}
timer--;
setTimeout("count_down()",1000);
\}
\}
}
_bildstatuscontent_ {
}
#######################################################################
# bilddone
#######################################################################
_bilddoneheader_ {_cgihead_
_htmlhead_(background="_httpiconchalk_")_startspacer_
}
_bilddonescriptextra_ {
function check\_submit (gotopage) \{
var form = document.depositorform;
form.p.value = gotopage;
form.submit();
\}
}
_bilddonecontent_ {
_textbildsuc_
_textviewbildsummary_
_depositorbar_
}
#######################################################################
# bildfail
#######################################################################
_bildfailheader_ {_cgihead_
_htmlhead_(background="_httpiconchalk_")_startspacer_
}
_bildfailscriptextra_ {
function check\_submit (gotopage) \{
var form = document.depositorform;
form.p.value = gotopage;
form.submit();
\}
}
_bildfailcontent_ {
_textfailmsg_
}
# _textfailmsg_ will be set to one of the following macros from within
# the server
_textfailmsg1_ {
_textfailmsg11_