# HG changeset patch # User Franck Deroche # Date 1202318117 -3600 # Node ID ded2849cf38cd9b4d55e3399dcf1bad2e5e4cd82 # Parent ef5fd86d30ecccf095206d32f90162c166e62506 On rend le validator HTML5 content avec ces quelques changements. diff -r ef5fd86d30ec -r ded2849cf38c includes/class.post.php --- a/includes/class.post.php Tue Jan 29 14:34:03 2008 +0100 +++ b/includes/class.post.php Wed Feb 06 18:15:17 2008 +0100 @@ -56,7 +56,11 @@ if($nbTags > 0) { while(0 !== ($tag = $db->GetRow(2))) - $tags .= " {$tag['Tag']} |"; + { + $tags .= sprintf("%s |", + '/blog/tags/' . urlencode($tag['Tag']), + $tag['Tag']); + } $tags = substr($tags, 0, -1); $this->tags = $this->tpl->getDocumentFragment(); $this->tags->appendXML($tags); diff -r ef5fd86d30ec -r ded2849cf38c includes/class.skeleton.php --- a/includes/class.skeleton.php Tue Jan 29 14:34:03 2008 +0100 +++ b/includes/class.skeleton.php Wed Feb 06 18:15:17 2008 +0100 @@ -78,7 +78,7 @@ // On commence par définir les paramètres généraux $params = array( '#CommentAuthor' => $row['Auteur'], - '#CommentAuthor@href' => $row['Adresse'], + '#CommentAuthor@href' => urlencode($row['Adresse']), '#Post' => $row['Titre'], '#Post@href' => $c_url ); diff -r ef5fd86d30ec -r ded2849cf38c templates/main.xml --- a/templates/main.xml Tue Jan 29 14:34:03 2008 +0100 +++ b/templates/main.xml Wed Feb 06 18:15:17 2008 +0100 @@ -2,6 +2,8 @@ + + <link rel='StyleSheet' type='Text/CSS' href='/blog/css/comment.css' /> <tr:possibleStyleSheets> @@ -9,9 +11,7 @@ </tr:possibleStyleSheets> <link rel="alternate" type="application/atom+xml" title="Atom feed" href="/blog/dualblog.atom" /> <link rel="icon" type="image/png" href="/favicon.png" /> - <meta http-equiv='content-type' content='text/html; charset=utf-8' /> - <meta name='author' content='Franck Deroche' /> - <script type="Text/JavaScript" src="/blog/RollUp.js">//Stupid IE...</script> + <script type="Text/JavaScript" src="/blog/RollUp.js"></script> </head> <body id="Main">