Mercurial > defr > templates
diff menu.php @ 0:c86959030ae8
Import initial
author | Franck Deroche <webmaster@defr.net> |
---|---|
date | Sat, 10 Mar 2007 21:48:42 +0100 |
parents | |
children | 54b0a41e5564 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menu.php Sat Mar 10 21:48:42 2007 +0100 @@ -0,0 +1,14 @@ +<?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; +?> \ No newline at end of file