header.tpl goes smart

git-svn-id: http://piwigo.org/svn/trunk@2240 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2008-03-02 00:29:27 +00:00
parent 1f271ceca3
commit 6e932e8752
6 changed files with 86 additions and 123 deletions
+2 -6
View File
@@ -257,12 +257,8 @@ if (is_adviser())
if (count($header_msgs) > 0)
{
$template->assign_block_vars('header_msgs',array());
foreach ($header_msgs as $header_msg)
{
$template->assign_block_vars('header_msgs.header_msg',
array('HEADER_MSG'=>$header_msg));
}
$template->assign('header_msgs', $header_msgs);
$header_msgs=array();
}
if (!empty($conf['filter_pages']) and get_filter_page_value('used'))