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:
Douglas Medrano Chura
2011-04-13 18:57:02 -04:00
parent f826a83a23
commit c4635bc56a
43 changed files with 71 additions and 71 deletions

View File

@@ -41,7 +41,7 @@
$xmlFile = G::getUIDName(urlDecode($_POST['form'])); $xmlFile = G::getUIDName(urlDecode($_POST['form']));
$sPath = XMLFORM_AJAX_PATH; $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 ) ) { if ( !is_file ( XMLFORM_AJAX_PATH . $xmlFile ) ) {
$aux = explode ( PATH_SEP, $xmlFile ); $aux = explode ( PATH_SEP, $xmlFile );
//check if G_PLUGIN_CLASS is defined, because publisher can be called without an environment //check if G_PLUGIN_CLASS is defined, because publisher can be called without an environment

View File

@@ -38,7 +38,7 @@
if (isset($ntable->filterForm_Id) && ($ntable->filterForm_Id!=='')) { if (isset($ntable->filterForm_Id) && ($ntable->filterForm_Id!=='')) {
$sPath = PATH_XMLFORM; $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 ) ) ) { if ( !is_file ( $sPath . G::getUIDName( $ntable->filterForm_Id ) ) ) {
$aux = explode ( PATH_SEP, 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 //check if G_PLUGIN_CLASS is defined, because publisher can be called without an environment

View File

@@ -12,7 +12,7 @@
if ( !is_file( "/shared/workflow_data/sites/".$webAddress."/db.php") ) { if ( !is_file( "/shared/workflow_data/sites/".$webAddress."/db.php") ) {
$server = getenv ( "SERVER_NAME"); $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' )) if (( $server == 'www.processmaker.com' )||( $server == 'processmaker.com' ))
$COMPLETE_URI = "https://www.processmaker.com"; $COMPLETE_URI = "https://www.processmaker.com";
else else

View File

@@ -457,7 +457,7 @@ class dates {
* Returns an array with all the dates of $this->skip['List'] with its * Returns an array with all the dates of $this->skip['List'] with its
* year changed to $iYear. * year changed to $iYear.
* Warning: Don't know what to do if change a 29-02-2004 to 29-02-2005 * 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 * @param List $iYear
* @return array * @return array
*/ */
@@ -475,7 +475,7 @@ class dates {
* Returns an array with all the dates of $this->skip['List'] with its * Returns an array with all the dates of $this->skip['List'] with its
* year changed to $iYear. * year changed to $iYear.
* Warning: Don't know what to do if change a 29-02-2004 to 29-02-2005 * 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 array $iYear
* @param date $iDate * @param date $iDate
* @return array * @return array

View File

@@ -404,7 +404,7 @@ class Derivation
} }
} }
else 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; break;
case 'REPORT_TO' : case 'REPORT_TO' :

View File

@@ -147,7 +147,7 @@ class dynaformEditor extends WebResource
{ {
global $G_PUBLISH; global $G_PUBLISH;
$script=''; $script='';
/* Start Block: Load (Create if not exists) the xmlform */ /* Start Block: Load (Create if doesn't exist) the xmlform */
$Parameters = array( $Parameters = array(
'SYS_LANG' => SYS_LANG, 'SYS_LANG' => SYS_LANG,
'URL' => G::encrypt( $this->file , URL_KEY ), 'URL' => G::encrypt( $this->file , URL_KEY ),
@@ -291,7 +291,7 @@ class dynaformEditor extends WebResource
self::_setTmpData(array('useTmpCopy'=>true)); self::_setTmpData(array('useTmpCopy'=>true));
if (!file_exists(PATH_DYNAFORM . $file . '.xml')) if (!file_exists(PATH_DYNAFORM . $file . '.xml'))
$this->_createDefaultXmlForm(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')) if (!file_exists(PATH_DYNAFORM . $this->file . '.xml'))
self::_copyFile(PATH_DYNAFORM . $file . '.xml',PATH_DYNAFORM . $this->file . '.xml'); self::_copyFile(PATH_DYNAFORM . $file . '.xml',PATH_DYNAFORM . $this->file . '.xml');
if (!file_exists(PATH_DYNAFORM . $this->file . '.html') if (!file_exists(PATH_DYNAFORM . $this->file . '.html')
@@ -453,7 +453,7 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
/** /**
* Get the html code * Get the html code
* Loads the stored HTML or the default Template if * Loads the stored HTML or the default Template if
* it does not exists. * it doesn't exist.
* @param object $A * @param object $A
* @return code html * @return code html
*/ */
@@ -477,7 +477,7 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
/**/ /**/
/* /*
* Loads the stored HTML or the default Template if * Loads the stored HTML or the default Template if
* it does not exists. * it doesn't exist.
*/ */
$filename = substr($form->fileName , 0, -3) . $filename = substr($form->fileName , 0, -3) .
( $form->type==='xmlform' ? '' : '.' . $form->type ) . 'html'; ( $form->type==='xmlform' ? '' : '.' . $form->type ) . 'html';

View File

@@ -370,7 +370,7 @@ class PMPluginRegistry {
$res = $tar->extract ( PATH_PLUGINS ); $res = $tar->extract ( PATH_PLUGINS );
if (!file_exists(PATH_PLUGINS . $pluginFile)) 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 ); require_once ( PATH_PLUGINS . $pluginFile );
$details = $oPluginRegistry->getPluginDetails( $pluginFile ); $details = $oPluginRegistry->getPluginDetails( $pluginFile );

View File

@@ -438,7 +438,7 @@ class processMap {
G::RenderPage('publish', 'raw'); G::RenderPage('publish', 'raw');
return true; return true;
} else { } else {
throw (new Exception('This row doesn\'t exists!')); throw (new Exception('This row doesn\'t exist!'));
} }
} catch (Exception $oError) { } catch (Exception $oError) {
throw ($oError); throw ($oError);
@@ -4403,7 +4403,7 @@ class processMap {
return $aFields; return $aFields;
} else { } else {
throw (new Exception ( 'This row doesn\'t exists!' )); throw (new Exception ( 'This row doesn\'t exist!' ));
} }
} catch ( Exception $oError ) { } catch ( Exception $oError ) {
throw ($oError); throw ($oError);

View File

@@ -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 * uid of the $row['PRO_UID'] parameter the function creates a new one based
* on the $row parameter data. * on the $row parameter data.
* @param $row array parameter with the process data * @param $row array parameter with the process data

View File

@@ -609,7 +609,7 @@ class propelTable
$this->tdClass=''; $this->tdClass='';
//Start Master Detail: This enable the MasterDEtail view. By JHL November 2008 //Start Master Detail: This enable the MasterDEtail view. By JHL November 2008
if(count($this->masterdetail)>0){ 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: Style
//TODO: Improve Collapse function.... //TODO: Improve Collapse function....
foreach($this->masterdetail as $keyMasterDetail => $fieldMasterDetail){ foreach($this->masterdetail as $keyMasterDetail => $fieldMasterDetail){

View File

@@ -97,7 +97,7 @@ class wsBase
try { try {
$uid = $RBAC->VerifyLogin( $userid , $password); $uid = $RBAC->VerifyLogin( $userid , $password);
switch ($uid) { 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')); $wsResponse = new wsResponse (3, G::loadTranslation ('ID_USER_NOT_REGISTERED'));
break; 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 ) ) { if ( ! $oProcess->processExists ( $processId ) ) {
$oProcess->createProcessFromData ($oData, $localPath . $newfilename ); $oProcess->createProcessFromData ($oData, $localPath . $newfilename );
} }

View File

@@ -78,7 +78,7 @@ class AdditionalTables extends BaseAdditionalTables {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -190,7 +190,7 @@ public function loadByName($name) {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -226,7 +226,7 @@ public function loadByName($name) {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -1086,7 +1086,7 @@ class AppCacheView extends BaseAppCacheView {
if ( ! $found ) { if ( ! $found ) {
$filenameSql = $this->pathToAppCacheFiles . '/triggerApplicationUpdate.sql'; $filenameSql = $this->pathToAppCacheFiles . '/triggerApplicationUpdate.sql';
if ( !file_exists ( $filenameSql ) ) 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 = file_get_contents ( $filenameSql );
$sql = str_replace('{lang}', $lang, $sql); $sql = str_replace('{lang}', $lang, $sql);
$stmt->executeQuery($sql); $stmt->executeQuery($sql);
@@ -1123,7 +1123,7 @@ class AppCacheView extends BaseAppCacheView {
if ( ! $found ) { if ( ! $found ) {
$filenameSql = $this->pathToAppCacheFiles . '/triggerApplicationDelete.sql'; $filenameSql = $this->pathToAppCacheFiles . '/triggerApplicationDelete.sql';
if ( !file_exists ( $filenameSql ) ) 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 = file_get_contents ( $filenameSql );
$sql = str_replace('{lang}', $lang, $sql); $sql = str_replace('{lang}', $lang, $sql);
$stmt->executeQuery($sql); $stmt->executeQuery($sql);

View File

@@ -84,7 +84,7 @@ class AppDelay extends BaseAppDelay {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -151,7 +151,7 @@ class AppDelegation extends BaseAppDelegation {
return $aFields; return $aFields;
} }
else { 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) { catch (Exception $oError) {
@@ -188,7 +188,7 @@ class AppDelegation extends BaseAppDelegation {
} }
else { else {
$con->rollback(); $con->rollback();
throw(new Exception( "This AppDelegation row doesn't exists!" )); throw(new Exception( "This AppDelegation row doesn't exist!" ));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -83,7 +83,7 @@ class AppDocument extends BaseAppDocument {
return $aFields; return $aFields;
} }
else { 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) { catch (Exception $oError) {
@@ -280,7 +280,7 @@ class AppDocument extends BaseAppDocument {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -332,7 +332,7 @@ class AppDocument extends BaseAppDocument {
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -101,7 +101,7 @@ class Content extends BaseContent {
* @param string $ConId * @param string $ConId
* @param string $destConLang * @param string $destConLang
* @return string * @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) { function autoLoadSave($ConCategory, $ConParent, $ConId, $destConLang) {
//search in 'en' language, the default language //search in 'en' language, the default language

View File

@@ -83,7 +83,7 @@ class Event extends BaseEvent {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -317,7 +317,7 @@ class Event extends BaseEvent {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -363,7 +363,7 @@ class Event extends BaseEvent {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -28,7 +28,7 @@ class Fields extends BaseFields {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -92,7 +92,7 @@ class Fields extends BaseFields {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -112,7 +112,7 @@ class Fields extends BaseFields {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -91,7 +91,7 @@ class GroupUser extends BaseGroupUser {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -70,7 +70,7 @@ class InputDocument extends BaseInputDocument {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -175,7 +175,7 @@ class InputDocument extends BaseInputDocument {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -204,7 +204,7 @@ class InputDocument extends BaseInputDocument {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -49,7 +49,7 @@ class Language extends BaseLanguage {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -112,7 +112,7 @@ class OutputDocument extends BaseOutputDocument {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -219,7 +219,7 @@ class OutputDocument extends BaseOutputDocument {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -250,7 +250,7 @@ class OutputDocument extends BaseOutputDocument {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -79,7 +79,7 @@ class ProcessUser extends BaseProcessUser {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -35,7 +35,7 @@ class ReportVar extends BaseReportVar {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -108,7 +108,7 @@ class ReportVar extends BaseReportVar {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -135,7 +135,7 @@ class ReportVar extends BaseReportVar {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -127,7 +127,7 @@ class Route extends BaseRoute {
} }
} }
else { 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) { catch (Exception $oError) {
@@ -154,7 +154,7 @@ class Route extends BaseRoute {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -27,7 +27,7 @@ class ShadowTable extends BaseShadowTable {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -80,7 +80,7 @@ class ShadowTable extends BaseShadowTable {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -238,7 +238,7 @@ class Step extends BaseStep {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -120,7 +120,7 @@ class StepSupervisor extends BaseStepSupervisor {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -63,7 +63,7 @@ class SwimlanesElements extends BaseSwimlanesElements {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -140,7 +140,7 @@ class SwimlanesElements extends BaseSwimlanesElements {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -168,7 +168,7 @@ class SwimlanesElements extends BaseSwimlanesElements {
return $iResult; return $iResult;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -41,7 +41,7 @@ class UsersProperties extends BaseUsersProperties {
return $aFields; return $aFields;
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {
@@ -97,7 +97,7 @@ class UsersProperties extends BaseUsersProperties {
} }
} }
else { else {
throw(new Exception('This row doesn\'t exists!')); throw(new Exception('This row doesn\'t exist!'));
} }
} }
catch (Exception $oError) { catch (Exception $oError) {

View File

@@ -86,7 +86,7 @@ try {
$G_PUBLISH->AddContent('propeltable', 'paged-table', 'authSources/' . $aFields['AUTH_SOURCE_PROVIDER'] . 'SearchResults', $oCriteria); $G_PUBLISH->AddContent('propeltable', 'paged-table', 'authSources/' . $aFields['AUTH_SOURCE_PROVIDER'] . 'SearchResults', $oCriteria);
} }
else { 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'); G::RenderPage('publish', 'raw');

View File

@@ -71,7 +71,7 @@
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'authSources/' . $aFields['AUTH_SOURCE_PROVIDER'] . 'Edit', '', $aFields, '../authSources/authSources_Save'); $G_PUBLISH->AddContent('xmlform', 'xmlform', 'authSources/' . $aFields['AUTH_SOURCE_PROVIDER'] . 'Edit', '', $aFields, '../authSources/authSources_Save');
} }
else { 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'); G::RenderPage('publish','blank');

View File

@@ -45,7 +45,7 @@ else {
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'authSources/' . $_POST['form']['AUTH_SOURCE_PROVIDER'] . 'Edit', '', $aFields, '../authSources/authSources_Save'); $G_PUBLISH->AddContent('xmlform', 'xmlform', 'authSources/' . $_POST['form']['AUTH_SOURCE_PROVIDER'] . 'Edit', '', $aFields, '../authSources/authSources_Save');
} }
else { 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'); G::RenderPage('publish','blank');

View File

@@ -56,7 +56,7 @@ if (($RBAC_Response=$RBAC->userCanAccess("PM_FACTORY"))!=1) return $RBAC_Respons
//Hardcode: Sample of xmlform. //Hardcode: Sample of xmlform.
$file = $PRO_UID . '/' . 'myInfo'; $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' )) { if (!file_exists( PATH_DYNAFORM . $file . '.xml' )) {
$newDoc = new Xml_Document(); $newDoc = new Xml_Document();
$newDoc->addChildNode( $newDoc->addChildNode(

View File

@@ -44,7 +44,7 @@ try {
$RBAC->cleanSessionFiles(72); $RBAC->cleanSessionFiles(72);
$sPwd = 'currentPwd'; $sPwd = 'currentPwd';
switch ($uid) { switch ($uid) {
//The user does not exist //The user does doesn't exist
case -1: case -1:
G::SendTemporalMessage ('ID_USER_NOT_REGISTERED', "warning"); G::SendTemporalMessage ('ID_USER_NOT_REGISTERED', "warning");
break; break;

View File

@@ -87,7 +87,7 @@ try {
$fileName = $pathProcess . $dynTitle . 'Post.php'; $fileName = $pathProcess . $dynTitle . 'Post.php';
file_put_contents ( $fileName, $template->getOutputContent () ); 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'; $fileName = $pathProcess . 'wsClient.php';
$pluginTpl = PATH_CORE . 'test' . PATH_SEP . 'unit' . PATH_SEP . 'ws' . PATH_SEP . 'wsClient.php'; $pluginTpl = PATH_CORE . 'test' . PATH_SEP . 'unit' . PATH_SEP . 'ws' . PATH_SEP . 'wsClient.php';

View File

@@ -88,7 +88,7 @@
//verify if plugin exists, //verify if plugin exists,
$pluginClassFilename = PATH_PLUGINS . $pluginName . PATH_SEP . 'class.' . $pluginName . '.php'; $pluginClassFilename = PATH_PLUGINS . $pluginName . PATH_SEP . 'class.' . $pluginName . '.php';
if ( !is_file ( $pluginClassFilename ) ) { 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 ; die ;
} }
*/ */

View File

@@ -52,7 +52,7 @@ try {
$uid = $oCase->verifyCaseTracker($case, $pin); $uid = $oCase->verifyCaseTracker($case, $pin);
//print_r($uid); die; //print_r($uid); die;
switch ($uid) { switch ($uid) {
//The case not exists //The case doesn't exist
case -1: case -1:
G::SendTemporalMessage ('ID_CASE_NOT_EXISTS', "error"); G::SendTemporalMessage ('ID_CASE_NOT_EXISTS', "error");
break; break;

View File

@@ -32,7 +32,7 @@ $form = $oUser->load($uid);
if (!isset($form['USR_RESUME']) || $form['USR_RESUME']==='') die(G::LoadTranslation('ID_WITHOUT_RESUME')); if (!isset($form['USR_RESUME']) || $form['USR_RESUME']==='') die(G::LoadTranslation('ID_WITHOUT_RESUME'));
$direction = PATH_IMAGES_ENVIRONMENT_FILES.$uid."/".$form['USR_RESUME']; $direction = PATH_IMAGES_ENVIRONMENT_FILES.$uid."/".$form['USR_RESUME'];
if (!file_exists($direction)) { 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 ; // echo $direction ;
header('Pragma: '); header('Pragma: ');

View File

@@ -81,7 +81,7 @@
} }
$t->is( strlen( $roleOperator ) >= 30 , true, 'role PROCESSMAKER_OPERATOR exists'); $t->is( strlen( $roleOperator ) >= 30 , true, 'role PROCESSMAKER_OPERATOR exists');
if ( $roleOperator == '' ) if ( $roleOperator == '' )
throw ( new Exception ( "role PROCESSMAKER_OPERATOR does not exist" ) ); throw ( new Exception ( "role PROCESSMAKER_OPERATOR doesn't exist" ) );
//checking user list //checking user list
$users = ws_userList(); $users = ws_userList();

View File

@@ -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_NO_ROOM_FORMS']['en'] = 'There is no room for more forms';
Labels['ID_PARAMETERS_NOT_EXISTS'] = new Array(2) Labels['ID_PARAMETERS_NOT_EXISTS'] = new Array(2)
Labels['ID_PARAMETERS_NOT_EXISTS']['es'] = 'No existen par<61>metros'; 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'] = new Array(2)
Labels['ID_PARAMETER_NOT_FOUND']['es'] = 'Par<61>metro requerido no encontrado'; Labels['ID_PARAMETER_NOT_FOUND']['es'] = 'Par<61>metro requerido no encontrado';
Labels['ID_PARAMETER_NOT_FOUND']['en'] = 'Required parameter not found'; Labels['ID_PARAMETER_NOT_FOUND']['en'] = 'Required parameter not found';
Labels['ID_FIELD_NOT_EXISTS'] = new Array(2) Labels['ID_FIELD_NOT_EXISTS'] = new Array(2)
Labels['ID_FIELD_NOT_EXISTS']['es'] = 'No existe el campo'; 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']= new Array(2)
Labels['ID_INVALID_EMAIL']['es']="Email invalido"; Labels['ID_INVALID_EMAIL']['es']="Email invalido";
Labels['ID_INVALID_EMAIL']['en']="Invalid Email"; Labels['ID_INVALID_EMAIL']['en']="Invalid Email";

View File

@@ -12,7 +12,7 @@
if ( !is_file( "/shared/workflow_data/sites/".$webAddress."/db.php") ) { if ( !is_file( "/shared/workflow_data/sites/".$webAddress."/db.php") ) {
$server = getenv ( "SERVER_NAME"); $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' )) if (( $server == 'www.processmaker.com' )||( $server == 'processmaker.com' ))
$COMPLETE_URI = "https://www.processmaker.com"; $COMPLETE_URI = "https://www.processmaker.com";
else else