passing several $vars to template

Martin d'Anjou Martin.Danjou at neterion.com
Tue May 31 19:18:35 UTC 2005


Hi again,

I have a template which creates many bugs at once. I would like to produce
an output similar to the one you get when you commit changes to several
bugs at once.

I have something like this at the end of my post_bug_tree template 
(inspired from post_bug.html.tmpl):

$template->process("bug/create/created_tree.html.tmpl", $vars)

Can someone show me how to pass multiple bugs through $vars to the 
template?

Thanks,
Martin




More information about the developers mailing list