Diff for /loncom/interface/lonmsgdisplay.pm between versions 1.139.2.1 and 1.140

version 1.139.2.1, 2010/01/06 18:25:38 version 1.140, 2010/01/13 16:39:19
Line 295  sub scrollbuttons { Line 295  sub scrollbuttons {
     } else {      } else {
         $status = $statushash{$msgstatus};          $status = $statushash{$msgstatus};
     }      }
     return      my $output = '<b>'.&mt('Page:').'</b> ';
    '<b>'.&mt('Page').'</b>: '.       if ($maxdis == 1) {
    '<input type="submit" name="firstview" value="|&lt;" />'.          # No buttons if only one page is displayed
    '<input type="submit" name="prevview" value="&lt;" />'.          $output .= '1/1';
    ' <input type="text" size="5" name="startdis" value="'.$start.'" onchange="this.form.submit()" /> / '.$maxdis.' '.      } else {
    '<input type="submit" name="nextview" value="&gt;" />'.          $output .=
    '<input type="submit" name="lastview" value="&gt;|" /><br />'.             '<input type="submit" name="firstview" value="|&lt;" />'.
    &mt('<b>[_1] messages</b>: showing messages [_2] through [_3] of [_4].',$status,$first,$finish,$total).'</form>';             '<input type="submit" name="prevview" value="&lt;" />'.
              ' <input type="text" size="5" name="startdis" value="'.$start.'" onchange="this.form.submit()" /> / '.$maxdis.' '.
              '<input type="submit" name="nextview" value="&gt;" />'.
              '<input type="submit" name="lastview" value="&gt;|" />';
       }
       $output .=
           '<br />'
          .'<b>'.&mt($status.' messages:').'</b> '
          .&mt('showing messages [_1] through [_2] of [_3].',
               $first,$finish,$total)
          .'</form>';
   
       return $output;
 }  }
 # =============================================================== Status Change  # =============================================================== Status Change
   
Line 2842  ENDJS Line 2854  ENDJS
 # =========================================================== Show the citation  # =========================================================== Show the citation
   
 sub displayresource {  sub displayresource {
     if (&Apache::loncommon::needs_gci_custom()) {  
         return '';  
     }  
     my %content=@_;      my %content=@_;
 #  #
 # If the recipient is in the same course that the message was sent from and  # If the recipient is in the same course that the message was sent from and

Removed from v.1.139.2.1  
changed lines
  Added in v.1.140


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