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

raeburn lon-capa-cvs@mail.lon-capa.org
Fri, 30 Jun 2006 15:37:58 -0000


raeburn		Fri Jun 30 11:37:58 2006 EDT

  Modified files:              
    /loncom/interface	groupboards.pm 
  Log:
  No need to specify register=1 and symb=$symb n links as these occur automatically when bulletinboard page requests are handled.  
  
  
Index: loncom/interface/groupboards.pm
diff -u loncom/interface/groupboards.pm:1.2 loncom/interface/groupboards.pm:1.3
--- loncom/interface/groupboards.pm:1.2	Fri Jun 30 10:08:35 2006
+++ loncom/interface/groupboards.pm	Fri Jun 30 11:37:58 2006
@@ -79,8 +79,7 @@
                 my ($furl,$ferr)= &Apache::lonuserstate::readmap($cdom.'/'.$cnum);
                 $r->print(&mt('The new discussion board was added successfully.<br />'));
                 $r->print('<table border="0"><tr><td>'.
-                          '<a href="'.$newurl.'?register=1&symb='.$symb.
-                          '&group='.$group.'">'.
+                          '<a href="'.$newurl.'?group='.$group.'">'.
                           &mt('Edit [_1] board',$bbtitle).'</a></td>'.
                            '<td>&nbsp;&nbsp;</td><td>'.
                           '<a href="/adm/groupboards?group='.$group.'">'.
@@ -145,7 +144,7 @@
     }
     if (@groupboards) {
         foreach my $board (@groupboards) {
-            $r->print('<a href="'.$boards{$board}{'url'}.'?register=1&amp;symb='.$board.'&amp;group='.$group.'">'.$boards{$board}{'title'}.'</a><br />');
+            $r->print('<a href="'.$boards{$board}{'url'}.'?group='.$group.'">'.$boards{$board}{'title'}.'</a><br />');
         }
     } else {
         $r->print(&mt('There are currently no discussion boards in this [_1].',