Show
Ignore:
Timestamp:
05/08/07 16:40:42 (16 years ago)
Author:
ralle030583
Message:

All files (i hope i havent forgott something) was modified to use the the config in this way:
- config::get($key)
- config::del($key)
- config::set($key,value)

Exception Templates/Smarty?:
The templates still uses $config->get($key) and $config->set($key,$value) cause
it seems that smarty dont like the :: notification

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/templates/admin_mapoptions.tpl

    r123 r213  
    1111    {section name=opt loop=$options[id].option} 
    1212        {assign var="o" value=$options[id].option[opt]} 
    13         <tr><td width="120"><b>{$o.descr}:</b></td><td><input type="checkbox" name="{$o.name}" id="{$o.name}"{if $config->getConfig($o.name)}checked="checked"{/if}></td></tr> 
     13        <tr><td width="120"><b>{$o.descr}:</b></td><td><input type="checkbox" name="{$o.name}" id="{$o.name}"{if $config->get($o.name)}checked="checked"{/if}></td></tr> 
    1414    {/section} 
    1515    {section name=opt loop=$options[id].color} 
    1616        {assign var="o" value=$options[id].color[opt]} 
    17         <tr><td width="120"><b>{$o.descr}:</b></td><td><input type="edit" name="{$o.name}" id="{$o.name}"{if $config->getConfig($o.name)} value="{$config->getConfig($o.name)}"{/if}></td></tr> 
     17        <tr><td width="120"><b>{$o.descr}:</b></td><td><input type="edit" name="{$o.name}" id="{$o.name}"{if $config->get($o.name)} value="{$config->get($o.name)}"{/if}></td></tr> 
    1818    {/section} 
    1919</table>