aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/event_tracer/event_list.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-03-06 00:25:47 +0000
committerrvelices <rv-github@modusoptimus.com>2008-03-06 00:25:47 +0000
commit37446caa5c362d998be6e1343995a5a7548a98a6 (patch)
tree3e124ec42bb7851756dd25229373172cf0400ccf /plugins/event_tracer/event_list.php
parent7e1e705f8ba79c7579a1c433ad6cf3488a4e349b (diff)
- upgrade goes smarty
- event_tracer goes smarty - correction in index.tpl git-svn-id: http://piwigo.org/svn/trunk@2254 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/event_tracer/event_list.php')
-rw-r--r--plugins/event_tracer/event_list.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/event_tracer/event_list.php b/plugins/event_tracer/event_list.php
index 1f1969629..ae617fe87 100644
--- a/plugins/event_tracer/event_list.php
+++ b/plugins/event_tracer/event_list.php
@@ -67,16 +67,17 @@ global $template;
$url = get_admin_plugin_menu_link(__FILE__);
-$template->assign_vars( array(
+$template->assign( array(
'NB_EVENTS' => count($events),
'U_SORT0' => add_url_params($url, array('sort'=>0) ),
'U_SORT1' => add_url_params($url, array('sort'=>1) ),
'U_SORT2' => add_url_params($url, array('sort'=>2) ),
) );
+$template->assign('events', array());
foreach ($events as $e)
{
- $template->assign_block_vars( 'event', array(
+ $template->append( 'events', array(
'TYPE' => $e[0],
'NAME' => $e[1],
'FILE' => $e[2],