From c73923204927f406d492491398980d3aa429c4eb Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 28 Feb 2008 02:41:48 +0000 Subject: - migrate many templates to smarty git-svn-id: http://piwigo.org/svn/trunk@2223 68402e56-0260-453c-a942-63ccdbb3a9ee --- tags.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'tags.php') diff --git a/tags.php b/tags.php index 582d9d504..b7a4a570d 100644 --- a/tags.php +++ b/tags.php @@ -2,9 +2,8 @@ // +-----------------------------------------------------------------------+ // | PhpWebGallery - a PHP based picture gallery | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | -// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | +// | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) // | file : $Id$ // | last update : $Date$ // | last modifier : $Author$ @@ -61,11 +60,6 @@ $title= l10n('Tags'); $page['body_id'] = 'theTagsPage'; $template->set_filenames(array('tags'=>'tags.tpl')); -$template->assign_vars( - array( - 'U_HOME' => make_index_url(), - ) - ); // +-----------------------------------------------------------------------+ // | tag cloud construction | @@ -88,8 +82,8 @@ usort($tags, 'name_compare'); // display sorted tags foreach ($tags as $tag) { - $template->assign_block_vars( - 'tag', + $template->append( + 'tags', array( 'URL' => make_index_url( array( @@ -105,6 +99,6 @@ foreach ($tags as $tag) } include(PHPWG_ROOT_PATH.'include/page_header.php'); -$template->parse('tags'); +$template->pparse('tags'); include(PHPWG_ROOT_PATH.'include/page_tail.php'); ?> \ No newline at end of file -- cgit v1.2.3