[LON-CAPA-cvs] cvs: loncom(GCI_3) /interface lonmenu.pm
raeburn
raeburn@source.lon-capa.org
Mon, 07 Dec 2009 21:48:38 -0000
raeburn Mon Dec 7 21:48:38 2009 EDT
Modified files: (Branch: GCI_3)
/loncom/interface lonmenu.pm
Log:
- Customization for GCI_3
- Misplaced brace
- Fix scope
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.309.2.1 loncom/interface/lonmenu.pm:1.309.2.2
--- loncom/interface/lonmenu.pm:1.309.2.1 Mon Dec 7 20:04:18 2009
+++ loncom/interface/lonmenu.pm Mon Dec 7 21:48:37 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.309.2.1 2009/12/07 20:04:18 raeburn Exp $
+# $Id: lonmenu.pm,v 1.309.2.2 2009/12/07 21:48:37 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1389,7 +1389,7 @@
undef(%category_members);
my $output;
if ($context eq 'gcicustom') {
- $output.='<div class="LC_left_float">'.
+ $output ='<div class="LC_left_float">'.
'<fieldset id="LC_mainmenu_fieldset">'.
'<legend class="LC_mainmenu_fieldset_category">'.&mt('Utilities').'</legend>'.
'<table id="LC_menubuttons_mainmenu">';
@@ -1407,11 +1407,11 @@
'<tr><td class="LC_menubuttons_img" align="left"><a href="javascript:go('."'/adm/whatsnew'".');"><img alt="what is new" src="/res/adm/pages/new.png" align="left" /></a></td><td class="LC_menubuttons_text" colspan="3"><a class="LC_menubuttons_link" href="javascript:go('."'/adm/whatsnew'".');"><span class="LC_menubuttons_inline_text">'.&mt("What's New?").'</span></a></td></tr></table></fieldset></div>';
}
$output.='<br clear="all />';
- } else
+ } else {
# calling rawconfig with "1" will evaluate mydesk.tab,
# even if there is no active remote control
&rawconfig(1);
- my $output='<table><tr>';
+ $output='<table><tr>';
for (my $col=1; $col<=2; $col++) {
$output.='<td class="LC_mainmenu_col_fieldset">';
for (my $row=1; $row<=8; $row++) {
@@ -1431,6 +1431,7 @@
}
$output.='</table>';
$output.='</div>';
+ }
}
$output.="</td>";
}