Show
Ignore:
Timestamp:
05/08/07 16:40:42 (13 years ago)
Author:
ralle030583
Message:

All files (i hope i havent forgott something) was modified to use the the config in this way:
- config::get($key)
- config::del($key)
- config::set($key,value)

Exception Templates/Smarty?:
The templates still uses $config->get($key) and $config->set($key,$value) cause
it seems that smarty dont like the :: notification

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/mods/known_members/corp_detail.php

    r212 r213  
    406406                 
    407407   case "known_members": 
    408                 if($config->getConfig('known_members_own')) 
     408                if(config::get('known_members_own')) 
    409409                        { 
    410410                                $alliance->getID(); 
     
    432432                        $qry->execute($query); 
    433433                        $cnt = $qry->recordCount(); 
    434                         $clmn = $config->getConfig('known_members_clmn'); 
     434                        $clmn = config::get('known_members_clmn'); 
    435435                         
    436436                $html .= "<div class=block-header2>Known Pilots (".$cnt.")</div>"; 
     
    535535$menubox->addOption("link","Top killers", "?a=corp_detail&crp_id=" . $corp->getID() . "&view=pilot_kills"); 
    536536 
    537 if (config::getKillPoints()) 
     537if (config::get('kill_points')) 
    538538    $menubox->addOption("link","Top scorers", "?a=corp_detail&crp_id=" . $corp->getID() . "&view=pilot_scores"); 
    539539$menubox->addOption("link","Top solokillers", "?a=corp_detail&crp_id=" . $corp->getID() . "&view=pilot_solo");