Show
Ignore:
Timestamp:
07/14/09 17:04:11 (11 years ago)
Author:
kovell
Message:

Fixes: missing code in rankmod located. logo code detects missing gd function, api_alliance labels Faction a Faction

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/mods/api_alliance/alliance_detail.php

    r376 r423  
    8080if ($myAlliance) 
    8181{ 
    82         $page = new Page('Alliance details - '.$alliance->getName() . " [" . $myAlliance["shortName"] . "]"); 
     82        if($alliance->isFaction()) $page = new Page('Faction details - '.$alliance->getName() . " [" . $myAlliance["shortName"] . "]"); 
     83        else $page = new Page('Alliance details - '.$alliance->getName() . " [" . $myAlliance["shortName"] . "]"); 
    8384         
    8485        foreach ( (array)$myAlliance["memberCorps"] as $tempcorp) 
     
    167168        $html .= "<br/>";             
    168169} else { 
    169         $page = new Page('Alliance details - '.$alliance->getName()); 
     170        if($alliance->isFaction()) $page = new Page('Faction details - '.$alliance->getName() . " [" . $myAlliance["shortName"] . "]"); 
     171        else $page = new Page('Alliance details - '.$alliance->getName() . " [" . $myAlliance["shortName"] . "]"); 
    170172         
    171173        $html .= "<table class=kb-table width=\"100%\" border=\"0\" cellspacing=1><tr class=kb-table-row-even><td rowspan=8 width=128 align=center bgcolor=black>";