[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
amueller
amueller@source.lon-capa.org
Sat, 14 Nov 2009 16:07:16 -0000
amueller Sat Nov 14 16:07:16 2009 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
-Codestyling: set the proper indention for subroutine newoverview.
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.480 loncom/interface/lonparmset.pm:1.481
--- loncom/interface/lonparmset.pm:1.480 Sun Nov 8 19:51:22 2009
+++ loncom/interface/lonparmset.pm Sat Nov 14 16:07:16 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.480 2009/11/08 19:51:22 amueller Exp $
+# $Id: lonparmset.pm,v 1.481 2009/11/14 16:07:16 amueller Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3174,7 +3174,7 @@
\%keyorder,\%defkeytype);
if (grep {$_ eq 'all'} (@psprt)) {
- @psprt = keys(%allparts);
+ @psprt = keys(%allparts);
}
# Menu to select levels, etc
@@ -3186,10 +3186,10 @@
$r->print(&Apache::lonhtmlcommon::start_pick_box());
&levelmenu($r,\%alllevs,$parmlev);
if ($parmlev ne 'general') {
- #$r->print('<td class="LC_parm_overview_map_menu">');
+ #$r->print('<td class="LC_parm_overview_map_menu">');
$r->print(&Apache::lonhtmlcommon::row_closure());
- &mapmenu($r,\%allmaps,$pschp,\%maptitles);
- #$r->print('</td>');
+ &mapmenu($r,\%allmaps,$pschp,\%maptitles);
+ #$r->print('</td>');
}
$r->print(&Apache::lonhtmlcommon::row_closure(1));
$r->print(&Apache::lonhtmlcommon::end_pick_box());
@@ -3207,7 +3207,7 @@
$r->print(&Apache::lonhtmlcommon::start_pick_box());
$r->print(&Apache::lonhtmlcommon::row_title(&mt('Select Parts to View')));
#$r->print('</td><td class="LC_parm_overview_restrictions">'.
- $r->print('<table>'.
+ $r->print('<table>'.
'<tr><th>'.&mt('Parts').'</th><th>'.&mt('Section(s)').
'</th><th>'.&mt('Group(s)').'</th></tr><tr><td>');
&partmenu($r,\%allparts,\@psprt);
@@ -3242,15 +3242,15 @@
if (($env{'form.store'}) || ($env{'form.dis'})) {
- if ($env{'form.store'}) { &storedata($r,$crs,$dom); }
+ if ($env{'form.store'}) { &storedata($r,$crs,$dom); }
# Read modified data
- my $resourcedata=&readdata($crs,$dom);
+ my $resourcedata=&readdata($crs,$dom);
# List data
- &listdata($r,$resourcedata,$listdata,$sortorder);
+ &listdata($r,$resourcedata,$listdata,$sortorder);
}
$r->print(&tableend().
((($env{'form.store'}) || ($env{'form.dis'}))?'<p><input type="submit" name="store" value="'.&mt('Save').'" /></p>':'').