/** * Obtener la pestaña de encriptación * * @return bool */ public function getEncryptionTab() { $this->setAction(self::ACTION_CFG_ENCRYPTION); if (!$this->checkAccess()) { return; } $this->view->addTemplate('encryption'); $this->view->assign('lastUpdateMPass', ConfigDB::getValue("lastupdatempass")); $this->view->assign('tempMasterPassTime', ConfigDB::getValue("tempmaster_passtime")); $this->view->assign('tempMasterMaxTime', ConfigDB::getValue("tempmaster_maxtime")); $this->view->assign('tempMasterPass', Session::getTemporaryMasterPass()); $this->view->append('tabs', array('title' => _('Encriptación'))); $this->view->assign('tabIndex', $this->getTabIndex(), 'encryption'); }