[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 25/38: cosmetic
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 25/38: cosmetic |
Date: |
Sun, 18 Feb 2024 07:30:46 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit 61897f319f0ef6f2c1d65acbe7cb6503a9d39df5
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Feb 14 18:21:44 2024 +0100
cosmetic
---
include/class/document_modele.class.php | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/class/document_modele.class.php
b/include/class/document_modele.class.php
index da2cf6cb4..59f341272 100644
--- a/include/class/document_modele.class.php
+++ b/include/class/document_modele.class.php
@@ -70,9 +70,12 @@ class Document_modele
$r.=th(_('Fichier'));
$r.=th(_('Effacer'));
$r.="</tr>";
+ $idx=0;
foreach ( $all as $row)
{
- $r.="<tr>";
+ $even=($idx%2==0)?'class="odd"':'class="even"';
+ $idx++;
+ $r.="<tr $even>";
$r.="<td>";
$r.=h($row['md_name']);
$r.="</td>";
- [Noalyss-commit] [noalyss] 36/38: Fix : Bug cannot filter a list of element, (continued)
- [Noalyss-commit] [noalyss] 36/38: Fix : Bug cannot filter a list of element, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 27/38: Nouvelle fonction pour ajouter des attributs à un élément DOM, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 31/38: DB protect against JS Injection, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 24/38: Nouveau #00022980002298: detail fiche , historique du suivi, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 35/38: Merge devel, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 09/38: Task #2321: Sécurité : empêcher changement de numéro de pièce, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 16/38: Follow-Up : bug ne peut pas ajouter fichier sur nouvel événement, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 18/38: Fix cosmetic bug : duplicate operation with autoreverse VAT has an VAT amount, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 20/38: Fix : auto numbering receipt, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 21/38: Merge branch 'devel', dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 25/38: cosmetic,
dwm <=
- [Noalyss-commit] [noalyss] 37/38: Cosmetic, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 38/38: Upgrade SQL, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 28/38: DB protect against JS Injection, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 07/38: SUIVI : ajout prénom, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 14/38: integre changement SQL, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 30/38: redirect via javascript, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 34/38: Gestion : possibilité de sauvegarder les recherches, dwm, 2024/02/18