Mercurial > defr > templates
comparison menu.php @ 0:c86959030ae8
Import initial
author | Franck Deroche <webmaster@defr.net> |
---|---|
date | Sat, 10 Mar 2007 21:48:42 +0100 |
parents | |
children | 54b0a41e5564 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c86959030ae8 |
---|---|
1 <?php | |
2 require 'class.template.php'; | |
3 $tpl = new Template('menu.xml'); | |
4 $params = array( | |
5 '#monMenu' => array( | |
6 array('dt' => 'Test1'), | |
7 array('dd' => 'Truc1'), | |
8 array('dt' => 'Test2'), | |
9 array('dd' => 'Truc2') | |
10 ) | |
11 ); | |
12 $tpl->setParams($params); | |
13 echo $tpl; | |
14 ?> |