environment = $environment; parent::__construct(array('text' => $text), array(), $lineno, $tag); } /** * Compiles the node to PHP. * * @param Twig_Compiler A Twig_Compiler instance */ public function compile(\Twig_Compiler $compiler) { $compiler->addDebugInfo($this); $config = $this->environment->get_phpbb_config(); if (!$config['tpl_allow_php']) { $compiler ->write("// PHP Disabled\n") ; return; } $compiler ->raw($this->getNode('text')->getAttribute('data')) ; } } ion value='distro/mdv2008.0'>distro/mdv2008.0 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-10 17:18:36 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-10 17:18:36 +0000
commitfd47416a279e8e76108049016c6db50c99279cac (patch)
tree8052657cbf6833e703caaec3ede2b00b266868aa
parentf83ad87da1a3a2aceb22550524d0070e36c591df (diff)
downloaddrakx-fd47416a279e8e76108049016c6db50c99279cac.tar
drakx-fd47416a279e8e76108049016c6db50c99279cac.tar.gz
drakx-fd47416a279e8e76108049016c6db50c99279cac.tar.bz2
drakx-fd47416a279e8e76108049016c6db50c99279cac.tar.xz
drakx-fd47416a279e8e76108049016c6db50c99279cac.zip
further merge with KDE
Diffstat