includes/template.php
changeset 259 112debff64bd
parent 256 f8356d9c3481
child 261 5f1cd51bf1be
equal deleted inserted replaced
258:8be996c3740d 259: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