[LON-CAPA-cvs] cvs: loncom(GCI_3) /interface lonmainmenu.pm
raeburn
raeburn@source.lon-capa.org
Tue, 15 Dec 2009 05:17:52 -0000
raeburn Tue Dec 15 05:17:52 2009 EDT
Modified files: (Branch: GCI_3)
/loncom/interface lonmainmenu.pm
Log:
- Customization for GCI_3.
- xhtml
Index: loncom/interface/lonmainmenu.pm
diff -u loncom/interface/lonmainmenu.pm:1.8.4.4 loncom/interface/lonmainmenu.pm:1.8.4.5
--- loncom/interface/lonmainmenu.pm:1.8.4.4 Tue Dec 8 04:58:14 2009
+++ loncom/interface/lonmainmenu.pm Tue Dec 15 05:17:52 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# displays the main menu
#
-# $Id: lonmainmenu.pm,v 1.8.4.4 2009/12/08 04:58:14 raeburn Exp $
+# $Id: lonmainmenu.pm,v 1.8.4.5 2009/12/15 05:17:52 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -81,7 +81,11 @@
$switcher_js = &gcitest_switcher_js($current,$numcourses);
$script_tag= <<"ENDSCRIPT";
<script type="text/javascript">
+// <![CDATA[
+
$switcher_js
+
+// ]]>
</script>
ENDSCRIPT
}
@@ -132,7 +136,7 @@
}
if ($default) {
$output = '<form name="pickrole" action="/adm/roles" method="post">'.
- '<select name="newrole" method="post" onchange="javascript:courseswitcher();">'.
+ '<select name="newrole" onchange="javascript:courseswitcher();">'.
'<option value="" selected="selected">'.$default.'</option>';
foreach my $item (@sorted_courses) {
foreach my $course (@{$Sortby{$item}}) {