Changeset 10 for trunk/dotnode-xml.php

Show
Ignore:
Timestamp:
08/09/05 01:23:02 (7 years ago)
Author:
alexx
Message:

* remove last "domain dependency" (hard coded domain)
* replace hard coded IP or login (for debug/administration purpose) by configuration array $configadmin_login? and $configadmin_ip?
* replace hard coded email by $configemail?
* manage smarty var by $_SMARTY (that will be assigned on time at the end of script), dotnode-*.php from the root has been modified
* fixe gettext file to reflect change into terms that contain an hard coded email
* some minor change

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dotnode-xml.php

    r1 r10  
    3737$smarty->config_dir = SMARTYPATH.'/configs/'; 
    3838$smarty->cache_dir = SMARTYPATH.'/cache/'; 
    39 $smarty->debugging_ctrl = true; 
     39$smarty->debugging_ctrl = false; 
    4040$smarty->register_modifier('wikise', 'Wikise'); 
    4141$smarty->compile_id = 'xml'; 
     
    110110                $tpl='default.tpl'; 
    111111 
     112        $_SMARTY['tpl'] = $tpl; 
     113        $_SMARTY['token'] = $token; 
     114        $_SMARTY['url_id'] = $url_id; 
     115        $_SMARTY['profile'] = $user; 
    112116        $smarty->assign($_SMARTY); 
    113         $smarty->assign('tpl', $tpl); 
    114         $smarty->assign('token', $token); 
    115         $smarty->assign('url_id', $url_id); 
    116         $smarty->assign('profile', $user); 
    117117} 
    118118