Source for file function.add_additional_header.php
Documentation is available at function.add_additional_header.php
* Zikula Application Framework
* @copyright (c) 2004, Zikula Development Team
* @link http://www.zikula.org
* @version $Id: function.add_additional_header.php 24342 2008-06-06 12:03:14Z markwest $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* @package Zikula_Template_Plugins
* Smarty function to add additional information to the <head> </head>
* section of a Zikula document
* - header: If set, the value is assigned to the global
* $additional_header array. The value can be a single
* string or an array of strings.
* <!--[add_additional_header header='<title>This is the title</title>']-->
* <!--[add_additional_header header=$title]-->
* @param array $params All attributes passed to this function from the template
* @param object &$smarty Reference to the Smarty object
* @return string the value of the last status message posted, or void if no status message exists
if (!isset ($args['header'])) {
global $additional_header;
foreach($args['header'] as $header) {
$additional_header[] = $header;
$additional_header[] = $args['header'];
|