Hi how to get $tpl->vars to include them for ex. into array and than execue
inside template?
Ex.
I have defined:
$tpl = new PHPTAL('tpl/header.tpl');
$tpl->title = 'Panel administracyjny';
$tpl->manage = 'manage';
$tpl->settings = 'settings';
echo "echo translation".$tpl->manage;
$options = array(
array($tpl->manage,'parking.png','parking.php'),
array($tpl->settings,'settings.png','settings.php'),
array('sdfsdfs','camera.png','camera.php'));
echo $tpl->execute();
and when $tpl->manage is echoed there is null. I want some value ('manage');
the goal is to input variables into array and that pass array into template
Greetings
Michal
_______________________________________________
PHPTAL mailing list
[email protected]
http://lists.motion-twin.com/mailman/listinfo/phptal