changeset 22:6e084c604876

Utilisation du titre du post dans le titre de la page.
author Franck Deroche <webmaster@defr.org>
date Fri, 26 Oct 2007 18:01:37 +0200
parents 86a6793f1408
children 20159d39b8f8
files comment.php
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/comment.php	Fri Oct 26 17:55:35 2007 +0200
+++ b/comment.php	Fri Oct 26 18:01:37 2007 +0200
@@ -35,6 +35,9 @@
      $post = new Post($row);
      $sk->addBlogPost($post->format());
 
+     // On définit le titre
+     $sk->setTitle($row['Titre'] . ' - Dual Blog'); 
+
      // Récupération des commentaires
       $Data->Query("SELECT * FROM Commentaires Where MessId={$id} AND Visible=1 ORDER BY num_comm");
       $defaultGravatar = urlencode("http://defr.org/Misc/NoGravatar.png");