[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 89/323: task #0001533: Possibilité d'activer
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 89/323: task #0001533: Possibilité d'activer ou désactiver des étiquettes Cache ou montre les tags inactifs dans recherche |
Date: |
Wed, 14 Mar 2018 17:38:28 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit f7f922eb98b165482c4bdf4f77fc3a1a82436f84
Author: Dany De Bontridder <address@hidden>
Date: Thu Jan 25 20:32:21 2018 +0100
task #0001533: Possibilité d'activer ou désactiver des étiquettes
Cache ou montre les tags inactifs dans recherche
---
include/template/tag_search_select.php | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/include/template/tag_search_select.php
b/include/template/tag_search_select.php
index bfabb4c..cd48dac 100644
--- a/include/template/tag_search_select.php
+++ b/include/template/tag_search_select.php
@@ -10,6 +10,8 @@ if ( $max == 0 ) {
}
?>
<?php echo _("Cherche")." ".HtmlInput::filter_table($p_prefix.'tag_tb_id',
'0,1', 1); ?>
+<?php echo HtmlInput::button_action(_('Uniquement actif'),
'show_only_row(\''.$p_prefix.'tag_tb_id'.'\',\'tag_status\',\'Y\')');?>
+<?php echo HtmlInput::button_action(_('Tous'),
'show_all_row(\''.$p_prefix.'tag_tb_id'.'\')');?>
<table class="result" id="<?php echo $p_prefix;?>tag_tb_id">
<tr>
<th>
@@ -23,8 +25,9 @@ if ( $max == 0 ) {
$gDossier=Dossier::id();
for ($i=0;$i<$max;$i++):
$row=Database::fetch_array($ret, $i);
+ $attr=sprintf('tag_status="%s"',$row['t_actif']);
?>
- <tr class="<?php echo (($i%2==0)?'even':'odd');?>">
+ <tr <?=$attr?> class="<?php echo (($i%2==0)?'even':'odd');?>">
<td>
<?php
$js=sprintf("search_add_tag('%s','%s','%s')",$gDossier,$row['t_id'],$p_prefix);
@@ -36,6 +39,13 @@ $gDossier=Dossier::id();
echo $row['t_description'];
?>
</td>
+ <td>
+ <?php
+ if ( $row['t_actif'] == 'N') {
+ echo _('non actif');
+ }
+ ?>
+ </td>
</tr>
<?php
endfor;
- [Noalyss-commit] [noalyss] 60/323: remove deprecated theme, (continued)
- [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
- [Noalyss-commit] [noalyss] 82/323: Esthétique Recherche action, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 88/323: comment, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 93/323: Predefined operation fix cosmetic, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 90/323: Icon_Action replace image by fontello, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 89/323: task #0001533: Possibilité d'activer ou désactiver des étiquettes Cache ou montre les tags inactifs dans recherche,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 52/323: Task #1457 & 1281 : operation ouverture séparée, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 74/323: Task #0001530: Réécriture PRINTJRN : export CSV, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 95/323: git bug created by the merge, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 99/323: correct bug created by the merge, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 92/323: Icon_Action : add the icon trashbin, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 86/323: cosmetique :tags on one line in the action search box, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 67/323: Task #0001530: Réécriture PRINTJRN Rename file template/acc_history_ledger_sale_oneline.php to template/acc_ledger_history_sale_oneline.php Manage PURCHASE - oneline,detailled , extended and accounting Adapt test file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 98/323: correct bug created by the merge, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 96/323: correct bug created by the merge, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 87/323: task #0001533: Possibilité d'activer ou désactiver des étiquettes, Dany De Bontridder, 2018/03/14