Changeset 351:a10315556ae4 for inc
- Timestamp:
- 06/09/11 16:36:23 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r341 r351 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 325 331 $err = ""; 326 332 if (count($errors) > 0) { … … 3236 3242 $this->closed = true; 3237 3243 } 3244 public function isClosed() { 3245 return $this->closed; 3246 } 3238 3247 public function compile($tpl) { 3239 3248 if ($this->closed) {
Note: See TracChangeset
for help on using the changeset viewer.