Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser error #157

Open
amunhoz opened this issue Jun 27, 2014 · 2 comments
Open

Parser error #157

amunhoz opened this issue Jun 27, 2014 · 2 comments

Comments

@amunhoz
Copy link
Contributor

amunhoz commented Jun 27, 2014

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".

@feulf
Copy link
Owner

feulf commented Jun 27, 2014

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.

@wu3rstle
Copy link
Contributor

already handled with my second pull request #159.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants