includes/template.php
changeset 320 112debff64bd
parent 317 f8356d9c3481
child 322 5f1cd51bf1be
equal deleted inserted replaced
319:8be996c3740d 320:112debff64bd
  1070     //
  1070     //
  1071     // Data substitution/variables
  1071     // Data substitution/variables
  1072     //
  1072     //
  1073     
  1073     
  1074     // System messages
  1074     // System messages
  1075     $text = preg_replace('/<!-- SYSMSG ([A-z0-9\._-]+?) -->/is', '\' . $this->tplWikiFormat($pages->sysMsg(\'\\1\')) . \'', $text);
  1075     $text = preg_replace('/<!-- SYSMSG ([A-z0-9\._-]+?) -->/is', '\' . $this->tplWikiFormat($paths->sysMsg(\'\\1\')) . \'', $text);
  1076     
  1076     
  1077     // Template variables
  1077     // Template variables
  1078     $text = preg_replace('/\{([A-z0-9_-]+?)\}/is', '\' . $this->tpl_strings[\'\\1\'] . \'', $text);
  1078     $text = preg_replace('/\{([A-z0-9_-]+?)\}/is', '\' . $this->tpl_strings[\'\\1\'] . \'', $text);
  1079     
  1079     
  1080     // Reinsert PHP
  1080     // Reinsert PHP