aboutsummaryrefslogtreecommitdiffstats
path: root/admin/advanced_feature.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 /admin/advanced_feature.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 'admin/advanced_feature.php')
-rw-r--r--admin/advanced_feature.php17
1 files changed, 5 insertions, 12 deletions
diff --git a/admin/advanced_feature.php b/admin/advanced_feature.php
index aab295b38..e5104e8a6 100644
--- a/admin/advanced_feature.php
+++ b/admin/advanced_feature.php
@@ -2,10 +2,9 @@
// +-----------------------------------------------------------------------+
// | 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 : $RCSfile$
+// | file : $Id$
// | last update : $Date$
// | last modifier : $Author$
// | revision : $Revision$
@@ -89,24 +88,18 @@ $advanced_features =
// | Template init |
// +-----------------------------------------------------------------------+
-$template->set_filenames(array('advanced_feature'=>'admin/advanced_feature.tpl'));
+$template->set_filename('advanced_feature', 'admin/advanced_feature.tpl');
$start_url = get_root_url().'admin.php?page=advanced_feature&amp;action=';
-$template->assign_vars(
+$template->assign(
array
(
'U_HELP' => get_root_url().'popuphelp.php?page=advanced_feature'
));
// advanced_features
-if (count($advanced_features) > 0)
-{
- foreach ($advanced_features as $advanced_feature)
- {
- $template->assign_block_vars('advanced_features.advanced_feature', $advanced_feature);
- }
-}
+$template->assign('advanced_features', $advanced_features);
// +-----------------------------------------------------------------------+
// | Sending html code |