Issue:
Adicionar los siguientes features la posibilidad de seleccionarse en la licencia (features):
- Code Scanner
- Multiple Email Servers
- Mobile Fields
Cause:
Nuevo validacion de licencia para features
Solution:
Se agrego validacion de licencia para los features especificados
27 lines
1.1 KiB
PHP
27 lines
1.1 KiB
PHP
<?php
|
|
global $RBAC;
|
|
|
|
if ($RBAC->userCanAccess("PM_SETUP") != 1) {
|
|
G::SendTemporalMessage("ID_USER_HAVENT_RIGHTS_PAGE", "error", "labels");
|
|
exit(0);
|
|
}
|
|
|
|
//Data
|
|
$configuration = new Configurations();
|
|
$arrayConfigPage = $configuration->getConfiguration("emailServerList", "pageSize", null, $_SESSION["USER_LOGGED"]);
|
|
|
|
$arrayConfig = array();
|
|
$arrayConfig["pageSize"] = (isset($arrayConfigPage["pageSize"]))? $arrayConfigPage["pageSize"] : 20;
|
|
|
|
$headPublisher = &headPublisher::getSingleton();
|
|
$headPublisher->addContent("emailServer/emailServer"); //Adding a HTML file
|
|
$headPublisher->addExtJsScript("emailServer/emailServer", false); //Adding a JavaScript file
|
|
$headPublisher->assign("CONFIG", $arrayConfig);
|
|
|
|
/*----------------------------------********---------------------------------*/
|
|
$headPublisher->assign("EMAILSERVER_LICENSED", (PMLicensedFeatures::getSingleton()->verifyfeature("zIKRGpDM3pjcHFsWGplNDN0dTl5bGN3UTNiOWdQU0E5Q05QTksrU1ladWQ0VT0="))? 1 : 0);
|
|
/*----------------------------------********---------------------------------*/
|
|
|
|
G::RenderPage("publish", "extJs");
|
|
|