[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/03: Ledger selection : add a button to sel
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/03: Ledger selection : add a button to select all the ledger in operation search (HIST->search) |
Date: |
Tue, 25 Aug 2015 00:58:11 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit f89bd3046d2dea7ef7871a6d3e4bfa3d4b104e49
Author: Dany De Bontridder <address@hidden>
Date: Tue Aug 25 02:32:14 2015 +0200
Ledger selection : add a button to select all the ledger in operation
search (HIST->search)
---
include/class_html_input.php | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/include/class_html_input.php b/include/class_html_input.php
index ed745e5..c544e1b 100755
--- a/include/class_html_input.php
+++ b/include/class_html_input.php
@@ -320,14 +320,18 @@ class HtmlInput
echo '<div style="padding:5px">';
echo '<form method="GET" id="'.$div.'search_frm" onsubmit="return
hide_ledger_choice(\''.$div.'search_frm\')">';
echo HtmlInput::hidden('nb_jrn', count($p_array));
- echo _('Filtre ').HtmlInput::filter_table($div.'tb_jrn', '0,1,2', 1);
+ echo _('Filtre ').HtmlInput::filter_table($div.'tb_jrn', '0,1,2', 2);
echo '<table class="result" id="'.$div.'tb_jrn">';
echo '<tr>';
echo th(_('Nom'));
echo th(_('Description'));
echo th(_('Type'));
echo '</tr>';
-
+ echo '<tr>';
+ echo '<td>';
+ echo HtmlInput::button('sel_'.$div,_('Inverser la sélection'),'
onclick = "toggle_checkbox(\''."{$div}search_frm".'\')"');
+ echo '</td>';
+ echo '</tr>';
for ($e=0;$e<count($p_array);$e++)
{
$row=$p_array[$e];