* @copyright 2007-2016 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */ /** * @since 1.5.0 */ class BlocknewsletterVerificationModuleFrontController extends ModuleFrontController { private $message = ''; /** * @see FrontController::postProcess() */ public function postProcess() { $this->message = $this->module->confirmEmail(Tools::getValue('token')); } /** * @see FrontController::initContent() */ public function initContent() { parent::initContent(); $this->context->smarty->assign('message', $this->message); $this->setTemplate('verification_execution.tpl'); } }