dbFields = array(
'tracking-id'=>'',
'google-site-verification'=>''
);
}
public function form()
{
$html = '
';
$html .= '
';
$html .= '
';
$html .= '
'.$this->L('complete-this-field-with-the-google-site-verification').'
';
$html .= '
';
$html .= '';
$html .= '
';
$html .= '
';
$html .= '
'.$this->L('complete-this-field-with-the-tracking-id').'
';
$html .= '
';
return $html;
}
public function siteHead()
{
global $Url;
if(Text::isEmpty($this->getDbField('google-site-verification')) || !($Url->whereAmI()=='home')) {
return false;
}
$html = PHP_EOL.''.PHP_EOL;
$html .= ''.PHP_EOL;
return $html;
}
public function siteBodyEnd()
{
$html = PHP_EOL.''.PHP_EOL;
$html .= "".PHP_EOL;
if(Text::isEmpty($this->getDbField('tracking-id'))) {
return false;
}
return $html;
}
}