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:
@@ -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: ');
|
||||
|
||||
Reference in New Issue
Block a user