version 1.41, 2002/12/12 18:14:32
|
version 1.43, 2002/12/26 16:13:11
|
Line 560 function changename(folder,index,oldtitl
|
Line 560 function changename(folder,index,oldtitl
|
} |
} |
} |
} |
</script> |
</script> |
<form name="renameform" method="post" action="/adm/coursedocs"> |
|
<input type="hidden" name="title" /> |
|
<input type="hidden" name="cmd" /> |
|
<input type="hidden" name="folder" /> |
|
</form> |
|
<form name="simpleedit" method="post" action="/adm/coursedocs"> |
|
<input type=hidden name="importdetail" value=""> |
|
<input type="hidden" name="folder" /> |
|
</form> |
|
|
|
ENDNEWSCRIPT |
ENDNEWSCRIPT |
} |
} |
Line 578 ENDNEWSCRIPT
|
Line 569 ENDNEWSCRIPT
|
unless ($showdoc) { |
unless ($showdoc) { |
if ($allowed) { |
if ($allowed) { |
$r->print(<<ENDCOURSEVERIFY); |
$r->print(<<ENDCOURSEVERIFY); |
|
<form name="renameform" method="post" action="/adm/coursedocs"> |
|
<input type="hidden" name="title" /> |
|
<input type="hidden" name="cmd" /> |
|
<input type="hidden" name="folder" /> |
|
</form> |
|
<form name="simpleedit" method="post" action="/adm/coursedocs"> |
|
<input type=hidden name="importdetail" value=""> |
|
<input type="hidden" name="folder" /> |
|
</form> |
<form action="/adm/coursedocs" method="post" name="courseverify"> |
<form action="/adm/coursedocs" method="post" name="courseverify"> |
<input type="submit" name="verify" value="Verify Content" /> |
<input type="submit" name="verify" value="Verify Content" /> |
<input type="submit" name="versions" value="Check Resource Versions" /> |
<input type="submit" name="versions" value="Check Resource Versions" /> |
Line 585 ENDNEWSCRIPT
|
Line 585 ENDNEWSCRIPT
|
ENDCOURSEVERIFY |
ENDCOURSEVERIFY |
} |
} |
# --------------------------------------------------------- Standard documents |
# --------------------------------------------------------- Standard documents |
$r->print('<table>'); |
$r->print('<table border=2 cellspacing=4 cellpadding=4>'); |
if (($standard) && ($allowed) && (!$forcesupplement)) { |
if (($standard) && ($allowed) && (!$forcesupplement)) { |
$r->print('<tr><td bgcolor="#FFFFBB"><h2>Main Course Documents</h2>'); |
$r->print('<tr><td bgcolor="#BBBBBB"><h2>Main Course Documents</h2>'); |
my $folder=$ENV{'form.folder'}; |
my $folder=$ENV{'form.folder'}; |
unless ($folder=~/^default/) { $folder='default'; } |
unless ($folder=~/^default/) { $folder='default'; } |
$hadchanges=0; |
$hadchanges=0; |
Line 598 ENDCOURSEVERIFY
|
Line 598 ENDCOURSEVERIFY
|
my $folderseq='/uploaded/'.$coursedom.'/'.$coursenum.'/default_'.time. |
my $folderseq='/uploaded/'.$coursedom.'/'.$coursenum.'/default_'.time. |
'.sequence'; |
'.sequence'; |
$r->print(<<ENDFORM); |
$r->print(<<ENDFORM); |
<table cellspacing=2><tr> |
<table cellspacing=4 cellpadding=4><tr> |
<th bgcolor="#DDDDDD">Upload a new main course document</th> |
<th bgcolor="#DDDDDD">Upload a new main course document</th> |
<th bgcolor="#DDDDDD">Import a published document</th> |
<th bgcolor="#DDDDDD">Import a published document</th> |
<th bgcolor="#DDDDDD">Special documents</th> |
<th bgcolor="#DDDDDD">Special documents</th> |
Line 682 ENDFORM
|
Line 682 ENDFORM
|
# ----------------------------------------------------- Supplemental documents |
# ----------------------------------------------------- Supplemental documents |
if (!$forcestandard) { |
if (!$forcestandard) { |
$r->print( |
$r->print( |
'<tr><td bgcolor="#BBFFFF"><h2>Supplemental Course Documents</h2>'); |
'<tr><td bgcolor="#BBBBBB"><h2>Supplemental Course Documents</h2>'); |
my $folder=$ENV{'form.folder'}; |
my $folder=$ENV{'form.folder'}; |
unless ($folder=~/supplemental/) { $folder='supplemental'; } |
unless ($folder=~/supplemental/) { $folder='supplemental'; } |
&editor($r,$coursenum,$coursedom,$folder,$allowed); |
&editor($r,$coursenum,$coursedom,$folder,$allowed); |
Line 692 ENDFORM
|
Line 692 ENDFORM
|
'.sequence'; |
'.sequence'; |
|
|
$r->print(<<ENDSUPFORM); |
$r->print(<<ENDSUPFORM); |
<table cellspacing=2><tr> |
<table cellspacing=4 cellpadding=4><tr> |
<th bgcolor="#DDDDDD">Upload a new supplemental course document</th> |
<th bgcolor="#DDDDDD">Upload a new supplemental course document</th> |
<th bgcolor="#DDDDDD">Import a published document</th> |
<th bgcolor="#DDDDDD">Import a published document</th> |
<th bgcolor="#DDDDDD">Special documents</th> |
<th bgcolor="#DDDDDD">Special documents</th> |