Diff for /loncom/interface/lonwhatsnew.pm between versions 1.108 and 1.109

version 1.108, 2012/10/04 11:31:58 version 1.109, 2012/11/29 23:31:13
Line 285  END Line 285  END
         $scripttag.='document.visible.submit();          $scripttag.='document.visible.submit();
 }  }
   
   function thresholdreset() {
       document.visible.command.value="reset";
       document.visible.submit();
   }
   
 function togglelogins() {  function togglelogins() {
     var total = document.visible.logincount.value;      var total = document.visible.logincount.value;
     var sumrow = document.visible.loginrow.value;      var sumrow = document.visible.loginrow.value;
Line 1663  sub display_abovethreshold { Line 1668  sub display_abovethreshold {
     );      );
     if (@{$warnings} > 0) {      if (@{$warnings} > 0) {
         @{$warnings} = sort { &cmp_title($a,$b,$res_title) } @{$warnings};          @{$warnings} = sort { &cmp_title($a,$b,$res_title) } @{$warnings};
         $r->print('<form name="reset_tracking" method="post" action="/adm/whatsnew">'.          $r->print('<input type="hidden" name="command" value="" />'."\n");
                 ' <input type="hidden" name="command" value="reset" />'."\n".  
                 ' <input type="hidden" name="refpage" value="'.$refpage.'" />'.  
                 "\n");  
         $r->print('<tr class="LC_info_row">'.          $r->print('<tr class="LC_info_row">'.
   '<td class="LC_left_item">'.$lt{'reso'}.'</td>'.    '<td class="LC_left_item">'.$lt{'reso'}.'</td>'.
   '<td>'.$lt{'part'}.'</td><td>'.$lt{'nust'}.'</td>'.    '<td>'.$lt{'part'}.'</td><td>'.$lt{'nust'}.'</td>'.
Line 1704  sub display_abovethreshold { Line 1706  sub display_abovethreshold {
                 }                  }
             }              }
         }          }
         $r->print('<tr class="LC_info_row"><td colspan="7" class="LC_right_item"><br /><input type="submit" name="counters" value="'.$lt{'rese'}.'" /></td></tr></form>');          $r->print('<tr class="LC_info_row"><td colspan="7" class="LC_right_item"><br /><input type="button" name="counters" value="'.$lt{'rese'}.'" onclick="javascript:thresholdreset();" /></td></tr></form>');
     } elsif ($itemserror) {      } elsif ($itemserror) {
         $r->print('<tr class="LC_empty_row"><td>'.$itemserror.'</td></tr>');          $r->print('<tr class="LC_empty_row"><td>'.$itemserror.'</td></tr>');
     } else {      } else {

Removed from v.1.108  
changed lines
  Added in v.1.109


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