Show
Ignore:
Timestamp:
05/08/07 10:20:01 (13 years ago)
Author:
ralle030583
Message:

- replaced $config->getConfig with config::getconfig so we havent a mix in all files<br>
- added valing='top' to award boxes to make the awards nice in board with not many pilots<br>
- removed not needed includes<br>
- added event 'killmail_delete' which is called before real delete of a killmail<br>
- admin can see classified system in the killmaildetails

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/mods/forum_post/class.killsummarytable.php

    r207 r212  
    8686    function getkills() 
    8787    { 
    88         global $config; 
    8988        if ($this->mixedinvolved_) 
    9089        { 
     
    109108 
    110109        $sql = 'SELECT count(*) AS knb, scl_id, scl_class,'; 
    111         if ($config->getConfig('ship_values')) 
     110        if (config::getConfig('ship_values')) 
    112111        { 
    113112            $sql .= ' sum(ifnull(ksv.shp_value,scl.scl_value)) AS kisk FROM kb3_kills kll 
     
    143142 
    144143        $sql = 'SELECT count(*) AS lnb, scl_id, scl_class,'; 
    145         if ($config->getConfig('ship_values')) 
     144        if (config::getConfig('ship_values')) 
    146145        { 
    147146            $sql .= ' sum(ifnull(ksv.shp_value,scl.scl_value)) AS lisk FROM kb3_kills kll 
     
    402401 
    403402                // Build our Post 
    404                 $config = new config(KB_SITE); 
    405                 $set_colours = unserialize($config->getConfig('forum_post_colours'));   //load colour settings 
     403                $set_colours = unserialize(config::getConfig('forum_post_colours'));    //load colour settings 
    406404                if(!is_array($set_colours)) { $set_colours = array(); }                                 // if the settings have been reset create an empty array so as not to brake the code later on 
    407                 $set_styles = unserialize($config->getConfig('forum_post_styles'));             //load style settings 
     405                $set_styles = unserialize(config::getConfig('forum_post_styles'));              //load style settings 
    408406                if(!is_array($set_styles)) { $set_styles = array(); }                                   // if the settings have been reset create an empty array so as not to brake the code later on 
    409                 $set_isk = $config->getConfig('forum_post_isk',$_POST['isk']);                  // load isk setting 
     407                $set_isk = config::getConfig('forum_post_isk',$_POST['isk']);                   // load isk setting 
    410408                 
    411409                //print_r($set_styles); 
     
    443441                $style_close = ""; 
    444442                }                
    445                 $order = $config->getConfig('forum_post_order'); 
     443                $order = config::getConfig('forum_post_order'); 
    446444                 
    447445                if($order == "first"){