[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn@source.lon-capa.org
Sun, 23 Aug 2009 17:22:54 -0000
raeburn Sun Aug 23 17:22:54 2009 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- LC Advanced user row - colspan="2" only needed for blogs, portfolio, aboutme settings.
- xhtml.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.108 loncom/interface/domainprefs.pm:1.109
--- loncom/interface/domainprefs.pm:1.108 Sat Aug 22 21:10:32 2009
+++ loncom/interface/domainprefs.pm Sun Aug 23 17:22:54 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.108 2009/08/22 21:10:32 raeburn Exp $
+# $Id: domainprefs.pm,v 1.109 2009/08/23 17:22:54 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1373,16 +1373,15 @@
$datatable .= '<tr'.$css_class.'>'.
'<td>'.&mt('LON-CAPA Advanced Users').' ';
if ($context eq 'requestcourses') {
- $datatable .= &mt('(overrides affiliation, if set)');
- } else {
- $datatable .= &mt('(overrides affiliation, if checked)');
- }
- $datatable .= '</td>'.
- '<td class="LC_left_item" colspan="2">';
- if ($context eq 'requestcourses') {
- $datatable .= '<table><tr>';
+ $datatable .= &mt('(overrides affiliation, if set)').
+ '</td>'.
+ '<td class="LC_left_item">'.
+ '<table><tr>';
} else {
- $datatable .= '<br />';
+ $datatable .= &mt('(overrides affiliation, if checked)').
+ '</td>'.
+ '<td class="LC_left_item" colspan="2">'.
+ '<br />';
}
my %advcell;
foreach my $item (@usertools) {
@@ -2686,6 +2685,7 @@
}
$output = <<"ENDSCRIPT";
<script type="text/javascript">
+// <![CDATA[
function reorderCats(form,parent,item,idx) {
var changedVal;
$jstext
@@ -2742,6 +2742,7 @@
}
return;
}
+// ]]>
</script>
ENDSCRIPT