- minor language changes and use template->assign instead of template->assign_var

git-svn-id: http://piwigo.org/svn/trunk@2288 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2008-03-21 01:01:25 +00:00
parent 22631d6dfd
commit c6429c17ca
10 changed files with 36 additions and 63 deletions

View File

@@ -75,21 +75,19 @@ $template->append('head_elements',
'<link rel="alternate" type="application/rss+xml" href="'.$feed_url.'">'
);
include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->set_filenames(array('notification'=>'notification.tpl'));
$template->assign_vars(
$template->assign(
array(
'U_FEED' => $feed_url,
'U_FEED_IMAGE_ONLY' => $feed_image_only_url,
'U_HOME' => make_index_url(),
)
);
// +-----------------------------------------------------------------------+
// | html code display |
// +-----------------------------------------------------------------------+
include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->parse('notification');
include(PHPWG_ROOT_PATH.'include/page_tail.php');