- {known_script} and {html_head} work from {include file...}
git-svn-id: http://piwigo.org/svn/trunk@2627 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
b596647c2a
commit
11d699f4b3
1 changed files with 1 additions and 8 deletions
|
|
@ -329,14 +329,7 @@ class Template {
|
|||
$content = trim($content);
|
||||
if ( !empty($content) )
|
||||
{ // second call
|
||||
if ( empty($this->output) )
|
||||
{//page header not parsed yet
|
||||
$this->append('head_elements', $content);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->html_head_elements[] = $content;
|
||||
}
|
||||
$this->html_head_elements[] = $content;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue