summaryrefslogtreecommitdiff
path: root/modules/comment/comment.tpl.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-19 20:33:21 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-19 20:33:21 +0000
commit70abacbb7bf514d0170702870dacde756971d0e7 (patch)
treee126c5758fc1b4e4da4692433c8dbdf647d176e3 /modules/comment/comment.tpl.php
parent48d8c4ec405864dabc1f7aa9d82f1402a77eceff (diff)
downloadbrdo-70abacbb7bf514d0170702870dacde756971d0e7.tar.gz
brdo-70abacbb7bf514d0170702870dacde756971d0e7.tar.bz2
- Patch #493030 by effulgentsia: documentation improvements/additions for RDF support.
Diffstat (limited to 'modules/comment/comment.tpl.php')
-rw-r--r--modules/comment/comment.tpl.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/comment/comment.tpl.php b/modules/comment/comment.tpl.php
index ffc0c3c99..bb6026041 100644
--- a/modules/comment/comment.tpl.php
+++ b/modules/comment/comment.tpl.php
@@ -11,8 +11,12 @@
* print a subset such as render($content['field_example']). Use
* hide($content['field_example']) to temporarily suppress the printing of a
* given element.
- * - $created: Date and time this comment was created.
- * - $changed: Date and time this comment was changed.
+ * - $created: Formatted date and time for when the comment was created.
+ * Preprocess functions can reformat it by calling format_date() with the
+ * desired parameters on the $comment->created variable.
+ * - $changed: Formatted date and time for when the comment was last changed.
+ * Preprocess functions can reformat it by calling format_date() with the
+ * desired parameters on the $comment->changed variable.
* - $new: New comment marker.
* - $picture: Authors picture.
* - $signature: Authors signature.
@@ -61,8 +65,8 @@
<div class="submitted">
<?php
- print t('Submitted by !username on @datetime.',
- array('!username' => $author, '@datetime' => $created));
+ print t('Submitted by !username on !datetime.',
+ array('!username' => $author, '!datetime' => $created));
?>
</div>