$arrInfo['act'] = $GLOBALS['TL_LANG'][$arrInfo['table']][$arrInfo['mode']][0]; } } else { $arrInfo['act'] = $GLOBALS['TL_LANG'][$arrInfo['table']][$arrInfo['act']][0]; } unset($arrInfo['pid']); unset($arrInfo['clipboard']); unset($arrInfo['ref']); unset($arrInfo['mode']); // Template variables $this->Template->confirm = true; $this->Template->link = specialchars($url); $this->Template->info = $arrInfo; $this->Template->labels = $GLOBALS['TL_LANG']['CONFIRM']; $this->Template->explain = $GLOBALS['TL_LANG']['ERR']['invalidTokenUrl']; $this->Template->cancel = $GLOBALS['TL_LANG']['MSC']['cancelBT']; $this->Template->continue = $GLOBALS['TL_LANG']['MSC']['continue']; $this->Template->theme = Backend::getTheme(); $this->Template->base = Environment::get('base'); $this->Template->language = $GLOBALS['TL_LANGUAGE']; $this->Template->title = specialchars($GLOBALS['TL_LANG']['MSC']['invalidTokenUrl']); $this->Template->charset = Config::get('characterSet'); $this->Template->output(); } } /** * Instantiate the controller */ $objConfirm = new Confirm(); $objConfirm->run();