diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-03-21 01:01:25 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-03-21 01:01:25 +0000 |
commit | c6429c17ca59f36bf54986b438bf00cce85986f2 (patch) | |
tree | 5fe2f54190120006d644acd916b56cc49cc5615e /notification.php | |
parent | 22631d6dfda79a30aad1588204493b2ffb6e81cf (diff) |
- 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
Diffstat (limited to 'notification.php')
-rw-r--r-- | notification.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/notification.php b/notification.php index 6d5d67ae3..a65411bd8 100644 --- a/notification.php +++ b/notification.php @@ -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'); |