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));
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
$lang = defined ('SYS_LANG') ? SYS_LANG : 'en';
|
||||
|
||||
$endpoint = 'http://' .$_SERVER['SERVER_NAME'] . ':' .$_SERVER['SERVER_PORT'] .
|
||||
'/sys' .SYS_SYS.'/' .$lang . '/green/services/soap';
|
||||
'/sys' .SYS_SYS.'/' .$lang . '/classic/services/soap';
|
||||
//print $endpoint; die;
|
||||
$content = str_replace ( "___SOAP_ADDRESS___", $endpoint, $content );
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
$http = ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ) ? 'https' : 'http';
|
||||
$endpoint = $http . '://' .$_SERVER['SERVER_NAME'] . ':' .$_SERVER['SERVER_PORT'] .
|
||||
'/sys' .SYS_SYS.'/' .$lang . '/green/services/soap2';
|
||||
'/sys' .SYS_SYS.'/' .$lang . '/classic/services/soap2';
|
||||
|
||||
$content = str_replace ( "___SOAP_ADDRESS___", $endpoint, $content );
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
if ( $formatReport == RUN_OUTPUT_FORMAT_HTML) {
|
||||
//$pageReport = isset ( $_GET['page'] ) ? $_GET['page'] : 1;
|
||||
//$output_params[RUN_OUTPUT_PAGE] = $pageReport;
|
||||
//$output_params[RUN_OUTPUT_IMAGES_URI] = '/sysos/en/green/';
|
||||
//$output_params[RUN_OUTPUT_IMAGES_URI] = '/sysos/'. SYS_LANG. '/classic';
|
||||
}
|
||||
|
||||
$result = $oJasper->ws_runReport($currentUri, $report_params, $output_params, $attachments);
|
||||
|
||||
@@ -87,7 +87,7 @@ switch ($_POST ['action']) {
|
||||
$_SESSION ['_DBArray'] = $_DBArray;
|
||||
|
||||
if (! isset ( $_SESSION ['END_POINT'] )) {
|
||||
//$wsdl = 'http://'.$_SERVER['HTTP_HOST'].'/sys'.SYS_SYS.'/en/green/services/wsdl';
|
||||
//$wsdl = 'http://'.$_SERVER['HTTP_HOST'].'/sys'.SYS_SYS. '/'. SYS_LANG .'/classic/services/wsdl';
|
||||
$wsdl = 'http://' . $_SERVER ['HTTP_HOST'];
|
||||
$workspace = SYS_SYS;
|
||||
} else {
|
||||
@@ -95,7 +95,7 @@ switch ($_POST ['action']) {
|
||||
$workspace = $_SESSION ['WS_WORKSPACE'];
|
||||
}
|
||||
|
||||
$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_SERVER ['SERVER_PORT'] . '/sys' . SYS_SYS . '/en/green/services/wsdl2';
|
||||
$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_SERVER ['SERVER_PORT'] . '/sys' . SYS_SYS . '/'. SYS_LANG .'/classic/services/wsdl2';
|
||||
|
||||
$wsdl = isset ( $_SESSION ['END_POINT'] ) ? $_SESSION ['END_POINT'] : $defaultEndpoint;
|
||||
|
||||
@@ -137,7 +137,7 @@ switch ($_POST ['action']) {
|
||||
if (isset ( $_POST ["epr"] )) {
|
||||
$_SESSION ['END_POINT'] = $_POST ["epr"];
|
||||
}
|
||||
$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_SERVER ['SERVER_PORT'] . '/sys' . SYS_SYS . '/en/green/services/wsdl2';
|
||||
$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_SERVER ['SERVER_PORT'] . '/sys' . SYS_SYS . '/'. SYS_LANG .'/classic/services/wsdl2';
|
||||
|
||||
$endpoint = isset ( $_SESSION ['END_POINT'] ) ? $_SESSION ['END_POINT'] : $defaultEndpoint;
|
||||
|
||||
@@ -1269,7 +1269,7 @@ case "removeUserFromGroup" :
|
||||
$del_index = 1;
|
||||
|
||||
function sendFile($FILENAME, $USR_UID, $APP_UID, $DEL_INDEX = 1, $DOC_UID = NULL, $title = NULL, $comment = NULL) {
|
||||
$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_SERVER ['SERVER_PORT'] . '/sys' . SYS_SYS . '/en/green/services/upload';
|
||||
$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_SERVER ['SERVER_PORT'] . '/sys' . SYS_SYS . '/'. SYS_LANG .'/classic/services/upload';
|
||||
$upload = isset ( $_SESSION ['END_POINT'] ) ? $_SESSION ['END_POINT'] : $defaultEndpoint;
|
||||
|
||||
$DOC_UID = ($DOC_UID != NULL) ? $DOC_UID : - 1;
|
||||
|
||||
@@ -5,11 +5,11 @@ if($_POST['form']['WS_PROTOCOL']!='' && $_POST['form']['WS_WORKSPACE']!='')
|
||||
{
|
||||
if($_POST['form']['WS_PORT']!='')
|
||||
{
|
||||
$_SESSION['END_POINT']=$_POST['form']['WS_PROTOCOL'].'://' .$_POST['form']['WS_HOST'] . ':' .$_POST['form']['WS_PORT'] .'/sys' .$_POST['form']['WS_WORKSPACE'].'/en/green/services/wsdl2';
|
||||
$_SESSION['END_POINT']=$_POST['form']['WS_PROTOCOL'].'://' .$_POST['form']['WS_HOST'] . ':' .$_POST['form']['WS_PORT'] .'/sys' .$_POST['form']['WS_WORKSPACE'].'/en/classic/services/wsdl2';
|
||||
G::header('location: webServices?x=1');
|
||||
}
|
||||
else
|
||||
{ $_SESSION['END_POINT']=$_POST['form']['WS_PROTOCOL'].'://' .$_POST['form']['WS_HOST'] .'/sys' .$_POST['form']['WS_WORKSPACE'].'/en/green/services/wsdl2';
|
||||
{ $_SESSION['END_POINT']=$_POST['form']['WS_PROTOCOL'].'://' .$_POST['form']['WS_HOST'] .'/sys' .$_POST['form']['WS_WORKSPACE'].'/en/classic/services/wsdl2';
|
||||
G::header('location: webServices?x=1');
|
||||
}
|
||||
$_SESSION['WS_WORKSPACE']=$_POST['form']['WS_WORKSPACE'];
|
||||
|
||||
Reference in New Issue
Block a user