Show
Ignore:
Timestamp:
11/30/06 22:07:03 (14 years ago)
Author:
exi
Message:

Moved comments to a small class and made it use smarty.
Fixed an error message output of the parser.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/alliance_detail.php

    r104 r130  
    280280$menubox->addOption("caption","Pilot statistics"); 
    281281$menubox->addOption("link","Top killers", "?a=alliance_detail&all_id=" . $alliance->getID() . "&view=pilot_kills"); 
    282  
    283 $killboard = $page->killboard_; 
    284 $config = $killboard->getConfig(); 
    285 if ($config->getKillPoints()) 
    286     $menubox->addOption("Top scorers", "?a=alliance_detail&all_id=" . $alliance->getID() . "&view=pilot_scores"); 
     282if ($config->getConfig('kill_points')) 
     283{ 
     284    $menubox->addOption('link', "Top scorers", "?a=alliance_detail&all_id=" . $alliance->getID() . "&view=pilot_scores"); 
     285} 
    287286$menubox->addOption("link","Top losers", "?a=alliance_detail&all_id=" . $alliance->getID() . "&view=pilot_losses"); 
    288287$menubox->addOption("caption","Global statistics");