[LON-CAPA-cvs] cvs: loncom /interface lonconfigsettings.pm
raeburn
raeburn@source.lon-capa.org
Sun, 23 Aug 2009 17:21:22 -0000
raeburn Sun Aug 23 17:21:22 2009 EDT
Modified files:
/loncom/interface lonconfigsettings.pm
Log:
- xhtml.
Index: loncom/interface/lonconfigsettings.pm
diff -u loncom/interface/lonconfigsettings.pm:1.5 loncom/interface/lonconfigsettings.pm:1.6
--- loncom/interface/lonconfigsettings.pm:1.5 Sun May 17 00:54:38 2009
+++ loncom/interface/lonconfigsettings.pm Sun Aug 23 17:21:22 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: lonconfigsettings.pm,v 1.5 2009/05/17 00:54:38 raeburn Exp $
+# $Id: lonconfigsettings.pm,v 1.6 2009/08/23 17:21:22 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -49,6 +49,8 @@
my $alert = &mt('You must select at least one functionality type to display.');
my $js = '
<script type="text/javascript">
+// <![CDATA[
+
function changePage(formname,newphase) {
formname.phase.value = newphase;
numchecked = 0;
@@ -81,6 +83,8 @@
$js .= &color_pick_js()."\n";
}
$js .= &Apache::loncommon::viewport_size_js().'
+
+// ]]>
</script>
';
if ($jscript) {
@@ -305,7 +309,9 @@
&print_header($r,$phase,$context);
$r->print('<h3>'.&mt('Settings to display/modify').'</h3>');
$r->print('<script type="text/javascript">'."\n".
+ '// <![CDATA['."\n".
&Apache::loncommon::check_uncheck_jscript()."\n".
+ '// ]]>'."\n".
'</script>'."\n".'<p><input type="button" value="'.&mt('check all').'" '.
'onclick="javascript:checkAll(document.pickactions.actions)"'.
' />'.(' 'x2).