Changeset 134 for dev/common/globals.php

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/globals.php

    r99 r134  
    3939    return number_format(round($s, 1), 1); 
    4040} 
     41 
     42function get_tpl($name) 
     43{ 
     44    if (IS_IGB) 
     45    { 
     46        if (file_exists('./templates/igb_'.$name.'.tpl')) 
     47        { 
     48            return 'igb_'.$name.'.tpl'; 
     49        } 
     50    } 
     51    return $name.'.tpl'; 
     52} 
    4153?>