view menu.php @ 5:888b9807b2b3

Ajout de retours en fin de ligne
author Franck Deroche <webmaster@defr.org>
date Sun, 21 Oct 2007 13:20:25 +0200
parents c86959030ae8
children 54b0a41e5564
line wrap: on
line source
<?php
    require 'class.template.php';
    $tpl = new Template('menu.xml');
    $params = array(
        '#monMenu' => array(
            array('dt' => 'Test1'),
            array('dd' => 'Truc1'),
            array('dt' => 'Test2'),
            array('dd' => 'Truc2')
        )
    );
    $tpl->setParams($params);
    echo $tpl;
?>