- Timestamp:
- Jul 9, 2006, 8:00:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/include/template.php
r1092 r1457 329 329 function compile($code, $do_not_echo = false, $retvar = '') 330 330 { 331 $code = preg_replace('/\{pwg_root\}/e', "get_root_url()", $code);332 331 // PWG specific : communication between template and $lang 333 332 $code = preg_replace('/\{lang:([^}]+)\}/e', "l10n('$1')", $code); 334 333 // PWG specific : expand themeconf.inc.php variables 335 334 $code = preg_replace('/\{themeconf:([^}]+)\}/e', "get_themeconf('$1')", $code); 335 $code = preg_replace('/\{pwg_root\}/e', "get_root_url()", $code); 336 336 337 337 // replace \ with \\ and then ' with \'.
Note: See TracChangeset
for help on using the changeset viewer.