|
From: mdw c. <myd...@li...> - 2001-09-20 21:23:48
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/gnome Modified Files: comment.html Log Message: Adding a new little feature whiwh is asking guest for name and email when posting a comment on a news. MDW then store the values (name & email) into a cookie and use them for next submission. When displaying the comment, guest's name is displayed whith a link on his email. BE CARREFUL : There is a DB upgrade to do, on the comments table : we must add the field user_mail. Launch sql/db_upgrade/from-0.3.5__to-0.3.6/alter-comments.sql on your db after cvs updating... enjoy:) Alexis. =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/gnome/comment.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- comment.html 2001/07/24 22:07:52 1.1 +++ comment.html 2001/09/20 21:23:47 1.2 @@ -4,7 +4,7 @@ <td align="left" > - <font color="#770000"><b>~title~</b> (posted by ~user~ @ ~date_ins~)</font><br><br> + <font color="#770000"><b>~title~</b> (posted by <a href="mailto:~user_mail~">~user_name~</a>, ~date_ins~)</font><br><br> ~content~ |