Replace in inc file exit by return
This commit is contained in:
parent
f7b4d5497d
commit
25635a296a
37 changed files with 77 additions and 77 deletions
|
|
@ -52,7 +52,7 @@ if ( isset ($_POST['other_action_bt'])) {
|
|||
case 'IMP':
|
||||
//Impression
|
||||
Follow_Up::action_print($cn,$_POST);
|
||||
exit(0);
|
||||
return;
|
||||
break;
|
||||
case 'ST':
|
||||
// Etat
|
||||
|
|
@ -124,7 +124,7 @@ if ($sub_action == "update")
|
|||
echo '<div class="redcontent">';
|
||||
echo '<h2 class="error">'._('Cette action ne vous est pas autorisée Contactez votre responsable').'</h2>';
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
$sub_action = "detail";
|
||||
put_global(array(array('key' => "sa", "value" => "detail")));
|
||||
|
|
@ -195,7 +195,7 @@ if ($sub_action == 'detail')
|
|||
else
|
||||
{
|
||||
echo h2info(_("Ce document n'est pas accessible"));
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -216,7 +216,7 @@ if ($sub_action == 'delete')
|
|||
Follow_Up::show_action_list($cn, $base);
|
||||
if (isset($act->ag_ref))
|
||||
echo hb(_('Action ') . $act->ag_ref . _(' effacée'));
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ if ( $low_action == 'detail')
|
|||
{
|
||||
/* Menu */
|
||||
require_once('category_card.inc.php');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ if ( ! $m )
|
|||
{
|
||||
|
||||
echo '<div style="float:left;width:60%;margin-left:20%"><h2 class="error">'._('Aucun plan analytique défini').'</h2></div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ if ( isset($_GET['see']))
|
|||
echo '<div class="redcontent" style="margin-left:12%">';
|
||||
echo $a->html_table($current);
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
if ( isset($_POST['save']))
|
||||
{
|
||||
|
|
@ -127,7 +127,7 @@ if ( isset($_POST['save']))
|
|||
$a->save();
|
||||
echo $a->show();
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
if ( isset($_GET['new']))
|
||||
|
|
@ -153,7 +153,7 @@ if ( isset($_GET['new']))
|
|||
';
|
||||
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ if ( $low_action == 'detail')
|
|||
{
|
||||
/* Menu */
|
||||
require_once('category_card.inc.php');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ if ( $ss_action == 'cn')
|
|||
echo '<span class="notice">';
|
||||
echo _("Vous devez aller dans fiche et créer une catégorie pour les contacts");
|
||||
echo '</span>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
/* Add button */
|
||||
$f_add_button=new IButton('add_card');
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ if ( isset($_POST['add_line']))
|
|||
$fiche_def->InsertAttribut($_REQUEST['ad_id']);
|
||||
echo $fiche_def->input_detail();
|
||||
echo $retour;
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
/*******************************************************************************************/
|
||||
// Remove an attribut
|
||||
|
|
@ -55,7 +55,7 @@ if ( isset ($_POST['remove_line']))
|
|||
$fiche_def->RemoveAttribut($_REQUEST['chk_remove']);
|
||||
echo $fiche_def->input_detail();
|
||||
echo $retour;
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
/*******************************************************************************************/
|
||||
// Try to remove a category
|
||||
|
|
@ -99,7 +99,7 @@ if ( isset ($_POST['change_name']))
|
|||
}
|
||||
echo $fiche_def->input_detail();
|
||||
echo $retour;
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
/*******************************************************************************************/
|
||||
// Save order of the attributes
|
||||
|
|
@ -110,7 +110,7 @@ if ( isset($_POST['save_line']))
|
|||
$fiche_def->save_order($_POST);
|
||||
echo $fiche_def->input_detail();
|
||||
echo $retour;
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
/*******************************************************************************************/
|
||||
// Save a new category of card
|
||||
|
|
@ -126,13 +126,13 @@ if ( isset($_POST['add_modele']))
|
|||
{
|
||||
echo $fiche_def->input_detail();
|
||||
echo $retour;
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$fiche_def->input_new();
|
||||
echo $retour;
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -145,5 +145,5 @@ echo "</table>";
|
|||
echo HtmlInput::submit("record_company", _("Sauve"));
|
||||
echo "</form>";
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ if (isset($_POST['view_invoice']))
|
|||
echo '</div>';
|
||||
echo '</div>';
|
||||
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
}
|
||||
//------------------------------
|
||||
|
|
@ -141,7 +141,7 @@ if (isset($_POST['record']))
|
|||
}
|
||||
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
}
|
||||
// ------------------------------
|
||||
|
|
@ -230,6 +230,6 @@ echo create_script(" update_name()");
|
|||
echo '</div>';
|
||||
|
||||
|
||||
exit();
|
||||
return;
|
||||
// end record invoice
|
||||
?>
|
||||
|
|
@ -85,7 +85,7 @@ if ( isset($_POST['save']))
|
|||
|
||||
echo '</form>';
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
}
|
||||
//----------------------------------------
|
||||
|
|
@ -116,7 +116,7 @@ if ( isset($_POST['confirm']))
|
|||
echo $a;
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
}
|
||||
//----------------------------------------
|
||||
|
|
@ -150,4 +150,4 @@ if ( ! isset ($_POST['e_date'])&& $g_parameter->MY_DATE_SUGGEST=='Y')
|
|||
echo create_script(" ajax_saldo('first_sold');");
|
||||
}
|
||||
echo create_script(" update_name()");
|
||||
exit();
|
||||
return;
|
||||
|
|
@ -43,7 +43,7 @@ $jrn_priv = $g_user->get_ledger_access($Ledger->id);
|
|||
if (isset($_GET["p_jrn"]) && $jrn_priv == "X")
|
||||
{
|
||||
NoAccess();
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
//-------------------------
|
||||
// save
|
||||
|
|
@ -214,5 +214,5 @@ echo '</table>';
|
|||
echo HtmlInput::submit('save', 'Mettre à jour le n° de relevé bancaire');
|
||||
echo '</form>';
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -123,5 +123,5 @@ require_once ('class_acc_parm_code.php');
|
|||
echo '</tfoot>';
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
exit();
|
||||
return;
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ if ($g_user->check_jrn($ledger->id) == 'X')
|
|||
if (!isset($_POST['summary']) && !isset($_POST['save']))
|
||||
{
|
||||
require('operation_ods_new.inc.php');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
elseif (isset($_POST['summary']))
|
||||
{
|
||||
|
|
@ -77,7 +77,7 @@ elseif (isset($_POST['summary']))
|
|||
require('operation_ods_new.inc.php');
|
||||
|
||||
}
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
elseif (isset($_POST['save']))
|
||||
{
|
||||
|
|
@ -104,7 +104,7 @@ elseif (isset($_POST['save']))
|
|||
require('operation_ods_new.inc.php');
|
||||
alert($e->getMessage());
|
||||
}
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
exit();
|
||||
return;
|
||||
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ global $g_parameter;
|
|||
echo '</form>';
|
||||
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
}
|
||||
//------------------------------
|
||||
|
|
@ -148,7 +148,7 @@ global $g_parameter;
|
|||
|
||||
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
}
|
||||
// ------------------------------
|
||||
|
|
@ -250,5 +250,5 @@ echo '<div class="content">';
|
|||
echo create_script(" get_last_date()");
|
||||
}
|
||||
echo create_script(" update_name()");
|
||||
exit();
|
||||
return;
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ if ( $low_action == 'detail')
|
|||
{
|
||||
/* Menu */
|
||||
require_once('category_card.inc.php');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
html_page_stop();
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ if ( $low_action == 'detail')
|
|||
{
|
||||
/* Menu */
|
||||
require_once('category_card.inc.php');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
html_page_stop();
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ if ( isset ($_POST["DATABASE"]) )
|
|||
echo _('le modele ').domaine.'mod'.$_POST["FMOD_ID"]._(" doit être migré en unicode.");
|
||||
echo _('Pour le passer en unicode, faites-en un backup puis restaurez le fichier reçu').'</span>';
|
||||
echo HtmlInput::button_anchor('Retour','admin_repo.php?action=dossier_mgt');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
$desc=sql_string($_POST["DESCRIPTION"]);
|
||||
|
|
@ -344,7 +344,7 @@ if ( $sa == 'remove' )
|
|||
{
|
||||
echo _('Désolé, vous n\'avez pas coché la case');
|
||||
echo HtmlInput::button_anchor('Retour','?action=dossier_mgt');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
$cn=new Database();
|
||||
|
|
@ -353,7 +353,7 @@ if ( $sa == 'remove' )
|
|||
if ( strlen(trim($name)) == 0 )
|
||||
{
|
||||
echo "<h2 class=\"error\"> $msg "._('inexistant')."</h2>";
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
$sql="drop database ".domaine."dossier".sql_string($_REQUEST['d']);
|
||||
ob_start();
|
||||
|
|
|
|||
|
|
@ -26,17 +26,17 @@ $ext=new Extension();
|
|||
if ($ext->search($_REQUEST['plugin_code']) == -1)
|
||||
{
|
||||
echo_warning("plugin non trouvé");
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
if ($ext->can_request($g_user->login)==-1)
|
||||
{
|
||||
alert("Plugin non authorisé");
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
if ( ! file_exists('../include/ext'.DIRECTORY_SEPARATOR.trim($ext->me_file)))
|
||||
{
|
||||
alert(j(_("Ce fichier n'existe pas ")));
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
echo '<div class="content">';
|
||||
require_once('ext'.DIRECTORY_SEPARATOR.trim($ext->me_file));
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ echo '<hr>';
|
|||
|
||||
//-----------------------------------------------------
|
||||
if (!isset($_GET['cat_display']))
|
||||
exit();
|
||||
return;
|
||||
|
||||
$fd_id = $_GET['cat'];
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ if ($array == null)
|
|||
echo '<h2 class="info2"> '._('Aucune fiche trouvée').'</h2>';
|
||||
echo $str_add_card;
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
$allcard = (isset($_GET['allcard'])) ? 1 : 0;
|
||||
|
|
@ -218,7 +218,7 @@ if ($_GET['histo'] == -1)
|
|||
|
||||
require_once 'template/fiche_list.php';
|
||||
echo '<hr>'.$bar;
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
/* * *********************************************************************************************************************************
|
||||
* Summary
|
||||
|
|
@ -241,7 +241,7 @@ if ($_GET['histo'] == 3)
|
|||
$hid->input("fd_id", $_REQUEST['cat']);
|
||||
echo "</form>";
|
||||
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
$export_pdf = '<FORM METHOD="get" ACTION="export.php" style="display:inline">';
|
||||
$export_pdf.=HtmlInput::hidden('cat', $_GET['cat']);
|
||||
|
|
@ -373,7 +373,7 @@ if ($_GET['histo'] == 4 || $_GET['histo'] == 5)
|
|||
echo $export_csv;
|
||||
echo $export_print;
|
||||
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
if (isDate($_REQUEST['start']) == null || isDate($_REQUEST['end']) == null)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -366,7 +366,7 @@ if (isset($_REQUEST['f_id']) && $sa == "vw")
|
|||
echo '</form>';
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ if ( isset( $_REQUEST['bt_html'] ) )
|
|||
if ( isDate($_REQUEST['from_periode'])==null || isDate($_REQUEST['to_periode'])==null)
|
||||
{
|
||||
echo alert('Date malformée, désolée');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
echo '<div class="content">';
|
||||
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ if ( isset( $_REQUEST['bt_html'] ) )
|
|||
if ( isDate($_REQUEST['from_periode'])==null || isDate($_REQUEST['to_periode'])==null)
|
||||
{
|
||||
echo alert('Date malformée, désolée');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
require_once("class_acc_account_ledger.php");
|
||||
$go=0;
|
||||
|
|
@ -187,7 +187,7 @@ if ( isset( $_REQUEST['bt_html'] ) )
|
|||
Acc_Account_Ledger::HtmlTableHeader();
|
||||
|
||||
$Poste->get_row_date( $_GET['from_periode'], $_GET['to_periode'],$_GET['ople']);
|
||||
if ( empty($Poste->row)) exit();
|
||||
if ( empty($Poste->row)) return;
|
||||
$Poste->load();
|
||||
|
||||
echo '<table class="result" style="width:80%;margin-left:10%">';
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ echo '<hr>';
|
|||
echo '</div>';
|
||||
echo '</div>';
|
||||
echo '<div class="content">';
|
||||
if ( ! isset($_GET['vis'])) exit();
|
||||
if ( ! isset($_GET['vis'])) return;
|
||||
$acc_reconciliation=new Acc_Reconciliation($cn);
|
||||
$acc_reconciliation->a_jrn=$r_jrn;
|
||||
$acc_reconciliation->start_day=$dstart->value;
|
||||
|
|
@ -100,4 +100,4 @@ $gDossier=Dossier::id();
|
|||
</form>
|
||||
<?php
|
||||
require_once('template/impress_reconciliation.php');
|
||||
exit();
|
||||
return;
|
||||
|
|
@ -114,7 +114,7 @@ echo '<div id="list">';
|
|||
if ( isDate($_GET['start']) == null || isDate($_GET['end']) == null )
|
||||
{
|
||||
echo alert(_('Date malformée, désolé'));
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
$letter=new Lettering_Account($cn);
|
||||
$letter->set_parameter('account',$_GET['acc']);
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ if ( isset($_GET['start']) && isset($_GET['end']))
|
|||
if ( isDate($_GET['start']) == null || isDate($_GET['end']) == null )
|
||||
{
|
||||
echo alert(_('Date malformée, désolé'));
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
}
|
||||
echo '<div id="list">';
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ if ($low_action == 'detail')
|
|||
{
|
||||
/* Menu */
|
||||
require_once('category_card.inc.php');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ if (isset($_POST["FMOD_NAME"]))
|
|||
echo '<span class="error"> Pour le passer en unicode, faites-en un backup puis restaurez le fichier reçu</span>';
|
||||
|
||||
echo HtmlInput::button_anchor('Retour', 'admin_repo.php?action=dossier_mgt');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
$mod_name = sql_string($_POST["FMOD_NAME"]);
|
||||
|
|
@ -387,7 +387,7 @@ if ($sa == 'add')
|
|||
{
|
||||
echo('Désolé, vous n\'avez pas coché la case');
|
||||
echo HtmlInput::button_anchor('Retour', '?action=modele_mgt');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
$cn = new Database();
|
||||
|
|
@ -396,7 +396,7 @@ if ($sa == 'add')
|
|||
if (strlen(trim($name)) == 0)
|
||||
{
|
||||
echo "<h2 class=\"error\"> $msg inexistant</h2>";
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
$sql = "drop database " . domaine . "mod" . sql_string($_REQUEST['m']);
|
||||
ob_start();
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ if (isset($_POST['correct']))
|
|||
{
|
||||
$ledger = new Acc_Ledger($cn, $_REQUEST['p_jrn']);
|
||||
require_once 'operation_ods_new.inc.php';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
// confirm before saving
|
||||
|
|
@ -59,7 +59,7 @@ if ( isset($_POST['summary']))
|
|||
require('operation_ods_new.inc.php');
|
||||
|
||||
}
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
// record
|
||||
|
|
@ -89,7 +89,7 @@ if (isset($_POST['save']))
|
|||
require('operation_ods_new.inc.php');
|
||||
alert($e->getMessage());
|
||||
}
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ if ($sa == '')
|
|||
if (empty($avail))
|
||||
{
|
||||
echo '*** Aucun dossier ***';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
echo '<form class="print" method="post">';
|
||||
echo HtmlInput::hidden('ac', $_REQUEST['ac']);
|
||||
|
|
@ -132,7 +132,7 @@ if ($sa == '')
|
|||
echo '</form>';
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
/* --------------------------------------------------
|
||||
* Step 2 choose now the exercice of this folder
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ $ledger->id = ($ledger->id == -1) ? $first_ledger['jrn_def_id'] : $id_ledger;
|
|||
if ( $g_user->check_jrn($ledger->id)=='X')
|
||||
{
|
||||
alert("Vous ne pouvez pas écrire dans ce journal, contacter votre administrateur");
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
echo '<div class="content">';
|
||||
echo '<div id="predef_form">';
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ if ( $action == "view" )
|
|||
l'écran administration -> utilisateur.
|
||||
</p>";
|
||||
echo $return;
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
//
|
||||
// Check if the user can access that folder
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ if ( $sb=='change')
|
|||
'?p_action=divers&sa=mp&'.dossier::get()."&ac=".$_REQUEST['ac']
|
||||
);
|
||||
echo '</form>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
//----------------------------------------------------------------------
|
||||
// Save the change
|
||||
|
|
@ -106,7 +106,7 @@ if ($sb=='ins')
|
|||
);
|
||||
echo '</form>';
|
||||
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
//--------------------------------------------------------------------------------
|
||||
//LIST
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ if ( $request_sa== 'jrn' )
|
|||
if (empty($array) == true)
|
||||
{
|
||||
echo _("Aucun enregistrement");
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
echo '<table>';
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ echo "</TABLE>";
|
|||
echo '</div>';
|
||||
if ( isset($_POST['upload']))
|
||||
{
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
if ( isset ($_REQUEST["action"]) )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ if ($g_parameter->MY_STOCK == 'N')
|
|||
echo '<h2 class="notice">';
|
||||
echo _("Vous n'utilisez pas de gestion de stock");
|
||||
echo '</h2>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
if ( isset ($_POST['add_stock']))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ if ( $low_action == 'detail')
|
|||
{
|
||||
/* Menu */
|
||||
require_once('category_card.inc.php');
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -90,8 +90,8 @@ if (isset($_POST['confirm_mod'])
|
|||
$own = new Own($cn);
|
||||
if ($own->MY_TVA_USE == 'N')
|
||||
{
|
||||
echo '<h2 class="error"> Vous n\'êtes pas assujetti à la TVA</h2>';
|
||||
exit();
|
||||
echo '<h2 class="error">'._("Vous n'êtes pas assujetti à la TVA").'</h2>';
|
||||
return;
|
||||
}
|
||||
//-----------------------------------------------------
|
||||
// Display
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ if ( isset($_REQUEST['det']))
|
|||
{
|
||||
require_once("user_detail.inc.php");
|
||||
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ $rep = new Database();
|
|||
if (!isset($_REQUEST['use_id']))
|
||||
{
|
||||
html_page_stop();
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
$uid = $_REQUEST['use_id'];
|
||||
$UserChange = new User($rep, $uid);
|
||||
|
|
@ -210,7 +210,7 @@ if (empty($Dossier))
|
|||
{
|
||||
echo hb('* Aucun Dossier *');
|
||||
echo '</div>';
|
||||
exit();
|
||||
return;
|
||||
}
|
||||
|
||||
$mod_user = new User(new Database(), $uid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue