Hi Marcus, Am Donnerstag, den 20.03.2008, 21:59 +0100 schrieb Marcus Boerger: [...] > so instead promoting code fixes we are promoting bad style, is that what > you want? I am strongly against this! Please revert and ask for once.
The idea was more or less the following (extremely simplified):
index.php:
$title = 'My Title';
$text = 'This is a bit of text to be passed to the template';
ini_set('short_open_tag', 'on');
require_once 'path/to/my/template.phtml';
ini_set('short_open_tag', 'off');
template.phtml:
<h1><?=escape($title)?></h1>
<p><?=escape($text)?></p>
I feel that this is a perfectly valid use-case.
cu, Lars
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
