diff --git a/workflow/engine/controllers/installer.php b/workflow/engine/controllers/installer.php index 442c97ce4..d13495df5 100755 --- a/workflow/engine/controllers/installer.php +++ b/workflow/engine/controllers/installer.php @@ -35,6 +35,14 @@ class Installer extends Controller public function index ($httpData) { + $partnerFlag = (defined('PARTNER_FLAG')) ? PARTNER_FLAG : false; + if ($partnerFlag){ + $this->includeExtJS( 'installer/stopInstall'); + $this->setView( 'installer/mainStopInstall' ); + G::RenderPage( 'publish', 'extJs' ); + return; + } + $licenseContent = file_get_contents( PATH_TRUNK . 'LICENSE.txt' ); $this->includeExtJS( 'installer/CardLayout', false ); diff --git a/workflow/engine/templates/installer/mainStopInstall.html b/workflow/engine/templates/installer/mainStopInstall.html new file mode 100644 index 000000000..d2d829d71 --- /dev/null +++ b/workflow/engine/templates/installer/mainStopInstall.html @@ -0,0 +1,5 @@ + + +
+
+
\ No newline at end of file diff --git a/workflow/engine/templates/installer/stopInstall.js b/workflow/engine/templates/installer/stopInstall.js new file mode 100644 index 000000000..ff743d8a6 --- /dev/null +++ b/workflow/engine/templates/installer/stopInstall.js @@ -0,0 +1,16 @@ +Ext.onReady(function() { + + var formLicenseLog = new Ext.FormPanel({ + labelWidth : 60, + frame : true, + autoScroll: true, + monitorValid : true, + renderTo : 'bodyNoInsatalled', + title : _('ID_TITLE_NO_INSTALL'), + + items:[ + {html: _('ID_NO_INSTALL')} + ] + }); +}); +