[LON-CAPA-cvs] cvs: loncom(GCI_3) /interface lonmainmenu.pm

raeburn raeburn@source.lon-capa.org
Tue, 08 Dec 2009 04:58:14 -0000


raeburn		Tue Dec  8 04:58:14 2009 EDT

  Modified files:              (Branch: GCI_3)
    /loncom/interface	lonmainmenu.pm 
  Log:
  - Customization for GCI_3.
     - Display original description.
  
  
Index: loncom/interface/lonmainmenu.pm
diff -u loncom/interface/lonmainmenu.pm:1.8.4.3 loncom/interface/lonmainmenu.pm:1.8.4.4
--- loncom/interface/lonmainmenu.pm:1.8.4.3	Mon Dec  7 22:33:26 2009
+++ loncom/interface/lonmainmenu.pm	Tue Dec  8 04:58:14 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # displays the main menu
 #
-# $Id: lonmainmenu.pm,v 1.8.4.3 2009/12/07 22:33:26 raeburn Exp $
+# $Id: lonmainmenu.pm,v 1.8.4.4 2009/12/08 04:58:14 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -137,7 +137,7 @@
         foreach my $item (@sorted_courses) {
             foreach my $course (@{$Sortby{$item}}) {
                 my ($cdom,$cnum) = split('_',$course);
-                $output .= '<option value="cc./'.$cdom.'/'.$cnum.'">'.$item.'</option>';
+                $output .= '<option value="cc./'.$cdom.'/'.$cnum.'">'.$courses{$course}{'description'}.'</option>';
             }
         }
         $output .= '</select><input type="hidden" name="selectrole" value="" /></form>';