Show
Ignore:
Timestamp:
06/23/09 17:45:47 (13 years ago)
Author:
kovell
Message:

Fixes: sig mod works, apikill setting saved on admin panel, page cache does not attempt to double gzip, banner and award images have size set.

Location:
dev/mods
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/mods

    • Property svn:ignore set to
      db_check
  • dev/mods/signature_generator/signatures/zealot/zealot.php.safe

    r208 r390  
    6060 
    6161// ship 
    62 $sid = $kill->victimshipexternalid_; 
     62$sid = $kill->getVictimShipExternalID(); 
    6363$img = imagecreatefrompng("img/ships/64_64/".$sid.".png"); 
    64 imagecopyresized($im, $img, 354, 6, 0, 0, 40, 40, 64, 64); 
     64imagecopyresampled($im, $img, 354, 6, 0, 0, 40, 40, 64, 64); 
    6565 
    6666bevel(354, 6, 40); 
    6767 
    6868// player portrait 
    69 $pid = $pilot->row_['plt_externalid']; 
    70 if (!$pid) 
    71 { 
    72     $pid = 0; 
    73 } 
    74 $img = imagecreatefromjpeg("cache/portraits/".$pid."_128.jpg"); 
     69$img = imagecreatefromjpeg("cache/portraits/".$pid."_256.jpg"); 
    7570//imagefilledrectangle($im, 318, 18, 392, 92, $greyred_trans); 
    76 imagecopyresized($im, $img, 6, 6, 0, 0, 63, 63, 128, 128); 
     71imagecopyresampled($im, $img, 6, 6, 0, 0, 63, 63, 256,256); 
    7772imagedestroy($img); 
    7873