Changeset 391 for dev/mods

Show
Ignore:
Timestamp:
06/24/09 14:17:02 (11 years ago)
Author:
kovell
Message:

Fixes: kill_detail comment posting works and non-existent kll_id gives correct error, t3 subsystems have correct location, potential conflicts with old mods and db classes removed.

Location:
dev/mods
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • dev/mods/apoc_fitting/kill_detail.php

    r388 r391  
    11<?php 
    22require_once('common/includes/class.kill.php'); 
     3 
     4$page = new Page('Kill details'); 
    35 
    46$kll_id = intval($_GET['kll_id']); 
  • dev/mods/ext_fitting/kill_detail.php

    r370 r391  
    257257        } 
    258258        $i_name = $item->getName(); 
    259         $i_location = $destroyed->getLocationID(); 
    260         $i_id = $item->getID(); 
    261         $i_usedgroup = $item->get_used_launcher_group($i_name); 
    262         $dest_array[$i_location][] = array('Icon' => $item->getIcon(32), 'Name' => $i_name, 'Quantity' => $i_qty, 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $i_id,'slotID' => $i_location); 
     259                $i_location = $destroyed->getLocationID(); 
     260                if($i_location == 7) $i_location = 4; 
     261                $i_id = $item->getID(); 
     262                $i_usedgroup = $item->get_used_launcher_group($i_name); 
     263                $dest_array[$i_location][] = array('Icon' => $item->getIcon(32), 'Name' => $i_name, 'Quantity' => $i_qty, 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $i_id,'slotID' => $i_location); 
    263264                 
    264265                //Fitting, KE - add destroyed items to an array of all fitted items. 
     
    317318        } 
    318319        $i_name = $item->getName(); 
    319         $i_location = $dropped->getLocationID(); 
    320         $i_id = $item->getID(); 
    321         $i_usedgroup = $item->get_used_launcher_group($i_name); 
     320                $i_location = $dropped->getLocationID(); 
     321                if($i_location == 7) $i_location = 4; 
     322                $i_id = $item->getID(); 
     323                $i_usedgroup = $item->get_used_launcher_group($i_name); 
    322324        $drop_array[$i_location][] = array('Icon' => $item->getIcon(32), 'Name' => $i_name, 'Quantity' => $i_qty, 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $i_id,'slotID' => $i_location); 
    323325                 
  • dev/mods/signature_generator/sig.php

    r390 r391  
    3333    errorPic('That pilot doesnt exist.'); 
    3434} 
    35 $pilot->getPortraitURL(128); 
     35$pilot->getPortraitURL(256); 
    3636$corp = $pilot->getCorp(); 
    3737$alliance = $corp->getAlliance(); 
  • dev/mods/value_fetch/cron.php

    r338 r391  
    2020 
    2121require_once('kbconfig.php'); 
    22 require_once('common/includes/class.db.php'); 
     22require_once('common/includes/db.php'); 
    2323require_once('mods/value_fetch/fetcher.php'); 
    2424