version 1.353, 2009/03/08 21:49:33
|
version 1.354, 2009/03/10 18:49:22
|
Line 2905 HIDDENFORM
|
Line 2905 HIDDENFORM
|
} |
} |
$r->print('<li '.$active.'onclick="javascript:showPage(this,\'Supplemental Course Documents\',\'mainnav\',\'maincoursedoc\');">'.&mt('Supplemental Course Documents').'</li>'); |
$r->print('<li '.$active.'onclick="javascript:showPage(this,\'Supplemental Course Documents\',\'mainnav\',\'maincoursedoc\');">'.&mt('Supplemental Course Documents').'</li>'); |
} |
} |
$r->print('<li onclick="javascript:showPage(this,\'Special Admin Options\',\'mainnav\',\'maincoursedoc\');">'.&mt('Special Admin Options').'</li>'); |
|
$r->print('</ul><div class="LC_ContentBoxSpecial" style="margin:0 0;padding:0 0;"><div id="maincoursedoc" style="margin:0 0;padding:0 0;">'); |
$r->print('</ul><div class="LC_ContentBoxSpecial" style="margin:0 0;padding:0 0;"><div id="maincoursedoc" style="margin:0 0;padding:0 0;">'); |
# --------------------------------------------------------- Standard documents |
# --------------------------------------------------------- Standard documents |
if (($standard) && ($allowed) && (!$forcesupplement)) { |
if (($standard) && ($allowed) && (!$forcesupplement)) { |
Line 3128 my %orderhash = (
|
Line 3127 my %orderhash = (
|
'aa' => 'New Document', |
'aa' => 'New Document', |
'bb' => 'Published Documents', |
'bb' => 'Published Documents', |
'cc' => 'Special Documents', |
'cc' => 'Special Documents', |
'dd' => 'More Options', |
'dd' => 'More Tools', |
'zz' => 'Hide all Options', |
'zz' => 'Hide all Options', |
); |
); |
my %namehash = ( |
my %namehash = ( |
'New Document' => $fileuploadform.'<br />'.$newfolderform, |
'New Document' => $fileuploadform.'<br />'.$newfolderform, |
'Published Documents' => $simpleeditdefaultform, |
'Published Documents' => $simpleeditdefaultform, |
'Special Documents' => $specialdocumentsform, |
'Special Documents' => $specialdocumentsform, |
'More Options' => $extresourcesform.'<br />'.$imspform.'<br />'.$recoverform, |
'More Tools' => $extresourcesform.'<br />'.$imspform.'<br />'.$recoverform.'<br />'.&generate_admin_options($containertag,$uploadtag,\%help,\%env), |
); |
); |
my $tid='1'; |
my $tid='1'; |
my $content='content'; |
my $content='content'; |
Line 3259 my %suporderhash = (
|
Line 3258 my %suporderhash = (
|
); |
); |
|
|
my %supnamehash = ( |
my %supnamehash = ( |
'New Document' => $supupdocform, |
'New Document' => $supupdocform.'<br />'.$supnewfolderform, |
'Special Documents' => $supnewfolderform.'<br />'.$supnewextform.'<br />'.$supnewsylform.'<br />'.$supnewaboutmeform, |
'Special Documents' => $supnewextform.'<br />'.$supnewsylform.'<br />'.$supnewaboutmeform, |
); |
); |
|
|
my $tid='2'; |
my $tid='2'; |
Line 3276 my $error = &editor($r,$coursenum,$cours
|
Line 3275 my $error = &editor($r,$coursenum,$cours
|
$r->print('</div>'); |
$r->print('</div>'); |
} |
} |
} |
} |
$r->print('<div class="LC_ContentBox" id="Special Admin Options" style="display: none;">'); |
|
$r->print(&generate_admin_options($containertag,$uploadtag,\%help,\%env)); |
|
$r->print('</div>'); |
|
$r->print('</div>'); |
$r->print('</div>'); |
if ($allowed) { |
if ($allowed) { |
$r->print(' |
$r->print(' |
Line 3317 sub generate_admin_options {
|
Line 3313 sub generate_admin_options {
|
my $exportbut=&exportbutton(); |
my $exportbut=&exportbutton(); |
return (<<ENDOPTIONFORM); |
return (<<ENDOPTIONFORM); |
<form action="/adm/coursedocs" method="post" name="courseverify"> |
<form action="/adm/coursedocs" method="post" name="courseverify"> |
<ul style="list-style-type:none"> |
<input type="submit" name="verify" value="$lt{'vc'}" />$help{'Verify_Content'}<br /> |
<li> |
|
<input type="submit" name="verify" value="$lt{'vc'}" />$help{'Verify_Content'} |
|
</li> |
|
<li> |
|
<input type="submit" name="versions" value="$lt{'cv'}" />$help{'Check_Resource_Versions'} |
<input type="submit" name="versions" value="$lt{'cv'}" />$help{'Check_Resource_Versions'} |
</li> |
$dumpbut<br /> |
<li> |
$exportbut<br /> |
$dumpbut |
|
</li> |
|
<li> |
|
$exportbut |
|
</li> |
|
<li> |
|
<input type="submit" name="listsymbs" value="$lt{'ls'}" /> |
<input type="submit" name="listsymbs" value="$lt{'ls'}" /> |
</li> |
<input type="hidden" name="folder" value="$env{'form.folder'}" /><br /> |
<li> |
|
<input type="hidden" name="folder" value="$env{'form.folder'}" /> |
|
<input type="submit" name="docslog" value="$lt{'sl'}" /> |
<input type="submit" name="docslog" value="$lt{'sl'}" /> |
</li> |
|
</ul> |
|
</form> |
</form> |
<!-- <div style="clear: both; height: 0px;"> </div>--> |
|
ENDOPTIONFORM |
ENDOPTIONFORM |
|
|
} |
} |