/** * Show the content of the email */ public function emailviewAction() { $this->getHelper('layout')->setLayout('blank'); $id = $this->getRequest()->getParam('id'); if (is_numeric($id)) { $email = EmailsTemplatesSends::getById($id); $this->view->email = $email; } return $this->render('emailpreview'); }