class ContactController extends ContactControllerCore
{
public function initContent()
{
$this->context->smarty->assign(array(
'HOOK_CREATE_ACCOUNT_FORM' => Hook::exec('createAccountForm'),
'privacy_message' => Configuration::get('CUSTPRIV_MESSAGE', $this->context->language->id)
));parent::initContent();
}
public function postProcess()
{
if (Tools::isSubmit('submitMessage'))
Hook::exec('actionBeforeSubmitAccount');
parent::postProcess();
}
}