[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 06/46: Documentation
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 06/46: Documentation |
Date: |
Mon, 4 May 2020 13:38:42 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 3fc8a14961c41f5ceaae2b11a13193a35d4076b4
Author: Dany De Bontridder <address@hidden>
AuthorDate: Sun Feb 9 13:13:58 2020 +0100
Documentation
---
include/lib/html_input.class.php | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php
index 1515627..987a89b 100755
--- a/include/lib/html_input.class.php
+++ b/include/lib/html_input.class.php
@@ -950,7 +950,16 @@ class HtmlInput
return $sel;
}
}
-
+ /**
+ *
+ * * filter the rows in a table and keep the colored row in alternance
+ * @param dom_id $p_table_id table
+ * @param string $p_col , column to search example 0,1,2
+ * @param int $start_row row to always keep (header)
+ * @param string $p_name name of the input field
+ * @param string $p_old_value search value sent by $_GET (or $_REQUEST)
+ * @return string HTML
+ */
static function filter_table_form($p_table_id, $p_col, $start_row, $p_name,
$p_old_value)
{
@@ -963,7 +972,13 @@ class HtmlInput
$r.=' <span class="notice" id="info_'.$p_table_id.'"></span>';
return $r;
}
-
+ /**
+ * filter the rows in a table and keep the colored row in alternance
+ * @param dom_id $p_table_id table
+ * @param string $p_col , column to search example 0,1,2
+ * @param int $start_row row to always keep (header)
+ * @return string HTML
+ */
static function filter_table($p_table_id, $p_col, $start_row)
{
$r="
- [Noalyss-commit] [noalyss] branch master updated (f306130 -> aa78d59), Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 01/46: Record exception, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 04/46: Comptability PHP7.2, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 05/46: Documentation, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 02/46: Bug solde is rounded and doesn't have decimal, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 03/46: Test Acc_Account, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 06/46: Documentation,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 12/46: Minimum version : PHP 7.0 and PostgreSQL 9.5, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 07/46: phpunit : use plain text for restoring test database, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 09/46: search : add placeholder, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 10/46: Bug : customer.inc.php with http_input::request Correct : Contact.inc.php remove direct use of $_GET, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 11/46: New : Icon_Action::icon_onoff : display on or off, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 08/46: Bug : filter_list does not filter simple list, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 13/46: Noalyss_CSV : add setter and getter, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 16/46: remove blank line, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 18/46: Task #1694: Opération FIN: opération liée - code fiche mais pas nom, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 19/46: Task #0001704: Faciliter l'ajout de plusieurs lignes, Dany De Bontridder, 2020/05/04