BUG 5004 Change text doesn't exists!
All wrong texts like doesn't exists or not exists by doesn't exist
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
$xmlFile = G::getUIDName(urlDecode($_POST['form']));
|
||||
$sPath = XMLFORM_AJAX_PATH;
|
||||
|
||||
//if the xmlform file doesn't exists, then try with the plugins folders
|
||||
//if the xmlform file doesn't exist, then try with the plugins folders
|
||||
if ( !is_file ( XMLFORM_AJAX_PATH . $xmlFile ) ) {
|
||||
$aux = explode ( PATH_SEP, $xmlFile );
|
||||
//check if G_PLUGIN_CLASS is defined, because publisher can be called without an environment
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
if (isset($ntable->filterForm_Id) && ($ntable->filterForm_Id!=='')) {
|
||||
|
||||
$sPath = PATH_XMLFORM;
|
||||
//if the xmlform file doesn't exists, then try with the plugins folders
|
||||
//if the xmlform file doesn't exist, then try with the plugins folders
|
||||
if ( !is_file ( $sPath . G::getUIDName( $ntable->filterForm_Id ) ) ) {
|
||||
$aux = explode ( PATH_SEP, G::getUIDName( $ntable->filterForm_Id ) );
|
||||
//check if G_PLUGIN_CLASS is defined, because publisher can be called without an environment
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
if ( !is_file( "/shared/workflow_data/sites/".$webAddress."/db.php") ) {
|
||||
$server = getenv ( "SERVER_NAME");
|
||||
//redirect to https in case the workspace it doesn't exists
|
||||
//redirect to https in case the workspace it doesn't exist
|
||||
if (( $server == 'www.processmaker.com' )||( $server == 'processmaker.com' ))
|
||||
$COMPLETE_URI = "https://www.processmaker.com";
|
||||
else
|
||||
|
||||
@@ -457,7 +457,7 @@ class dates {
|
||||
* Returns an array with all the dates of $this->skip['List'] with its
|
||||
* year changed to $iYear.
|
||||
* Warning: Don't know what to do if change a 29-02-2004 to 29-02-2005
|
||||
* the last one does not exists.
|
||||
* the last one doesn't exist.
|
||||
* @param List $iYear
|
||||
* @return array
|
||||
*/
|
||||
@@ -475,7 +475,7 @@ class dates {
|
||||
* Returns an array with all the dates of $this->skip['List'] with its
|
||||
* year changed to $iYear.
|
||||
* Warning: Don't know what to do if change a 29-02-2004 to 29-02-2005
|
||||
* the last one does not exists.
|
||||
* the last one doesn't exist.
|
||||
* @param array $iYear
|
||||
* @param date $iDate
|
||||
* @return array
|
||||
|
||||
@@ -404,7 +404,7 @@ class Derivation
|
||||
}
|
||||
}
|
||||
else
|
||||
throw ( new Exception("Task doesn't have a valid user in variable $variable or this variable doesn't exists.") ) ;
|
||||
throw ( new Exception("Task doesn't have a valid user in variable $variable or this variable doesn't exist.") ) ;
|
||||
break;
|
||||
|
||||
case 'REPORT_TO' :
|
||||
|
||||
@@ -147,7 +147,7 @@ class dynaformEditor extends WebResource
|
||||
{
|
||||
global $G_PUBLISH;
|
||||
$script='';
|
||||
/* Start Block: Load (Create if not exists) the xmlform */
|
||||
/* Start Block: Load (Create if doesn't exist) the xmlform */
|
||||
$Parameters = array(
|
||||
'SYS_LANG' => SYS_LANG,
|
||||
'URL' => G::encrypt( $this->file , URL_KEY ),
|
||||
@@ -291,7 +291,7 @@ class dynaformEditor extends WebResource
|
||||
self::_setTmpData(array('useTmpCopy'=>true));
|
||||
if (!file_exists(PATH_DYNAFORM . $file . '.xml'))
|
||||
$this->_createDefaultXmlForm(PATH_DYNAFORM . $file . '.xml');
|
||||
//Creates a copy if it does not exists, else, use the old copy
|
||||
//Creates a copy if it doesn't exist, else, use the old copy
|
||||
if (!file_exists(PATH_DYNAFORM . $this->file . '.xml'))
|
||||
self::_copyFile(PATH_DYNAFORM . $file . '.xml',PATH_DYNAFORM . $this->file . '.xml');
|
||||
if (!file_exists(PATH_DYNAFORM . $this->file . '.html')
|
||||
@@ -453,7 +453,7 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
|
||||
/**
|
||||
* Get the html code
|
||||
* Loads the stored HTML or the default Template if
|
||||
* it does not exists.
|
||||
* it doesn't exist.
|
||||
* @param object $A
|
||||
* @return code html
|
||||
*/
|
||||
@@ -477,7 +477,7 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
|
||||
/**/
|
||||
/*
|
||||
* Loads the stored HTML or the default Template if
|
||||
* it does not exists.
|
||||
* it doesn't exist.
|
||||
*/
|
||||
$filename = substr($form->fileName , 0, -3) .
|
||||
( $form->type==='xmlform' ? '' : '.' . $form->type ) . 'html';
|
||||
|
||||
@@ -370,7 +370,7 @@ class PMPluginRegistry {
|
||||
$res = $tar->extract ( PATH_PLUGINS );
|
||||
|
||||
if (!file_exists(PATH_PLUGINS . $pluginFile))
|
||||
throw ( new Exception( "File '$pluginFile' doesn't exists ") );
|
||||
throw ( new Exception( "File '$pluginFile' doesn't exist ") );
|
||||
|
||||
require_once ( PATH_PLUGINS . $pluginFile );
|
||||
$details = $oPluginRegistry->getPluginDetails( $pluginFile );
|
||||
|
||||
@@ -438,7 +438,7 @@ class processMap {
|
||||
G::RenderPage('publish', 'raw');
|
||||
return true;
|
||||
} else {
|
||||
throw (new Exception('This row doesn\'t exists!'));
|
||||
throw (new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
} catch (Exception $oError) {
|
||||
throw ($oError);
|
||||
@@ -4403,7 +4403,7 @@ class processMap {
|
||||
|
||||
return $aFields;
|
||||
} else {
|
||||
throw (new Exception ( 'This row doesn\'t exists!' ));
|
||||
throw (new Exception ( 'This row doesn\'t exist!' ));
|
||||
}
|
||||
} catch ( Exception $oError ) {
|
||||
throw ($oError);
|
||||
|
||||
@@ -822,7 +822,7 @@ class Processes {
|
||||
}
|
||||
|
||||
/**
|
||||
* Update a Process register in DB, if the process doesn't exists with the same
|
||||
* Update a Process register in DB, if the process doesn't exist with the same
|
||||
* uid of the $row['PRO_UID'] parameter the function creates a new one based
|
||||
* on the $row parameter data.
|
||||
* @param $row array parameter with the process data
|
||||
|
||||
@@ -609,7 +609,7 @@ class propelTable
|
||||
$this->tdClass='';
|
||||
//Start Master Detail: This enable the MasterDEtail view. By JHL November 2008
|
||||
if(count($this->masterdetail)>0){
|
||||
//TODO: Validate if there is a Field that not exists
|
||||
//TODO: Validate if there is a Field that doesn't exist
|
||||
//TODO: Style
|
||||
//TODO: Improve Collapse function....
|
||||
foreach($this->masterdetail as $keyMasterDetail => $fieldMasterDetail){
|
||||
|
||||
@@ -97,7 +97,7 @@ class wsBase
|
||||
try {
|
||||
$uid = $RBAC->VerifyLogin( $userid , $password);
|
||||
switch ($uid) {
|
||||
case -1: //The user not exists
|
||||
case -1: //The user doesn't exist
|
||||
$wsResponse = new wsResponse (3, G::loadTranslation ('ID_USER_NOT_REGISTERED'));
|
||||
break;
|
||||
|
||||
@@ -2051,7 +2051,7 @@ class wsBase
|
||||
}
|
||||
}
|
||||
|
||||
//finally, creating the process if the process does not exists
|
||||
//finally, creating the process if the process doesn't exist
|
||||
if ( ! $oProcess->processExists ( $processId ) ) {
|
||||
$oProcess->createProcessFromData ($oData, $localPath . $newfilename );
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ class AdditionalTables extends BaseAdditionalTables {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -190,7 +190,7 @@ public function loadByName($name) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -226,7 +226,7 @@ public function loadByName($name) {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -1086,7 +1086,7 @@ class AppCacheView extends BaseAppCacheView {
|
||||
if ( ! $found ) {
|
||||
$filenameSql = $this->pathToAppCacheFiles . '/triggerApplicationUpdate.sql';
|
||||
if ( !file_exists ( $filenameSql ) )
|
||||
throw ( new Exception ( "file triggerAppDelegationUpdate.sql doesn't exists ") );
|
||||
throw ( new Exception ( "file triggerAppDelegationUpdate.sql doesn't exist ") );
|
||||
$sql = file_get_contents ( $filenameSql );
|
||||
$sql = str_replace('{lang}', $lang, $sql);
|
||||
$stmt->executeQuery($sql);
|
||||
@@ -1123,7 +1123,7 @@ class AppCacheView extends BaseAppCacheView {
|
||||
if ( ! $found ) {
|
||||
$filenameSql = $this->pathToAppCacheFiles . '/triggerApplicationDelete.sql';
|
||||
if ( !file_exists ( $filenameSql ) )
|
||||
throw ( new Exception ( "file triggerAppDelegationDelete.sql doesn't exists ") );
|
||||
throw ( new Exception ( "file triggerAppDelegationDelete.sql doesn't exist") );
|
||||
$sql = file_get_contents ( $filenameSql );
|
||||
$sql = str_replace('{lang}', $lang, $sql);
|
||||
$stmt->executeQuery($sql);
|
||||
|
||||
@@ -84,7 +84,7 @@ class AppDelay extends BaseAppDelay {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -151,7 +151,7 @@ class AppDelegation extends BaseAppDelegation {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw( new Exception( "The row '$AppUid, $sDelIndex' in table AppDelegation doesn't exists!" ));
|
||||
throw( new Exception( "The row '$AppUid, $sDelIndex' in table AppDelegation doesn't exist!" ));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -188,7 +188,7 @@ class AppDelegation extends BaseAppDelegation {
|
||||
}
|
||||
else {
|
||||
$con->rollback();
|
||||
throw(new Exception( "This AppDelegation row doesn't exists!" ));
|
||||
throw(new Exception( "This AppDelegation row doesn't exist!" ));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -83,7 +83,7 @@ class AppDocument extends BaseAppDocument {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('Error loading Document '.$sAppDocUid.'/'.$iVersion.'. This row doesn\'t exists!'));
|
||||
throw(new Exception('Error loading Document '.$sAppDocUid.'/'.$iVersion.'. This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -280,7 +280,7 @@ class AppDocument extends BaseAppDocument {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -332,7 +332,7 @@ class AppDocument extends BaseAppDocument {
|
||||
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -101,7 +101,7 @@ class Content extends BaseContent {
|
||||
* @param string $ConId
|
||||
* @param string $destConLang
|
||||
* @return string
|
||||
* if the row doesn't exists, it will be created automatically, even the default 'en' language
|
||||
* if the row doesn't exist, it will be created automatically, even the default 'en' language
|
||||
*/
|
||||
function autoLoadSave($ConCategory, $ConParent, $ConId, $destConLang) {
|
||||
//search in 'en' language, the default language
|
||||
|
||||
@@ -83,7 +83,7 @@ class Event extends BaseEvent {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -317,7 +317,7 @@ class Event extends BaseEvent {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -363,7 +363,7 @@ class Event extends BaseEvent {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -28,7 +28,7 @@ class Fields extends BaseFields {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -92,7 +92,7 @@ class Fields extends BaseFields {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -112,7 +112,7 @@ class Fields extends BaseFields {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -91,7 +91,7 @@ class GroupUser extends BaseGroupUser {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -70,7 +70,7 @@ class InputDocument extends BaseInputDocument {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -175,7 +175,7 @@ class InputDocument extends BaseInputDocument {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -204,7 +204,7 @@ class InputDocument extends BaseInputDocument {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -49,7 +49,7 @@ class Language extends BaseLanguage {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -112,7 +112,7 @@ class OutputDocument extends BaseOutputDocument {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -219,7 +219,7 @@ class OutputDocument extends BaseOutputDocument {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -250,7 +250,7 @@ class OutputDocument extends BaseOutputDocument {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -79,7 +79,7 @@ class ProcessUser extends BaseProcessUser {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -35,7 +35,7 @@ class ReportVar extends BaseReportVar {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -108,7 +108,7 @@ class ReportVar extends BaseReportVar {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -135,7 +135,7 @@ class ReportVar extends BaseReportVar {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -127,7 +127,7 @@ class Route extends BaseRoute {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception( "The row " . $aData['ROU_UID'] . " doesn't exists!" ));
|
||||
throw(new Exception( "The row " . $aData['ROU_UID'] . " doesn't exist!" ));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -154,7 +154,7 @@ class Route extends BaseRoute {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -27,7 +27,7 @@ class ShadowTable extends BaseShadowTable {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -80,7 +80,7 @@ class ShadowTable extends BaseShadowTable {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -238,7 +238,7 @@ class Step extends BaseStep {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -120,7 +120,7 @@ class StepSupervisor extends BaseStepSupervisor {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -63,7 +63,7 @@ class SwimlanesElements extends BaseSwimlanesElements {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -140,7 +140,7 @@ class SwimlanesElements extends BaseSwimlanesElements {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -168,7 +168,7 @@ class SwimlanesElements extends BaseSwimlanesElements {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -41,7 +41,7 @@ class UsersProperties extends BaseUsersProperties {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -97,7 +97,7 @@ class UsersProperties extends BaseUsersProperties {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -86,7 +86,7 @@ try {
|
||||
$G_PUBLISH->AddContent('propeltable', 'paged-table', 'authSources/' . $aFields['AUTH_SOURCE_PROVIDER'] . 'SearchResults', $oCriteria);
|
||||
}
|
||||
else {
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showMessage', '', array('MESSAGE' => 'File: ' . $aFields['AUTH_SOURCE_PROVIDER'] . 'SearchResults.xml' . ' not exists.'));
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showMessage', '', array('MESSAGE' => 'File: ' . $aFields['AUTH_SOURCE_PROVIDER'] . 'SearchResults.xml' . ' doesn\'t exist.'));
|
||||
}
|
||||
}
|
||||
G::RenderPage('publish', 'raw');
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'authSources/' . $aFields['AUTH_SOURCE_PROVIDER'] . 'Edit', '', $aFields, '../authSources/authSources_Save');
|
||||
}
|
||||
else {
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showMessage', '', array('MESSAGE' => 'File: ' . $aFields['AUTH_SOURCE_PROVIDER'] . 'Edit.xml' . ' not exists.'));
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showMessage', '', array('MESSAGE' => 'File: ' . $aFields['AUTH_SOURCE_PROVIDER'] . 'Edit.xml' . ' doesn\'t exist.'));
|
||||
}
|
||||
}
|
||||
G::RenderPage('publish','blank');
|
||||
@@ -45,7 +45,7 @@ else {
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'authSources/' . $_POST['form']['AUTH_SOURCE_PROVIDER'] . 'Edit', '', $aFields, '../authSources/authSources_Save');
|
||||
}
|
||||
else {
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showMessage', '', array('MESSAGE' => 'File: ' . $_POST['form']['AUTH_SOURCE_PROVIDER'] . 'Edit.xml' . ' not exists.'));
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showMessage', '', array('MESSAGE' => 'File: ' . $_POST['form']['AUTH_SOURCE_PROVIDER'] . 'Edit.xml' . ' doesn\'t exist.'));
|
||||
}
|
||||
}
|
||||
G::RenderPage('publish','blank');
|
||||
@@ -56,7 +56,7 @@ if (($RBAC_Response=$RBAC->userCanAccess("PM_FACTORY"))!=1) return $RBAC_Respons
|
||||
//Hardcode: Sample of xmlform.
|
||||
$file = $PRO_UID . '/' . 'myInfo';
|
||||
|
||||
/* Start Comment: If file doesn't exists, it is created */
|
||||
/* Start Comment: If file doesn't exist, it is created */
|
||||
if (!file_exists( PATH_DYNAFORM . $file . '.xml' )) {
|
||||
$newDoc = new Xml_Document();
|
||||
$newDoc->addChildNode(
|
||||
|
||||
@@ -44,7 +44,7 @@ try {
|
||||
$RBAC->cleanSessionFiles(72);
|
||||
$sPwd = 'currentPwd';
|
||||
switch ($uid) {
|
||||
//The user does not exist
|
||||
//The user does doesn't exist
|
||||
case -1:
|
||||
G::SendTemporalMessage ('ID_USER_NOT_REGISTERED', "warning");
|
||||
break;
|
||||
|
||||
@@ -87,7 +87,7 @@ try {
|
||||
|
||||
$fileName = $pathProcess . $dynTitle . 'Post.php';
|
||||
file_put_contents ( $fileName, $template->getOutputContent () );
|
||||
//creating the third file, only if this wsClient.php file doesn't exists.
|
||||
//creating the third file, only if this wsClient.php file doesn't exist.
|
||||
$fileName = $pathProcess . 'wsClient.php';
|
||||
$pluginTpl = PATH_CORE . 'test' . PATH_SEP . 'unit' . PATH_SEP . 'ws' . PATH_SEP . 'wsClient.php';
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
//verify if plugin exists,
|
||||
$pluginClassFilename = PATH_PLUGINS . $pluginName . PATH_SEP . 'class.' . $pluginName . '.php';
|
||||
if ( !is_file ( $pluginClassFilename ) ) {
|
||||
printf("The plugin %s does not exist in this file %s \n", pakeColor::colorize( $pluginName, 'ERROR'), pakeColor::colorize( $pluginClassFilename, 'INFO') );
|
||||
printf("The plugin %s doesn't exist in this file %s \n", pakeColor::colorize( $pluginName, 'ERROR'), pakeColor::colorize( $pluginClassFilename, 'INFO') );
|
||||
die ;
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -52,7 +52,7 @@ try {
|
||||
$uid = $oCase->verifyCaseTracker($case, $pin);
|
||||
//print_r($uid); die;
|
||||
switch ($uid) {
|
||||
//The case not exists
|
||||
//The case doesn't exist
|
||||
case -1:
|
||||
G::SendTemporalMessage ('ID_CASE_NOT_EXISTS', "error");
|
||||
break;
|
||||
|
||||
@@ -32,7 +32,7 @@ $form = $oUser->load($uid);
|
||||
if (!isset($form['USR_RESUME']) || $form['USR_RESUME']==='') die(G::LoadTranslation('ID_WITHOUT_RESUME'));
|
||||
$direction = PATH_IMAGES_ENVIRONMENT_FILES.$uid."/".$form['USR_RESUME'];
|
||||
if (!file_exists($direction)) {
|
||||
die('The file "' . $direction . '"does not exist in the server!');
|
||||
die('The file "' . $direction . '"doesn\'t exist in the server!');
|
||||
}
|
||||
// echo $direction ;
|
||||
header('Pragma: ');
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
}
|
||||
$t->is( strlen( $roleOperator ) >= 30 , true, 'role PROCESSMAKER_OPERATOR exists');
|
||||
if ( $roleOperator == '' )
|
||||
throw ( new Exception ( "role PROCESSMAKER_OPERATOR does not exist" ) );
|
||||
throw ( new Exception ( "role PROCESSMAKER_OPERATOR doesn't exist" ) );
|
||||
|
||||
//checking user list
|
||||
$users = ws_userList();
|
||||
|
||||
@@ -20,13 +20,13 @@ Labels['ID_NO_ROOM_FORMS']['es'] = 'No hay sitio para m
|
||||
Labels['ID_NO_ROOM_FORMS']['en'] = 'There is no room for more forms';
|
||||
Labels['ID_PARAMETERS_NOT_EXISTS'] = new Array(2)
|
||||
Labels['ID_PARAMETERS_NOT_EXISTS']['es'] = 'No existen par<61>metros';
|
||||
Labels['ID_PARAMETERS_NOT_EXISTS']['en'] = 'Parameters do not exists';
|
||||
Labels['ID_PARAMETERS_NOT_EXISTS']['en'] = 'Parameters doesn\'t exist';
|
||||
Labels['ID_PARAMETER_NOT_FOUND'] = new Array(2)
|
||||
Labels['ID_PARAMETER_NOT_FOUND']['es'] = 'Par<61>metro requerido no encontrado';
|
||||
Labels['ID_PARAMETER_NOT_FOUND']['en'] = 'Required parameter not found';
|
||||
Labels['ID_FIELD_NOT_EXISTS'] = new Array(2)
|
||||
Labels['ID_FIELD_NOT_EXISTS']['es'] = 'No existe el campo';
|
||||
Labels['ID_FIELD_NOT_EXISTS']['en'] = 'Not exists the field';
|
||||
Labels['ID_FIELD_NOT_EXISTS']['en'] = 'Doesn\'t exist the field';
|
||||
Labels['ID_INVALID_EMAIL']= new Array(2)
|
||||
Labels['ID_INVALID_EMAIL']['es']="Email invalido";
|
||||
Labels['ID_INVALID_EMAIL']['en']="Invalid Email";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
if ( !is_file( "/shared/workflow_data/sites/".$webAddress."/db.php") ) {
|
||||
$server = getenv ( "SERVER_NAME");
|
||||
//redirect to https in case the workspace it doesn't exists
|
||||
//redirect to https in case the workspace it doesn't exist
|
||||
if (( $server == 'www.processmaker.com' )||( $server == 'processmaker.com' ))
|
||||
$COMPLETE_URI = "https://www.processmaker.com";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user