<params />
<params>
<param name="customhead" type="textarea" default="" label="Custom Header Text" description="" rows="10" cols="50" />
</params>
if ($mainframe->isAdmin())
return;
$html = trim($this->params->get("customhead"));
$mainframe->addCustomHeadTag($html);