Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.3

Bug #5774 HTML_Template_ITX->buildFunctionlist
Submitted: 2005-10-25 08:34 UTC
From: th_ru at web dot de Assigned: dufuz
Status: Closed Package: HTML_Template_IT
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-10-25 08:34 UTC] th_ru at web dot de
Description: ------------ In function "HTML_Template_ITX->buildFunctionlist" you find 2 lines: ... $this->template = str_replace($regs[0] . $head . ')', '{__function' . $num . '__}', $this->template ); $template = str_replace($regs[0] . $head . ')', '{__function' . $num . '__}', $template ); ... As a result of this you are forced to use '{' and '}' as delimiters (var $openingDelimiter, var $closingDelimiter in class HTML_Template_IT) Solution: Replace the 2 lines with the following: $this->template = str_replace($regs[0] . $head . ')', $this->openingDelimiter . '__function' . $num . '__' . $this->closingDelimiter, $this->template ); $template = str_replace($regs[0] . $head . ')', $this->openingDelimiter . '__function' . $num . '__' . $this->closingDelimiter, $template );

Comments

 [2005-10-28 10:45 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!