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/default/default.php

    r87 r390  
    4545 
    4646// ship 
    47 $sid = $kill->victimshipexternalid_; 
     47$sid = $kill->getVictimShipExternalID(); 
    4848$img = imagecreatefrompng("img/ships/64_64/".$sid.".png"); 
    49 imagecopyresized($im, $img, 5, 5, 0, 0, 30, 30, 64, 64); 
     49imagecopyresampled($im, $img, 5, 5, 0, 0, 30, 30, 64, 64); 
    5050 
    5151// player portrait 
    52 $pid = $pilot->row_['plt_externalid']; 
     52 
    5353if (!$pid) 
    5454{ 
    5555    $pid = 0; 
    5656} 
    57 $img = imagecreatefromjpeg("cache/portraits/".$pid."_128.jpg"); 
     57$img = imagecreatefromjpeg("cache/portraits/".$pid."_256.jpg"); 
    5858imagefilledrectangle($im, 318, 18, 392, 92, $greyred_trans); 
    59 imagecopyresized($im, $img, 320, 20, 0, 0, 70, 70, 128, 128); 
     59imagecopyresampled($im, $img, 320, 20, 0, 0, 70, 70, 256, 256); 
    6060imagedestroy($img); 
    6161?>