Show
Ignore:
Timestamp:
12/06/06 03:11:17 (14 years ago)
Author:
exi
Message:

Added standings-management.
Changed installer step 3 to only use POST data now.
Character portraits should now look a bit better.
Changed all smarty template requests to use a wrapper function.
Modified standard page for IGB.
Added php compat file to reduce minimal needed version to 4.0.9.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/class.item.php

    r133 r134  
    1818    { 
    1919        $this->execQuery(); 
    20 //        if (!$this->row_['itm_name']) 
    21 //        { 
    22 //            return $this->id_; 
    23 //        } 
    2420        return $this->row_['itm_name']; 
    2521    } 
    26  
    27  
    2822 
    2923    function getIcon($size = 32) 
     
    4741        } 
    4842 
    49         if (substr($this->getName(), strlen($this->getName()) - 2, 2) == "II" || $this->row_['techlevel']) 
     43        if (substr($this->getName(), strlen($this->getName()) - 2, 2) == "II" || $this->row_['techlevel'] == 2) 
    5044        { 
    5145            $icon .= IMG_URL.'/items/32_32/t2.gif'; 
     
    5852        $smarty->assign('img', $img); 
    5953        $smarty->assign('icon', $icon); 
    60         return $smarty->fetch('icon.tpl'); 
     54        return $smarty->fetch(get_tpl('icon')); 
    6155    } 
    6256 
     
    7165        if (!$this->qry_->executed_) 
    7266        { 
     67            if (!$this->id_) 
     68            { 
     69                return false; 
     70            } 
    7371            $this->sql_ = "select * 
    7472                           from kb3_items, kb3_item_types