aboutsummaryrefslogtreecommitdiffstats
path: root/tags.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-02-28 02:41:48 +0000
committerrvelices <rv-github@modusoptimus.com>2008-02-28 02:41:48 +0000
commitc73923204927f406d492491398980d3aa429c4eb (patch)
tree717f79ecab01b8d97c359c27406be6dd26ff8193 /tags.php
parent618158aca4d99fe522b0f54d547442f17a5db148 (diff)
- migrate many templates to smarty
git-svn-id: http://piwigo.org/svn/trunk@2223 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'tags.php')
-rw-r--r--tags.php14
1 files changed, 4 insertions, 10 deletions
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