PM-1060: I added marcas
This commit is contained in:
@@ -197,6 +197,40 @@ class PMLicensedFeatures
|
|||||||
"type" => "features",
|
"type" => "features",
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"version" => ""
|
"version" => ""
|
||||||
|
),
|
||||||
|
10 => array(
|
||||||
|
"description" => "This plugin will synchronize ProcessMaker with an LDAP or Active Directory server for user authentication.",
|
||||||
|
"enabled" => false,
|
||||||
|
"id" => "ldapAdvanced",
|
||||||
|
"latest_version" => "",
|
||||||
|
"log" => null,
|
||||||
|
"name" => "ldapAdvanced",
|
||||||
|
"nick" => "ldapAdvanced",
|
||||||
|
"progress" => 0,
|
||||||
|
"publisher" => "Colosa",
|
||||||
|
"release_type" => "localRegistry",
|
||||||
|
"status" => "ready",
|
||||||
|
"store" => "00000000000000000000000000010010",
|
||||||
|
"type" => "features",
|
||||||
|
"url" => "",
|
||||||
|
"version" => ""
|
||||||
|
),
|
||||||
|
11 => array(
|
||||||
|
"description" => "SSO with an LDAP provider.",
|
||||||
|
"enabled" => false,
|
||||||
|
"id" => "windowsSSO",
|
||||||
|
"latest_version" => "",
|
||||||
|
"log" => null,
|
||||||
|
"name" => "windowsSSO",
|
||||||
|
"nick" => "windowsSSO",
|
||||||
|
"progress" => 0,
|
||||||
|
"publisher" => "Colosa",
|
||||||
|
"release_type" => "localRegistry",
|
||||||
|
"status" => "ready",
|
||||||
|
"store" => "00000000000000000000000000010011",
|
||||||
|
"type" => "features",
|
||||||
|
"url" => "",
|
||||||
|
"version" => ""
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -43,9 +43,11 @@ $licensedFeatures = & PMLicensedFeatures::getSingleton();
|
|||||||
|
|
||||||
$oHeadPublisher = & headPublisher::getSingleton();
|
$oHeadPublisher = & headPublisher::getSingleton();
|
||||||
$oHeadPublisher->addExtJsScript( 'authSources/authSourcesList', false ); //adding a javascript file .js
|
$oHeadPublisher->addExtJsScript( 'authSources/authSourcesList', false ); //adding a javascript file .js
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
if ($licensedFeatures->verifyfeature('sywN09PSzh1MVdOajZBdnhMbFhCSnpNT1lLTEFwVklmOTE=')) {
|
if ($licensedFeatures->verifyfeature('sywN09PSzh1MVdOajZBdnhMbFhCSnpNT1lLTEFwVklmOTE=')) {
|
||||||
$oHeadPublisher->addExtJsScript( 'authSources/authSourcesListSyn', false ); //adding a javascript file .js
|
$oHeadPublisher->addExtJsScript( 'authSources/authSourcesListSyn', false ); //adding a javascript file .js
|
||||||
}
|
}
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
$oHeadPublisher->addContent( 'authSources/authSourcesList' ); //adding a html file .html.
|
$oHeadPublisher->addContent( 'authSources/authSourcesList' ); //adding a html file .html.
|
||||||
$oHeadPublisher->assign( 'FORMATS', $c->getFormats() );
|
$oHeadPublisher->assign( 'FORMATS', $c->getFormats() );
|
||||||
$oHeadPublisher->assign( 'CONFIG', $Config );
|
$oHeadPublisher->assign( 'CONFIG', $Config );
|
||||||
|
|||||||
@@ -37,10 +37,12 @@ $G_PUBLISH = new Publisher();
|
|||||||
$fields = $RBAC->getAuthSource( $_GET['sUID'] );
|
$fields = $RBAC->getAuthSource( $_GET['sUID'] );
|
||||||
if (file_exists( PATH_XMLFORM . 'ldapAdvanced/' . $fields['AUTH_SOURCE_PROVIDER'] . 'Edit.xml' )) {
|
if (file_exists( PATH_XMLFORM . 'ldapAdvanced/' . $fields['AUTH_SOURCE_PROVIDER'] . 'Edit.xml' )) {
|
||||||
$pluginEnabled = 0;
|
$pluginEnabled = 0;
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
$licensedFeatures = & PMLicensedFeatures::getSingleton();
|
$licensedFeatures = & PMLicensedFeatures::getSingleton();
|
||||||
if ($licensedFeatures->verifyfeature('sywN09PSzh1MVdOajZBdnhMbFhCSnpNT1lLTEFwVklmOTE=')) {
|
if ($licensedFeatures->verifyfeature('sywN09PSzh1MVdOajZBdnhMbFhCSnpNT1lLTEFwVklmOTE=')) {
|
||||||
$pluginEnabled = 1;
|
$pluginEnabled = 1;
|
||||||
}
|
}
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
if ($pluginEnabled == 0) {
|
if ($pluginEnabled == 0) {
|
||||||
$G_PUBLISH->AddContent( 'xmlform', 'xmlform', 'login/showMessage', '', array ('MESSAGE' => G::LoadTranslation( 'ID_AUTH_SOURCE_FEATURE_MISSING' ) ) );
|
$G_PUBLISH->AddContent( 'xmlform', 'xmlform', 'login/showMessage', '', array ('MESSAGE' => G::LoadTranslation( 'ID_AUTH_SOURCE_FEATURE_MISSING' ) ) );
|
||||||
G::RenderPage( 'publish', 'blank' );
|
G::RenderPage( 'publish', 'blank' );
|
||||||
|
|||||||
Reference in New Issue
Block a user