<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forums/tests/template/templates/basic.html, branch master</title>
<subtitle>The forums.mageia.org Website</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/'/>
<entry>
<title>[feature/template-engine] Fix negative variable expressions</title>
<updated>2011-04-26T03:19:36+00:00</updated>
<author>
<name>Igor Wiedler</name>
<email>igor@wiedler.ch</email>
</author>
<published>2011-04-26T00:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=427a5122d55f06c861277297411f7e39a03a703c'/>
<id>427a5122d55f06c861277297411f7e39a03a703c</id>
<content type='text'>
compile_tag_if had the flawed approach of adding an isset statement for
all variables to the beginning of the if. This fails for negative
expressions, and checking those takes a considerable effort.

The easier solution is to make the variable expression itself
conditional, defaulting to null if it is not set.

Thanks to naderman for the solution.

PHPBB3-9726
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compile_tag_if had the flawed approach of adding an isset statement for
all variables to the beginning of the if. This fails for negative
expressions, and checking those takes a considerable effort.

The easier solution is to make the variable expression itself
conditional, defaulting to null if it is not set.

Thanks to naderman for the solution.

PHPBB3-9726
</pre>
</div>
</content>
</entry>
<entry>
<title>- Make a start on completing the phpDoc comments for the template engine</title>
<updated>2008-11-24T21:59:33+00:00</updated>
<author>
<name>Chris Smith</name>
<email>toonarmy@phpbb.com</email>
</author>
<published>2008-11-24T21:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=332521a3696df8e1504933bee5658d005549f3b4'/>
<id>332521a3696df8e1504933bee5658d005549f3b4</id>
<content type='text'>
- Tidy template engine code, mainly PHP5 stuff, made some methods void instead of just returning true
- Add tests for the remaining untested compilation code


git-svn-id: file:///svn/phpbb/trunk@9115 89ea8834-ac86-4346-8a33-228a782c2dd0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Tidy template engine code, mainly PHP5 stuff, made some methods void instead of just returning true
- Add tests for the remaining untested compilation code


git-svn-id: file:///svn/phpbb/trunk@9115 89ea8834-ac86-4346-8a33-228a782c2dd0
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial template tests, a bit hackish currently, excuse the rushed nature of this commit got to catch a train :)</title>
<updated>2008-10-15T16:21:27+00:00</updated>
<author>
<name>Chris Smith</name>
<email>toonarmy@phpbb.com</email>
</author>
<published>2008-10-15T16:21:27+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=69cfb5b821cdb2676d4d5a10943dc1550d1ad168'/>
<id>69cfb5b821cdb2676d4d5a10943dc1550d1ad168</id>
<content type='text'>
git-svn-id: file:///svn/phpbb/trunk@9020 89ea8834-ac86-4346-8a33-228a782c2dd0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: file:///svn/phpbb/trunk@9020 89ea8834-ac86-4346-8a33-228a782c2dd0
</pre>
</div>
</content>
</entry>
</feed>
