[LON-CAPA-cvs] cvs: loncom /interface lonmsgdisplay.pm
raeburn
raeburn@source.lon-capa.org
Mon, 25 Jan 2010 20:54:27 -0000
raeburn Mon Jan 25 20:54:27 2010 EDT
Modified files:
/loncom/interface lonmsgdisplay.pm
Log:
- Communication blocking tables: keep checkboxes on the same line as their labels.
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.145 loncom/interface/lonmsgdisplay.pm:1.146
--- loncom/interface/lonmsgdisplay.pm:1.145 Mon Jan 25 18:09:42 2010
+++ loncom/interface/lonmsgdisplay.pm Mon Jan 25 20:54:27 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging display
#
-# $Id: lonmsgdisplay.pm,v 1.145 2010/01/25 18:09:42 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.146 2010/01/25 20:54:27 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2259,13 +2259,13 @@
if ($blocks->{$block} eq 'on') {
$blockstatus = 'checked="checked"';
}
- $r->print('<label><input type="checkbox" name="'.$block.'_'.$parmcount.'" '.$blockstatus.' value="1" />'.$types->{$block}.'</label><br />');
+ $r->print('<span class="LC_nobreak"><label><input type="checkbox" name="'.$block.'_'.$parmcount.'" '.$blockstatus.' value="1" />'.$types->{$block}.'</label></span><br />');
}
$r->print(<<"END");
</td>
<td><span class="LC_nobreak"><label>
<input type="checkbox" name="modify_$parmcount" />$lt{'modi'}
- </label><br />
+ </label></span><br /><span class="LC_nobreak">
<label>
<input type="checkbox" name="cancel_$parmcount" />$lt{'canc'}
</label></span>
@@ -2315,13 +2315,13 @@
<td>
END
foreach my $block (@{$typeorder}) {
- $r->print('<label><input type="checkbox" name="'.$block.'_'.$parmcount.'" value="1" />'.$types->{$block}.'</label><br />');
+ $r->print('<span class="LC_nobreak"><label><input type="checkbox" name="'.$block.'_'.$parmcount.'" value="1" />'.$types->{$block}.'</label></span><br />');
}
$r->print(<<"END");
- </td>
- <td><label>
+ </td>
+ <td><span class="LC_nobreak"><label>
<input type="checkbox" name="add_$parmcount" value="1" />$lt{'addb'}
- </label></td>
+ </label></span></td>
END
$r->print(&Apache::loncommon::end_data_table_row());
$r->print(&Apache::loncommon::end_data_table());