Changeset 210

Show
Ignore:
Timestamp:
05/01/07 16:07:16 (15 years ago)
Author:
exi
Message:

Added the possibility to 'tag' kills via killists, add a tag to a killlist and it will put the tag on every kill in that list. The killlisttable will then give it to smarty.

Location:
dev/common/includes
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/class.killlist.php

    r209 r210  
    289289            $kill->_sclid = $row['scl_id']; 
    290290            $kill->_shpid = $row['shp_id']; 
     291            if ($this->_tag) 
     292            { 
     293                $kill->_tag = $this->_tag; 
     294            } 
    291295            if (config::get('kill_classified')) 
    292296            { 
     
    483487        $this->ordered_ = $flag; 
    484488    } 
     489 
     490    function tag($string) 
     491    { 
     492        if ($string == '') 
     493        { 
     494            $this->_tag = null; 
     495        } 
     496        else 
     497        { 
     498            $this->_tag = $string; 
     499        } 
     500    } 
    485501} 
    486502 
  • dev/common/includes/class.killlisttable.php

    r190 r210  
    7979            $kll['systemsecurity'] = $kill->getSolarSystemSecurity(); 
    8080            $kll['timestamp'] = $kill->getTimeStamp(); 
     81            if (isset($kill->_tag)) 
     82            { 
     83                $kll['tag'] = $kill->_tag; 
     84            } 
    8185 
    8286            if ($kill->fbplt_ext_)