Adicion de formulario para evitar installer para Linux con el PARTNER_FLAG

This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-08-30 10:32:17 -04:00
parent 06d19a4faa
commit 8003fe102e
3 changed files with 29 additions and 0 deletions

View File

@@ -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 );

View File

@@ -0,0 +1,5 @@
<table width="100%" align="center">
<td align="center">
<div id="bodyNoInsatalled" style=" width:320px; height: 200px; margin: 2% auto; "></div>
</td>
</table>

View File

@@ -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')}
]
});
});