@@ -104,5 +104,14 @@ if(sizeof($callBackFile)) {
|
||||
}
|
||||
$oHeadPublisher->assign("importProcessCallbackFile", $file);
|
||||
|
||||
$isGranularFeature = false;
|
||||
/*----------------------------------********---------------------------------*/
|
||||
$licensedFeatures = & PMLicensedFeatures::getSingleton();
|
||||
if ($licensedFeatures->verifyfeature('jXsSi94bkRUcVZyRStNVExlTXhEclVadGRRcG9xbjNvTWVFQUF3cklKQVBiVT0=')) {
|
||||
$isGranularFeature = true;
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
$oHeadPublisher->assign("isGranularFeature", $isGranularFeature);
|
||||
|
||||
G::RenderPage( 'publish', 'extJs' );
|
||||
|
||||
|
||||
@@ -66,7 +66,8 @@ class System extends Api
|
||||
$enabledFeatures = array();
|
||||
/*----------------------------------********---------------------------------*/
|
||||
$keys = array ('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=',
|
||||
'oq3S29xemxEZXJpZEIzN01qenJUaStSekY4cTdJVm5vbWtVM0d4S2lJSS9qUT0=');
|
||||
'oq3S29xemxEZXJpZEIzN01qenJUaStSekY4cTdJVm5vbWtVM0d4S2lJSS9qUT0=',
|
||||
'jXsSi94bkRUcVZyRStNVExlTXhEclVadGRRcG9xbjNvTWVFQUF3cklKQVBiVT0=');
|
||||
foreach ($keys as $key) {
|
||||
if (\PMLicensedFeatures
|
||||
::getSingleton()
|
||||
|
||||
@@ -251,7 +251,7 @@ Ext.onReady(function(){
|
||||
//Code export - exportGranular (handle)
|
||||
var exportProcessOption;
|
||||
/*----------------------------------********---------------------------------*/
|
||||
if (true) {
|
||||
if (isGranularFeature) {
|
||||
exportProcessOption = {
|
||||
xtype: "tbsplit",
|
||||
id: "export",
|
||||
@@ -532,7 +532,7 @@ Ext.onReady(function(){
|
||||
//code export - exportGranular (handler)
|
||||
var menuExportOption;
|
||||
/*----------------------------------********---------------------------------*/
|
||||
if (true) {
|
||||
if (isGranularFeature) {
|
||||
menuExportOption = {
|
||||
text: _("ID_EXPORT"),
|
||||
icon: "/images/export.png",
|
||||
|
||||
Reference in New Issue
Block a user