* Type: block
* Name: head
* Date: April 28, 2006
* Purpose: move all content in headblocks to the header of the html document
*
* Examples:
*
* {head}
*
* {/head}
*
* @author Mathias Baert
* @version 0.1
* @param array
* @param string
* @param Smarty
* @param boolean
* @return string
*/
function smarty_block_head($params, $content, &$smarty, &$repeat){
if ( empty($content) ) {
return;
}
return '@@@SMARTY:HEAD:BEGIN@@@'.trim($content).'@@@SMARTY:HEAD:END@@@';
}
?>