Improvement, change "green" to "classic
This commit is contained in:
@@ -572,7 +572,7 @@ var installer=function()
|
||||
this.installation=function(rpc)
|
||||
{
|
||||
/* var r = new leimnud.module.rpc.xmlhttp({
|
||||
url :"/sysworkflow/en/green/tools/updateTranslation",
|
||||
url :"/sysworkflow/en/classic/tools/updateTranslation",
|
||||
method :"GET"
|
||||
});
|
||||
r.callback=function(rpc)
|
||||
@@ -608,7 +608,7 @@ var installer=function()
|
||||
this.options.buttong.value="Finish Installation";
|
||||
this.options.buttong.onmouseup=function()
|
||||
{
|
||||
window.location = "/sysworkflow/en/green/login/login";
|
||||
window.location = "/sysworkflow/en/classic/login/login";
|
||||
}.extend(this);
|
||||
tdS.appendChild(this.options.buttong);
|
||||
this.buttonFun(this.options.buttong);
|
||||
|
||||
@@ -43,7 +43,7 @@ echo '<?xml version="1.0" encoding="UTF-8" ?>';
|
||||
<script type='text/javascript' src='/js/maborak/core/maborak.js'></script>
|
||||
<link rel="stylesheet" type="text/css" href="/js/maborak/samples/style.css" />
|
||||
|
||||
<script type='text/javascript' src='/sys/en/green/install/install.js'></script>
|
||||
<script type='text/javascript' src='/sys/en/classic/install/install.js'></script>
|
||||
<script type='text/javascript'>
|
||||
var ifr;
|
||||
var forceCssLoad = true;
|
||||
|
||||
@@ -191,7 +191,7 @@ else if($action==="install")
|
||||
*
|
||||
* 4.2 Update translation from this url (background)
|
||||
*
|
||||
* http://ProcessmakerHostname/sysworkflow/en/green/tools/updateTranslation
|
||||
* http://ProcessmakerHostname/sysworkflow/en/classic/tools/updateTranslation
|
||||
*
|
||||
*
|
||||
*
|
||||
@@ -325,22 +325,22 @@ else if($action==="install")
|
||||
fclose( $fp );
|
||||
|
||||
/* Update languages */
|
||||
$update = file_get_contents("http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/sysworkflow/en/green/tools/updateTranslation");
|
||||
$update = file_get_contents("http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/sysworkflow/en/classic/tools/updateTranslation");
|
||||
$logger->log("Update language => ".((!$update)?$update:"OK"));
|
||||
|
||||
/* Heartbeat Enable/Disable */
|
||||
if(!isset($dataClient->heartbeatEnabled)) $dataClient->heartbeatEnabled=true;
|
||||
$update = file_get_contents("http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/sysworkflow/en/green/install/heartbeatStatus?status=".$dataClient->heartbeatEnabled);
|
||||
$update = file_get_contents("http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/sysworkflow/en/classic/install/heartbeatStatus?status=".$dataClient->heartbeatEnabled);
|
||||
$logger->log("Heartbeat Status => ".str_replace("<br>","\n",$update));
|
||||
|
||||
/* Autoinstall Process */
|
||||
$update = file_get_contents("http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/sysworkflow/en/green/install/autoinstallProcesses");
|
||||
$update = file_get_contents("http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/sysworkflow/en/classic/install/autoinstallProcesses");
|
||||
if (trim(str_replace("<br>","",$update)) == "")
|
||||
$update = "Nothing to do.";
|
||||
$logger->log("Process AutoInstall => ".str_replace("<br>","\n",$update));
|
||||
|
||||
/* Autoinstall Plugins */
|
||||
$update = file_get_contents("http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/sysworkflow/en/green/install/autoinstallPlugins");
|
||||
$update = file_get_contents("http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/sysworkflow/en/classic/install/autoinstallPlugins");
|
||||
if (trim(str_replace("<br>","",$update)) == "")
|
||||
$update = "Nothing to do.";
|
||||
$logger->log("Plugin AutoInstall => ".str_replace("<br>","\n",$update));
|
||||
|
||||
Reference in New Issue
Block a user