[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
tempelho
tempelho@source.lon-capa.org
Tue, 10 Mar 2009 18:49:22 -0000
tempelho Tue Mar 10 18:49:22 2009 EDT
Modified files:
/loncom/interface londocs.pm
Log:
Removed main tab "Special Admin Options" and placed the content into "Main Course Documents" -> "More Tool" (Old "More Options"). Moved the New Folder Button from "Supplemental Course Documents" -> "Special Documents" to "New Document".
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.353 loncom/interface/londocs.pm:1.354
--- loncom/interface/londocs.pm:1.353 Sun Mar 8 21:49:33 2009
+++ loncom/interface/londocs.pm Tue Mar 10 18:49:22 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.353 2009/03/08 21:49:33 weissno Exp $
+# $Id: londocs.pm,v 1.354 2009/03/10 18:49:22 tempelho Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2905,7 +2905,6 @@
}
$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;">');
# --------------------------------------------------------- Standard documents
if (($standard) && ($allowed) && (!$forcesupplement)) {
@@ -3128,14 +3127,14 @@
'aa' => 'New Document',
'bb' => 'Published Documents',
'cc' => 'Special Documents',
- 'dd' => 'More Options',
+ 'dd' => 'More Tools',
'zz' => 'Hide all Options',
);
my %namehash = (
'New Document' => $fileuploadform.'<br />'.$newfolderform,
'Published Documents' => $simpleeditdefaultform,
'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 $content='content';
@@ -3259,8 +3258,8 @@
);
my %supnamehash = (
- 'New Document' => $supupdocform,
- 'Special Documents' => $supnewfolderform.'<br />'.$supnewextform.'<br />'.$supnewsylform.'<br />'.$supnewaboutmeform,
+ 'New Document' => $supupdocform.'<br />'.$supnewfolderform,
+ 'Special Documents' => $supnewextform.'<br />'.$supnewsylform.'<br />'.$supnewaboutmeform,
);
my $tid='2';
@@ -3276,9 +3275,6 @@
$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>');
if ($allowed) {
$r->print('
@@ -3317,29 +3313,14 @@
my $exportbut=&exportbutton();
return (<<ENDOPTIONFORM);
<form action="/adm/coursedocs" method="post" name="courseverify">
- <ul style="list-style-type:none">
- <li>
- <input type="submit" name="verify" value="$lt{'vc'}" />$help{'Verify_Content'}
- </li>
- <li>
+ <input type="submit" name="verify" value="$lt{'vc'}" />$help{'Verify_Content'}<br />
<input type="submit" name="versions" value="$lt{'cv'}" />$help{'Check_Resource_Versions'}
- </li>
- <li>
- $dumpbut
- </li>
- <li>
- $exportbut
- </li>
- <li>
+ $dumpbut<br />
+ $exportbut<br />
<input type="submit" name="listsymbs" value="$lt{'ls'}" />
- </li>
- <li>
- <input type="hidden" name="folder" value="$env{'form.folder'}" />
+ <input type="hidden" name="folder" value="$env{'form.folder'}" /><br />
<input type="submit" name="docslog" value="$lt{'sl'}" />
- </li>
- </ul>
</form>
-<!-- <div style="clear: both; height: 0px;"> </div>-->
ENDOPTIONFORM
}