[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 19/219: Replace global $http by new httpInput
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 19/219: Replace global $http by new httpInput() to make the test of scenario working |
Date: |
Mon, 18 Dec 2017 13:22:28 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit fe137d9d5f004088bed4d0becbf22a7bf41d5cc8
Author: Dany De Bontridder <address@hidden>
Date: Sun Jul 23 13:17:18 2017 +0200
Replace global $http by new httpInput() to make the test of scenario
working
---
include/cfgledger.inc.php | 6 +++++-
include/company.inc.php | 2 +-
include/compta_ach.inc.php | 3 ++-
include/compta_ven.inc.php | 4 +++-
include/param_pcmn.inc.php | 2 +-
5 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/include/cfgledger.inc.php b/include/cfgledger.inc.php
index e3b20c2..7002f6e 100644
--- a/include/cfgledger.inc.php
+++ b/include/cfgledger.inc.php
@@ -36,7 +36,11 @@ require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
$gDossier=dossier::id();
global $cn;
-global $http;
+
+global $g_parameter;
+$http=new HttpInput();
+
+
$show_menu=1;
$ledger=new Acc_Ledger($cn,-1);
diff --git a/include/company.inc.php b/include/company.inc.php
index 71d9bbe..f6e5c27 100644
--- a/include/company.inc.php
+++ b/include/company.inc.php
@@ -24,7 +24,7 @@
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
global $g_user;
-global $http;
+$http=new HttpInput();
echo '<div class="content">';
require_once NOALYSS_INCLUDE.'/class/own.class.php';
if (isset($_POST['record_company']))
diff --git a/include/compta_ach.inc.php b/include/compta_ach.inc.php
index ea42a7d..f572e61 100644
--- a/include/compta_ach.inc.php
+++ b/include/compta_ach.inc.php
@@ -31,7 +31,8 @@ require_once NOALYSS_INCLUDE.'/class/pre_op_ach.class.php';
require_once NOALYSS_INCLUDE.'/lib/ipopup.class.php';
$gDossier = dossier::id();
global $g_parameter;
-global $http;
+$http=new HttpInput();
+
$cn = Dossier::connect();
//menu = show a list of ledger
$str_dossier = dossier::get();
diff --git a/include/compta_ven.inc.php b/include/compta_ven.inc.php
index be3697e..2364f25 100644
--- a/include/compta_ven.inc.php
+++ b/include/compta_ven.inc.php
@@ -34,8 +34,10 @@ $gDossier=dossier::id();
$cn=Dossier::connect();
//menu = show a list of ledger
$str_dossier=dossier::get();
+global $g_parameter;
+$http=new HttpInput();
+$strac=$http->request('ac');
$ac="ac=".$_REQUEST['ac'];
-global $g_parameter,$http;
$p_msg="";
//----------------------------------------------------------------------
// Encode a new invoice
diff --git a/include/param_pcmn.inc.php b/include/param_pcmn.inc.php
index e9a621c..d967f5c 100644
--- a/include/param_pcmn.inc.php
+++ b/include/param_pcmn.inc.php
@@ -26,7 +26,7 @@ require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/constant.php';
require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
-global $http;
+$http=new HttpInput();
$gDossier=dossier::id();
require_once NOALYSS_INCLUDE.'/lib/database.class.php';
- [Noalyss-commit] [noalyss] 91/219: Esthetic : change button appearance, (continued)
- [Noalyss-commit] [noalyss] 91/219: Esthetic : change button appearance, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 122/219: Anc ODS : check date is valid and comment not empty, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 199/219: Task #001381 : ergonomy after selecting a filter remove the box, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 187/219: fix bug with filter_card : encodeURI not needed, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 18/219: remove href=javascript:void(0) + HtmlInput::generate_id replaced by uniqid, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 90/219: Task #0001481: Encodage Vente, Achat, Fin ou OD 1. S'il n'y a qu'une seule catégorie de fiche , il n'est plus nécessaire d'afficher le choix (puisqu'il n'y en a qu'un) 2. Avoir pour chaque ligne un bouton ajout fiche, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 62/219: Analytic : change the name and description in Ajax, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 54/219: NEW : ICard , you can hide or show the accounting in the search box with the functions ICard->hide_accounting and ICard->show_accounting, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 67/219: Icon : for Inplace Edit field, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 166/219: Space, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 19/219: Replace global $http by new httpInput() to make the test of scenario working,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 128/219: Esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 99/219: CSS : button border, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 108/219: task #0001272: Rendre possible l'appel de la calculatrice depuis le fin fond d'une page., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 174/219: space, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 114/219: Change max article in STOCK INV, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 16/219: Update test with new architecture, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 173/219: Improve calc, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 104/219: Réécriture de CFGPCMN pour utiliser ManageTable pas de delete proposé si compte utilisé, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 14/219: Infobulle : warning : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 44/219: fix minor bug + doc, Dany De Bontridder, 2017/12/18