From 84bb031a2be82c42b38ff9cf0d647f9e64cebe81 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sat, 17 Jul 2004 12:21:02 +0000 Subject: [PATCH] xhtml --- scripts/xhtml/get_classes.pl | 4 ++++ templates/paiment/index.tpl | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/xhtml/get_classes.pl b/scripts/xhtml/get_classes.pl index 02117b2..2e3fd19 100755 --- a/scripts/xhtml/get_classes.pl +++ b/scripts/xhtml/get_classes.pl @@ -60,11 +60,15 @@ sub parse_tag($$) { my $tag = shift; # tag interdits en xhtml + print STDERR "${red}XHTML error: ${yel}<$1> (majuscules) ${blu}($file)${gra}\n" + if($tag =~ /^((?:[A-Z]+[a-z]*)+)( |$)/); print STDERR "${red}XHTML error: ${yel}<$1> ${blu}($file)${gra}\n" if($tag =~ /^(b|i|u|big|small|font|center)( |$)/); print STDERR "${red}XHTML error: ${yel}<$1> sans '/' ${blu}($file)${gra}\n" if($tag =~ /^(br|hr|img|link|input)( [^\/]*)?$/); + print STDERR "${red}XHTML error: ${yel}attribut $1 sans = ${blu}($file)${gra}\n" + if($tag =~ / (checked|disabled|multiple|readonly)( |$)/); print STDERR "${red}XHTML error: ${yel}attribut $1 ${blu}($file)${gra}\n" if($tag =~ / (align|width|border|color|valign)=/); diff --git a/templates/paiment/index.tpl b/templates/paiment/index.tpl index a06999e..d15d7a6 100644 --- a/templates/paiment/index.tpl +++ b/templates/paiment/index.tpl @@ -1,4 +1,4 @@ -{* $Id: index.tpl,v 1.2 2004-07-17 11:23:10 x2000habouzit Exp $ *} +{* $Id: index.tpl,v 1.3 2004-07-17 12:21:02 x2000habouzit Exp $ *}
Micropaiments @@ -20,7 +20,7 @@ versement.

- +
-- 2.1.4
Effectuer un télépaiement