[Comoblog-commit] comoblog/templates add_comment.tpl.htm,1.2,1.3 index.tpl.htm,1.4,1.5 list_comments
Status: Inactive
Brought to you by:
markwallis
|
From: iamdecal <iam...@us...> - 2006-02-17 15:16:40
|
Update of /cvsroot/comoblog/comoblog/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2179/templates Modified Files: add_comment.tpl.htm index.tpl.htm list_comments.tpl.htm Log Message: work towards the 1.2 release - this adds url for commentors as well as an email address -- NB may need to move exisinting data to the new row (will on my site,but not sure if thats public code or not) SEO friendly URLS on apache to the main site and most of the modules (optionally turned on by new config setting) ---------------------------------------------------------------------- Enter Log. Lines beginning with `CVS:' are removed automatically Committing in . Modified Files: _install/comoblog_db.xml _install/patch_1.php include/libraries.inc.php lang/english.inc.php templates/add_comment.tpl.htm templates/index.tpl.htm templates/list_comments.tpl.htm Added Files: htaccess _install/upgrades/1.1_to_1.2.xml ---------------------------------------------------------------------- Index: index.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/templates/index.tpl.htm,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- index.tpl.htm 11 Dec 2005 12:14:02 -0000 1.4 +++ index.tpl.htm 17 Feb 2006 15:16:37 -0000 1.5 @@ -61,32 +61,37 @@ <img class="post_img" src="{SITE_URL}img/posts/{IMAGE.img_name}" border="0" alt="" /> <!-- END: img --> - <!-- BEGIN: video_3g2 --> - <object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" - CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" height="240"><br/> - <param name="SRC" value="{SITE_URL}img/posts/{IMAGE.img_name}"/> - <param name="CONTROLLER" value="true"/> - <param name="scale" value="Aspect"/> - <param name="AUTOPLAY" value="false"/> - <param name="border" value="0"/> - <param name="target" value="_self"/> - <param name="href" value="{SITE_URL}img/posts/{IMAGE.img_name}"> - <embed src="{SITE_URL}img/posts/{IMAGE.img_name}" border="0" width="320" - autoplay="false" scale="Aspect" href="{SITE_URL}img/posts/{IMAGE.img_name}" - pluginspage="http://www.apple.com/quicktime/download/" height="240" target="_self" controller="true"> - </embed> - </object> - <!-- END: video_3g2 --> - + <!-- BEGIN: video_3g2 --> + <object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" + CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" height="240"><br/> + <param name="SRC" value="{SITE_URL}img/posts/{IMAGE.img_name}"/> + <param name="CONTROLLER" value="true"/> + <param name="scale" value="Aspect"/> + <param name="AUTOPLAY" value="false"/> + <param name="border" value="0"/> + <param name="target" value="_self"/> + <param name="href" value="{SITE_URL}img/posts/{IMAGE.img_name}"> + <embed src="{SITE_URL}img/posts/{IMAGE.img_name}" border="0" width="320" + autoplay="false" scale="Aspect" href="{SITE_URL}img/posts/{IMAGE.img_name}" + pluginspage="http://www.apple.com/quicktime/download/" height="240" target="_self" controller="true"> + </embed> + </object> + <!-- END: video_3g2 --> + <!-- BEGIN: comments --> <h4>{TXT.comments_for_post}</h4> - <!-- BEGIN: comment --> - <div class="comment"> - <p class="comment_header">{COMMENT.comment_author} <!-- BEGIN: email -->{COMMENT.comment_author_email}<!-- END: email --><br /> - {COMMENT.comment_date.year}/{COMMENT.comment_date.mon}/{COMMENT.comment_date.mday} {COMMENT.comment_date.hours}:{COMMENT.comment_date.minutes}</p> - <p>{COMMENT.comment_text}</p> - </div> - <!-- END: comment --> +<!-- BEGIN: comment --> +<div class="comment"> +<p class="comment_header"> +<a href="{COMMENT.comment_author_url} rel="nofollow"">{COMMENT.comment_author}</a> + <!-- BEGIN: email --> + {COMMENT.comment_author_email} + <!-- END: email --><br /> + + {COMMENT.comment_date.year}/{COMMENT.comment_date.mon}/{COMMENT.comment_date.mday} {COMMENT.comment_date.hours}:{COMMENT.comment_date.minutes}</p> +<p>{COMMENT.comment_text}</p> +</div> +<!-- END: comment --> <!-- END: comments --> <div class="post_footer"> Index: list_comments.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/templates/list_comments.tpl.htm,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- list_comments.tpl.htm 16 Aug 2005 05:49:47 -0000 1.1.1.1 +++ list_comments.tpl.htm 17 Feb 2006 15:16:37 -0000 1.2 @@ -1,22 +1,22 @@ <!-- BEGIN: main -->{FILE "templates/header.tpl.htm"} <div id="comments"> - <!-- BEGIN: nocomments --> <div class="comment"> <h1>{TXT.no_comments}</h1> <p> </p> </div> <!-- END: nocomments --> - <!-- BEGIN: comments --> <h1>{TXT.comments_for_post}:<br />{POST.post_mail_subject}</h1> - - <!-- BEGIN: comment --> <div class="comment"> -<p class="comment_header">{COMMENT.comment_author} -<!-- BEGIN: email -->{COMMENT.comment_author_email}<!-- END: email --><br /> -{COMMENT.comment_date.year}/{COMMENT.comment_date.mon}/{COMMENT.comment_date.mday} {COMMENT.comment_date.hours}:{COMMENT.comment_date.minutes}</p> +<p class="comment_header"> +<a href="{COMMENT.comment_author_url} rel="nofollow"">{COMMENT.comment_author}</a> +<!-- BEGIN: email --> + {COMMENT.comment_author_email} + <!-- END: email --><br /> + + {COMMENT.comment_date.year}/{COMMENT.comment_date.mon}/{COMMENT.comment_date.mday} {COMMENT.comment_date.hours}:{COMMENT.comment_date.minutes}</p> <p>{COMMENT.comment_text}</p> </div> <!-- END: comment --> Index: add_comment.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/templates/add_comment.tpl.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- add_comment.tpl.htm 1 Dec 2005 14:57:55 -0000 1.2 +++ add_comment.tpl.htm 17 Feb 2006 15:16:37 -0000 1.3 @@ -2,43 +2,35 @@ <div class="comment"> <form action="{ACTION}" method="POST"> <input type="hidden" name="post_id" value="{FORM.post_id}" /> - <h1>{TXT.add_comment}</h1> - <p> {TXT.your_name}<br /> <input type="text" name="comment_author" id="comment_author" value="{FORM.comment_author}" class="comment_form" /> </p> - <p> {TXT.your_email}<br /> <input type="text" name="comment_author_email" id="comment_author_email" value="{FORM.comment_author_email}" class="comment_form" /> </p> - +<p> +{TXT.your_url} +<br /> +<input type="text" name="comment_author_url" id="comment_author_url" value="{FORM.comment_author_url class="comment_form" /> +</p> <p> {TXT.comment}<br /> <textarea name="comment_text" id="comment_text" class="comment_form">{FORM.comment_text}</textarea> </p> - - <!-- BEGIN: html_comments --> -{TXT.comment_convert}<br /> -<input type="checkbox" name="comment_convert" id="comment_convert" class="comment_form" value="noconvert"> -<!-- END: html_comments --> -</p> - - - <p> - - - - +{TXT.comment_convert} +<input type="checkbox" style="width:50px" name="comment_convert" id="comment_convert" +class="comment_form" value="noconvert"> +</p> +<!-- END: html_comments --> <p> <input type="submit" name="submit" value="{TXT.submit}" /> </p> </form> - <!-- BEGIN: form_errors --> <script language="javascript"> var errors = '++Warning++\n\n'; |