|
@@ 1382-1387 (lines=6) @@
|
| 1379 |
|
} |
| 1380 |
|
|
| 1381 |
|
while ($first === ' ' || $first === "\n" || $first === "\t" || $first === "\r") { |
| 1382 |
|
if ($curBlock === 'root' && substr($in, $from, strlen($this->rd)) === $this->rd) { |
| 1383 |
|
// end template tag |
| 1384 |
|
$pointer += strlen($this->rd); |
| 1385 |
|
if ($this->debug) { |
| 1386 |
|
echo 'TEMPLATE PARSING ENDED' . "\n"; |
| 1387 |
|
} |
| 1388 |
|
|
| 1389 |
|
return false; |
| 1390 |
|
} |
|
@@ 1530-1535 (lines=6) @@
|
| 1527 |
|
|
| 1528 |
|
return $this->removeBlock($match[1]); |
| 1529 |
|
} |
| 1530 |
|
} elseif ($curBlock === 'root' && substr($substr, 0, strlen($this->rd)) === $this->rd) { |
| 1531 |
|
// end template tag |
| 1532 |
|
if ($this->debug) { |
| 1533 |
|
echo 'TAG PARSING ENDED' . "\n"; |
| 1534 |
|
} |
| 1535 |
|
$pointer += strlen($this->rd); |
| 1536 |
|
|
| 1537 |
|
return false; |
| 1538 |
|
} elseif (is_array($parsingParams) && preg_match('#^(([\'"]?)[a-z0-9_]+\2\s*=' . ($curBlock === 'array' ? '>?' : '') . ')(?:\s+|[^=]).*#i', $substr, $match)) { |