xhtml
authorx2000habouzit <x2000habouzit>
Sat, 17 Jul 2004 12:21:02 +0000 (12:21 +0000)
committerx2000habouzit <x2000habouzit>
Sat, 17 Jul 2004 12:21:02 +0000 (12:21 +0000)
scripts/xhtml/get_classes.pl
templates/paiment/index.tpl

index 02117b2..2e3fd19 100755 (executable)
@@ -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)=/);
    
index a06999e..d15d7a6 100644 (file)
@@ -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 $ *}
 
 <div class="rubrique">
   Micropaiments
@@ -20,7 +20,7 @@
   versement.
   <br /><br />
   </p>
-  <table class="bicol" width="98%">
+  <table class="bicol">
     <tr>
       <th colspan="2">Effectuer un télépaiement</th>
     </tr>