mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
header.tpl goes smart
git-svn-id: http://piwigo.org/svn/trunk@2240 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user