From e2e77f2a5348c405a23becc7f92a88cf791bfedb Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 19 Mar 2019 14:15:24 +0100 Subject: [PATCH] update with html5 compliant code --- htdocs/adherents/type.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index 2f4040b254f..18c0ba28348 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -256,9 +256,9 @@ if (! $rowid && $action != 'create' && $action != 'edit') print ''; print ''.$langs->trans("Ref").''; print ''.$langs->trans("Label").''; - print ''.$langs->trans("SubscriptionRequired").''; - print ''.$langs->trans("VoteAllowed").''; - print ''.$langs->trans("Status").''; + print ''.$langs->trans("SubscriptionRequired").''; + print ''.$langs->trans("VoteAllowed").''; + print ''.$langs->trans("Status").''; print ' '; print "\n"; @@ -277,9 +277,9 @@ if (! $rowid && $action != 'create' && $action != 'edit') //'.img_object($langs->trans("ShowType"),'group').' '.$objp->rowid.' print ''; print ''.dol_escape_htmltag($objp->label).''; - print ''.yn($objp->subscription).''; - print ''.yn($objp->vote).''; - print ''; + print ''.yn($objp->subscription).''; + print ''.yn($objp->vote).''; + print ''; if ( !empty($objp->statut) ) { print img_picto($langs->trans("InActivity"), 'statut4'); } else { @@ -586,15 +586,15 @@ if ($rowid > 0) // Lignes des champs de filtre print ''; - print ''; + print ''; print ''; - print ''; + print ''; print ''; print ' '; - print ''; + print ''; print ''; print ' '; @@ -663,7 +663,7 @@ if ($rowid > 0) // Date end subscription if ($datefin) { - print ''; + print ''; if ($datefin < dol_now() && $objp->statut > 0) { print dol_print_date($datefin, 'day')." ".img_warning($langs->trans("SubscriptionLate")); @@ -676,7 +676,7 @@ if ($rowid > 0) } else { - print ''; + print ''; if ($objp->subscription == 'yes') { print $langs->trans("SubscriptionNotReceived"); @@ -690,7 +690,7 @@ if ($rowid > 0) } // Actions - print ''; + print ''; if ($user->rights->adherent->creer) { print ''.img_edit().'';