From b0a3308740d121c7ba504c1625f08901d713d750 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 11 Nov 2008 22:46:25 +0000 Subject: Minor cleanup; localization, indentation, etc. --- modules/comment/helpers/comment.php | 6 ++++-- modules/comment/views/comment_form.html.php | 8 ++++---- modules/comment/views/comment_list.html.php | 2 +- modules/comment/views/show_comments.html.php | 6 +++--- 4 files changed, 12 insertions(+), 10 deletions(-) (limited to 'modules') diff --git a/modules/comment/helpers/comment.php b/modules/comment/helpers/comment.php index a768bdcf..1c454952 100644 --- a/modules/comment/helpers/comment.php +++ b/modules/comment/helpers/comment.php @@ -33,7 +33,7 @@ class Comment_Core { * @param integer $datetime optional comment date and time in Unix format * @return Comment_Model */ - static function create($author, $email, $text, $item_id, $datetime = NULL) { + static function create($author, $email, $text, $item_id, $datetime=NULL) { if (is_null($datetime)) { $datetime = time(); } @@ -68,4 +68,6 @@ class Comment_Core { $v = new View('comment_form.html'); $v->item_id = $item_id; return $v; - }} + } +} + diff --git a/modules/comment/views/comment_form.html.php b/modules/comment/views/comment_form.html.php index 418f0027..163fd180 100644 --- a/modules/comment/views/comment_form.html.php +++ b/modules/comment/views/comment_form.html.php @@ -3,19 +3,19 @@
Add comment
- +
- +
- +
- + " />
diff --git a/modules/comment/views/comment_list.html.php b/modules/comment/views/comment_list.html.php index 2196af1c..ffd64c0c 100644 --- a/modules/comment/views/comment_list.html.php +++ b/modules/comment/views/comment_list.html.php @@ -1,6 +1,6 @@