raintpl3 icon indicating copy to clipboard operation
raintpl3 copied to clipboard

Parser error

Open amunhoz opened this issue 10 years ago • 2 comments

I think there is a problem with the parser:

This tpl code:

<div id="login-logo"><a href="{$baselink}"><img src="images/logo-black.png" alt="{$sysbrand}" /> </a></div>

Was parsed as this:

<div id="login-logo"><a href="<?php echo ($baselink}"><img src="<?php echo static::$conf['base_url']; ?>/server/www/tmp/sbm/editsite/tpl$2" alt="{$sysbrand); ?>" /> </a></div>

The first echo was closed far away from it's position. And the image file name is not placed "$2".

amunhoz avatar Jun 27 '14 19:06 amunhoz

Definitely an error in the path replace

From my iPhone

On Jun 27, 2014, at 3:11 PM, amunhoz [email protected] wrote:

I think there is a problem with the parser:

This tpl code:

Was parsed as this:

The first echo was closed far away from it's position.

— Reply to this email directly or view it on GitHub.

feulf avatar Jun 27 '14 21:06 feulf

already handled with my second pull request #159.

wu3rstle avatar Oct 19 '14 09:10 wu3rstle