Author: weaverryan
Date: 2010-02-07 18:07:45 +0100 (Sun, 07 Feb 2010)
New Revision: 27647
Modified:
plugins/sfSympalCommentsPlugin/branches/1.4/modules/sympal_comments/templates/_for_content.php
Log:
[1.4][sfSympalCommentsPlugin][1.0] Adding a link to the comments form on one
spot and removing it from another (if there are no comments, then this text is
already on top of the comments form, not necessary).
Modified:
plugins/sfSympalCommentsPlugin/branches/1.4/modules/sympal_comments/templates/_for_content.php
===================================================================
---
plugins/sfSympalCommentsPlugin/branches/1.4/modules/sympal_comments/templates/_for_content.php
2010-02-07 17:00:05 UTC (rev 27646)
+++
plugins/sfSympalCommentsPlugin/branches/1.4/modules/sympal_comments/templates/_for_content.php
2010-02-07 17:07:45 UTC (rev 27647)
@@ -1,9 +1,9 @@
<?php use_helper('Comments') ?>
-<?php use_stylesheet('/sfSympalCommentsPlugin/css/comments.css') ?>
+<?php use_stylesheet('/sfSympalCommentsPlugin/css/comments.css', 'first') ?>
<div id="sympal_comments">
<?php if ($num = count($content['Comments'])): ?>
- <h3>Comments (<?php echo $num ?>)</h3>
+ <h3>Comments (<?php echo $num ?>) <a href="#comments_form">Add a
comment</a></h3>
<ul>
<?php foreach ($content['Comments'] as $comment): ?>
<?php if ($comment->isApproved()): ?>
@@ -26,7 +26,7 @@
<?php endforeach; ?>
</ul>
<?php else: ?>
- <h3>No Comments Created. Be the first to <a
href="#comments_form">comment</a>.</h3>
+ <h3>No Comments Created. Be the first to comment.</h3>
<?php endif; ?>
</div>
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.