- File:
-
- 1 edited
-
inc/public/class.dc.template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r351 r341 323 323 } 324 324 325 if (($node instanceof tplNodeBlock) && !$node->isClosed()) {326 $errors[] = sprintf(327 __('Did not find closing tag for block <tpl:%s>. Content has been ignored.'),328 html::escapeHTML($node->getTag()));329 }330 331 325 $err = ""; 332 326 if (count($errors) > 0) { … … 3242 3236 $this->closed = true; 3243 3237 } 3244 public function isClosed() {3245 return $this->closed;3246 }3247 3238 public function compile($tpl) { 3248 3239 if ($this->closed) {
Note: See TracChangeset
for help on using the changeset viewer.
