Diff for /loncom/interface/groupboards.pm between versions 1.16 and 1.19

version 1.16, 2012/11/11 17:33:18 version 1.19, 2013/08/17 00:34:29
Line 109  sub handler { Line 109  sub handler {
  &create_board($cdom,$cnum,$group,$env{'form.newbul'});   &create_board($cdom,$cnum,$group,$env{'form.newbul'});
             if ($outcome eq 'ok') {              if ($outcome eq 'ok') {
                 my ($furl,$ferr)= &Apache::lonuserstate::readmap($cdom.'/'.$cnum);                  my ($furl,$ferr)= &Apache::lonuserstate::readmap($cdom.'/'.$cnum);
                 $r->print(&mt('The new discussion board was added successfully.<br />'));                  $r->print(&mt('The new discussion board was added successfully.').'<br />');
                 $r->print('<table border="0"><tr><td>'.                  $r->print('<table border="0"><tr><td>'.
                           '<a href="'.$newurl.'?group='.$group.'&amp;'.$refarg.                            '<a href="'.$newurl.'?group='.$group.'&amp;'.$refarg.
                           '">'.&mt('Edit [_1] board',$bbtitle).'</a></td>'.                            '">'.&mt('Edit [_1] board',$bbtitle).'</a></td>'.
Line 120  sub handler { Line 120  sub handler {
                 if ($lockfreed ne 'ok') {                  if ($lockfreed ne 'ok') {
                     $r->print(&mt('There was a problem removing a lockfile for the group ([_1]).',$description).'<br />'.                      $r->print(&mt('There was a problem removing a lockfile for the group ([_1]).',$description).'<br />'.
                               &mt('This may prevent creation of additional bulletin boards in this group.').'<br />'.                                &mt('This may prevent creation of additional bulletin boards in this group.').'<br />'.
                               &mt('Please contact the domain coordinator for your LON-CAPA domain.'));                                &mt('Please contact the [_1]helpdesk[_2] for assistance.',
                                     '<a href="/adm/helpdesk">','</a>')
                                );
                 }                  }
             } else {              } else {
                 $r->print(&mt('There was a problem creating the new discussion board - [_1]','<span class="LC_error">'.$outcome.'</span>').'<br /><a href="/adm/groupboards?group='.$group.'">'.                  $r->print(&mt('There was a problem creating the new discussion board - [_1]','<span class="LC_error">'.$outcome.'</span>').'<br /><a href="/adm/groupboards?group='.$group.'">'.
Line 152  function makebulboard() { Line 154  function makebulboard() {
         $r->print('<br /><form method="post" name="newbb" action="/adm/groupboards">'.          $r->print('<br /><form method="post" name="newbb" action="/adm/groupboards">'.
                   "\n".'<input type="button" name="bbbutton" value="'.                    "\n".'<input type="button" name="bbbutton" value="'.
                   &mt('New Discussion Board').                    &mt('New Discussion Board').
                   '" onClick="javascript:makebulboard();" />'."\n".                    '" onclick="javascript:makebulboard();" />'."\n".
                   '<input type="hidden" name="newbul" />'."\n".                    '<input type="hidden" name="newbul" />'."\n".
                   '<input type="hidden" name="group" value="'.$group.'" />'.                    '<input type="hidden" name="group" value="'.$group.'" />'.
                   '<input type="hidden" name="ref" value="'.$env{'form.ref'}.'" />'.                    '<input type="hidden" name="ref" value="'.$env{'form.ref'}.'" />'.

Removed from v.1.16  
changed lines
  Added in v.1.19


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>