view menu.php @ 12:8a99fa4ea193

On ignore desormais les .swp générés par vi aussi
author Franck Deroche <webmaster@defr.org>
date Mon, 22 Oct 2007 08:53:46 +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;
?>