|
@@ 1526-1526 (lines=1) @@
|
| 1523 |
|
*/ |
| 1524 |
|
private function replace_callback($param) |
| 1525 |
|
{ |
| 1526 |
|
if (array_key_exists('$$'.$param[4].'$$',$this->replacements)) $param[4] = $this->replacements['$$'.$param[4].'$$']; |
| 1527 |
|
if (array_key_exists('$$'.$param[3].'$$',$this->replacements)) $param[3] = $this->replacements['$$'.$param[3].'$$']; |
| 1528 |
|
|
| 1529 |
|
$pattern = '/'.preg_quote($param[2], '/').'/'; |
|
@@ 1527-1527 (lines=1) @@
|
| 1524 |
|
private function replace_callback($param) |
| 1525 |
|
{ |
| 1526 |
|
if (array_key_exists('$$'.$param[4].'$$',$this->replacements)) $param[4] = $this->replacements['$$'.$param[4].'$$']; |
| 1527 |
|
if (array_key_exists('$$'.$param[3].'$$',$this->replacements)) $param[3] = $this->replacements['$$'.$param[3].'$$']; |
| 1528 |
|
|
| 1529 |
|
$pattern = '/'.preg_quote($param[2], '/').'/'; |
| 1530 |
|
if (strpos($param[0],'$$IF') === 0 && (trim($param[2]) == "EMPTY" || $param[2] === '')) |