mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
- 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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user