[LON-CAPA-cvs] cvs: loncom /interface lonmsgdisplay.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 19 Jul 2006 13:09:32 -0000


raeburn		Wed Jul 19 09:09:32 2006 EDT

  Modified files:              
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  Removing sorting liks for now.  Remove debug line.   
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.38 loncom/interface/lonmsgdisplay.pm:1.39
--- loncom/interface/lonmsgdisplay.pm:1.38	Mon Jul 17 17:38:07 2006
+++ loncom/interface/lonmsgdisplay.pm	Wed Jul 19 09:09:32 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.38 2006/07/17 21:38:07 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.39 2006/07/19 13:09:32 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -345,7 +345,7 @@
         foreach my $status (@statustypes)  {
             if (ref($numitems) eq 'HASH') {
                 if ((defined($$numitems{$status})) && ($$numitems{$status})) {
-                    $result.='<td align="top">'.
+                    $result.='<td valign="top">'.
                              '<fieldset><legend><b>'.$lt{$status}.
                              '</b></legend><nobr>'.
                              '<input type="button" value="check all" '.
@@ -356,12 +356,9 @@
                              '</nobr></fieldset><br />'.
                              &Apache::loncommon::start_data_table().
                              &Apache::loncommon::start_data_table_header_row();
-                    $result .= "<th><a href=\"javascript:changeSort('fullname')\">".
-                    "$lt{'name'}</a></th>".
-                    "<th><a href=\"javascript:changeSort('username')\">".
-                    "$lt{'usnm'}</a></th>".
-                    "<th><a href=\"javascript:changeSort('domain')\">".
-                    "$lt{'doma'}</a></th>".
+                    $result .= "<th>$lt{'name'}</a></th>".
+                               "<th>$lt{'usnm'}</a></th>".
+                               "<th>$lt{'doma'}</a></th>".
                     &Apache::loncommon::end_data_table_header_row();
                     foreach my $key (sort(keys(%{$Sortby{$status}}))) {
                         foreach my $user (@{$Sortby{$status}{$key}}) {
@@ -1021,7 +1018,6 @@
     $r->print('<table>');
     if (($broadcast eq 'group') && ($group ne '') && 
         (!$can_grp_broadcast && !$viewgrps && !$editgrps)) {
-        print STDERR "$broadcast AND $env{'form.group'} AND $can_grp_broadcast\n";
         $r->print(&recipient_input_row($cdom,%lt));
     } 
     if (($broadcast ne 'group') && ($broadcast ne 'upload')) {