function showAuthForm() { global $smarty; if (CUtils::_getVar('error')) { $this->message['type'] = 'error'; $this->message['text'] = CUtils::_getVar('error'); } if (CUtils::_getVar('ok')) { $this->message['type'] = 'ok'; $this->message['text'] = CUtils::_getVar('ok'); } $smarty->assign('message', CUtils::showMsg($this->message)); $smarty->display('admin/form.auth.tpl'); exit; }