package collector
_imagethispage_ {_iconhcolect_}
# _pagescriptextra_ will be set to the appropriate _***scriptextra_
# macro from within the server
_pagescriptextra_ {}
# this is just like the _gsimage_ macro but it calls the check_submit() javascript
# function instead of linking directly to the page (_1_ argument isn't used)
_gsjimage_ {}
_gsjimage_ [v=1] {_5_ }
# _gstimage_ is also similar to _gsimage_ but is used where buttons occur in a sub-frame and
# require target=_top
_gstimage_ {}
_gstimage_ [v=1] {_5_ }
# 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
_javalinks_ {_imagehome_}
_javalinks_ [v=1] {
_imagehome_
}
#######################################################################
# icons
_iconcross_ {}
_iconcross_ [v=1] {no}
_icontick_ {}
_icontick_ [v=1] {yes}
_iconblank_ {}
_iconblank_ [v=1] {}
_imagemore_ {}
_imagemore_ [v=1] {_textmore_}
_iconhcolect_ {}
_icongreyarrow_ {}
_icongreyuparrow_ {}
_iconstop_ {}
_icongcinfoof_ {}
_icongcinfoon_ {}
_iconycinfoof_ {}
_iconycinfoon_ {}
_iconncinfoof_ {}
_icongcsrceof_ {}
_icongcsrceon_ {}
_iconycsrceof_ {}
_iconycsrceon_ {}
_iconncsrceof_ {}
_icongcconfof_ {}
_icongcconfon_ {}
_iconycconfof_ {}
_iconycconfon_ {}
_iconncconfof_ {}
_icongcbildof_ {}
_icongcbildon_ {}
_iconycbildof_ {}
_iconycbildon_ {}
_iconncbildof_ {}
_icongcviewof_ {}
_icongcviewon_ {}
_iconycviewof_ {}
_iconycviewon_ {}
_iconncviewof_ {}
_icongcdelof_ {}
_icongcdelon_ {}
# these buttons fixed width 77x26 fontsize 13 bgcolor #96c19b
_icongcexptof_ {}
_icongcexpton_ {}
#######################################################################
# 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=_cgiargbc1dirname_}
_httpdel_ {javascript:do\_delete();}
_httpexpt_ {_gwcgi_?e=_compressedoptions_&p=expt}
#######################################################################
# intro
#######################################################################
_introscriptextra_ {}
_introcontent_ {
}
#######################################################################
# existing (Changing an existing collection page)
#######################################################################
_existingscriptextra_ {
function check\_submit (gotopage) \{
var form = document.collectorform;
if (gotopage == "srce") \{
form.bc1esrce.value = "1";
\}
if (gotopage == "conf") \{
form.bc1econf.value = "1";
\}
form.p.value = gotopage;
form.submit();
\}
function do\_delete () \{
var form = document.collectorform;
var i = form.bc1dirname.selectedIndex;
var del = confirm ("Confirm deletion of " + form.bc1dirname.options[i].value + " collection?");
if (del) \{
form.bc1dodelete.value = "1";
form.submit();
\}
\}
}
_changeexisting_ {
}
_existingcontent_ {
}
#######################################################################
# new (Create a new collection page)
#######################################################################
_newscriptextra_ {}
_newcontent_ {
_iconblankbar_
_textcianc_
_iconblankbar_
_texttsosn_
1.
_iconncinfoof_
_textsin_
2.
_iconncsrceof_
_textswts_
3.
_iconncconfof_
_textatco_
4.
_iconncbildof_
_textbtc_
5.
_iconncviewof_
_textpvyh_
_texttfsiw_
_iconblankbar_
_textadab_
_textwyar_
_collectorbar_
}
#######################################################################
# info (Collection information page)
#######################################################################
_infoscriptextra_ {
function check\_submit (gotopage) \{
var form = document.collectorform;
if (form.bc1fullname.value.match(/^\\s*$/))
\{
alert("_textcnmbs_");
form.bc1fullname.focus();
return;
\}
else if (form.bc1contactemail.value.match(/^\\s*$/))
\{
alert("_texteambs_");
form.bc1contactemail.focus();
return;
\}
else if (!form.bc1contactemail.value.match(/^([^@]+)@(.+)$/))
\{
alert("_textpsea_");
form.bc1contactemail.focus();
return;
\}
else if (form.bc1aboutdesc.value.match(/^\\s*$/))
\{
alert("_textdocmbs_");
form.bc1aboutdesc.focus();
return;
\}
form.p.value = gotopage;
form.submit();
\}
}
_infocontent_ {
}
#######################################################################
# srce (Source data page)
#######################################################################
# _fullnamemenu is set from within the server. If it's empty there are
# no valid collections
_fullnamemenu_ {}
_srcescriptextra_ {
var selectedindex = _selectedindex_;
function check\_submit (gotopage) \{
var form = document.collectorform;
form.p.value = gotopage;
form.bc1fromsrce.value = "1";
form.submit();
\}
function menuchange () \{
var form = document.collectorform;
var warnlist = new Array (_warnindex_);
if (warnlist[form.bc1clonecol.selectedIndex] == 1) \{
alert ("The collection you are cloning has a non-standard input file\\n" +
"format, and/or uses metadata specified in auxiliary files. If your\\n" +
"new input lacks this information, some browsing facilities may not\\n" +
"work properly.");
\}
if (form.bc1clonecol.selectedIndex == 0) \{
form.bc1clone.value = "0";
\} else \{
form.bc1clone.value = "1";
\}
if (form.bc1clonecol.selectedIndex == selectedindex) \{
form.bc1clonechanged.value = "0";
\} else \{
form.bc1clonechanged.value = "1";
\}
\}
function more () \{
var form = document.collectorform;
form.bc1inputnum.value = parseInt(form.bc1inputnum.value) + 3;
form.p.value = "srce";
if (!form.action.match(/sources$/)) \{
form.action += "#sources";
\}
form.submit();
\}
}
_srcenew_ {