Changeset 135 for dev/common/home.php

Show
Ignore:
Timestamp:
12/06/06 14:56:04 (14 years ago)
Author:
exi
Message:

Added an rss-icon to main page.
Cleaned up kill_detail template.
Added autoupgrade code for standings table.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/home.php

    r104 r135  
    6969} 
    7070 
    71 $html .= "<div class=kb-kills-header>20 most recent kills</div>"; 
     71// bad hax0ring, we really need mod callback stuff 
     72if (strpos($config->getConfig('mods_active'), 'rss_feed') !== false) 
     73{ 
     74    $html .= "<div class=kb-kills-header><a href=\"?a=rss\"><img src=\"mods/rss_feed/rss_icon.png\" alt=\"RSS-Feed\" border=\"0\"></a>&nbsp;20 most recent kills</div>"; 
     75} 
     76else 
     77{ 
     78    $html .= "<div class=kb-kills-header>20 most recent kills</div>"; 
     79} 
    7280 
    7381$klist = new KillList();