includes/template.php
changeset 383 1030864dc319
parent 377 bb3e6c3bd4f4
child 389 da3bb3e99323
equal deleted inserted replaced
382:2ccb55995aef 383:1030864dc319
  1109     //
  1109     //
  1110     // Data substitution/variables
  1110     // Data substitution/variables
  1111     //
  1111     //
  1112     
  1112     
  1113     // System messages
  1113     // System messages
  1114     $text = preg_replace('/<!-- SYSMSG ([A-z0-9\._-]+?) -->/is', '\' . $this->tplWikiFormat($paths->sysMsg(\'\\1\')) . \'', $text);
  1114     $text = preg_replace('/<!-- SYSMSG ([A-z0-9\._-]+?) -->/is', '\' . $template->tplWikiFormat($paths->sysMsg(\'\\1\')) . \'', $text);
  1115     
  1115     
  1116     // Template variables
  1116     // Template variables
  1117     $text = preg_replace('/\{([A-z0-9_-]+?)\}/is', '\' . $this->tpl_strings[\'\\1\'] . \'', $text);
  1117     $text = preg_replace('/\{([A-z0-9_-]+?)\}/is', '\' . $this->tpl_strings[\'\\1\'] . \'', $text);
  1118     
  1118     
  1119     // Reinsert PHP
  1119     // Reinsert PHP