changeset 8:c5bc194d7255

Code légerement plus lisible.
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Oct 2007 16:04:50 +0200
parents e4e880f786d4
children 3b22cee5e07b
files index.php
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Tue Oct 23 15:25:27 2007 +0200
+++ b/index.php	Tue Oct 23 16:04:50 2007 +0200
@@ -50,7 +50,6 @@
     $Titre_url = str_replace(array("î", "ï"), "i", $Titre_url);
     if(!empty($row['Emot'])) {
 	$mood = "<img src='/blog/mood/{$row['Emot']}.png' alt='Mood : {$row['Emot']}' class='mood' />";
-	$row['Emot'] = " " . $row['Emot'];
     }
     $nbTags = $Data->Query("
 	SELECT T.Tag
@@ -68,7 +67,7 @@
       }
 
       echo("
-       <div class='PostContent{$row['Emot']}'>
+       <div class='PostContent {$row['Emot']}'>
 	<h2>{$Titre} | <span class='Date'>{$dateFormatee}</span></h2>
 	{$mood}
 	{$Mess}