[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 83/323: Esthétique Recherche action
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 83/323: Esthétique Recherche action |
Date: |
Wed, 14 Mar 2018 17:38:27 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit c84e95f2fc3805258bde4607a7985eaf038a19df
Author: Dany De Bontridder <address@hidden>
Date: Thu Jan 25 09:49:55 2018 +0100
Esthétique Recherche action
---
include/class/follow_up.class.php | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/include/class/follow_up.class.php
b/include/class/follow_up.class.php
index a554f31..91a368b 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -1164,21 +1164,19 @@ class Follow_Up
static function display_search($cn, $inner=false)
{
global $g_user;
- $a=(isset($_GET['action_query']))?$_GET['action_query']:"";
- $qcode=(isset($_GET['qcode']))?$_GET['qcode']:"";
-
- $supl_hidden='';
- if (isset($_REQUEST['sc']))
- $supl_hidden.=HtmlInput::hidden('sc', $_REQUEST['sc']);
+ $http=new HttpInput();
+ $a=$http->get("action_query","string","");
+ $qcode=$http->get("qcode","string","");
+
+ $supl_hidden=HtmlInput::array_to_hidden(['sc','sb','ac'], $_REQUEST);
+
if (isset($_REQUEST['f_id']))
{
- $supl_hidden.=HtmlInput::hidden('f_id', $_REQUEST['f_id']);
- $f=new Fiche($cn, $_REQUEST['f_id']);
+ $f_id=$http->request('f_id','number');
+ $supl_hidden.=HtmlInput::hidden('f_id', $f_id);
+ $f=new Fiche($cn, $f_id);
$supl_hidden.=HtmlInput::hidden('qcode_dest',
$f->get_quick_code());
}
- if (isset($_REQUEST['sb']))
- $supl_hidden.=HtmlInput::hidden('sb', $_REQUEST['sb']);
- $supl_hidden.=HtmlInput::hidden('ac', $_REQUEST['ac']);
/**
* Show the default button (add action, show search...)
- [Noalyss-commit] [noalyss] 45/323: Task #0001519: Assouplissement de la sécurité : journaux et actions, (continued)
- [Noalyss-commit] [noalyss] 45/323: Task #0001519: Assouplissement de la sécurité : journaux et actions, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 77/323: Small bug in clean card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 69/323: Task #0001530: Réécriture PRINTJRN : export PDF, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 80/323: before deleting a card , check if it is not used as an attribute in another card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 78/323: esthetic, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 70/323: Task #0001530: Réécriture PRINTJRN : export CSV : Purchase List (L), Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 73/323: Missing import of icon_action, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 75/323: Merge branch 'rewrite-printjrn', Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 76/323: Small bug in save_card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 71/323: task #1531: Historique poste et fiche d'après exercice opération, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 83/323: Esthétique Recherche action,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 68/323: Task #0001530: Réécriture PRINTJRN Add Financial Ledger Adapt test file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 61/323: Fix some issues with PRINTJRN, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 79/323: before deleting a card , check if it is not used as an attribute in another card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 04/323: Improve Doxygen documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 60/323: remove deprecated theme, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 56/323: Task #0001527: Effacement du champ code fiche : bouton, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 43/323: Rewriting Change class Own by Noalyss_Parameter_Folder, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 84/323: Doc, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 81/323: task #1531: Historique poste et fiche d'après exercice opération Fait aussi pour le bouton historique, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 85/323: cosmetique, Dany De Bontridder, 2018/03/14