diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-01-10 19:13:00 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-01-10 19:13:00 +0000 |
commit | 82848bd3a92c4d58f4f7d1a99fb5257b3d242920 (patch) | |
tree | 2eccb7c3c6b7e551eb15189db1ecf9d9b8f5c065 | |
parent | a2dbbf32abd793a0dffc20e71e558b5abdd81bec (diff) |
HTML format cleanup
-rw-r--r-- | modules/comment/views/admin_block_recent_comments.html.php | 10 | ||||
-rw-r--r-- | modules/comment/views/admin_comments.html.php | 13 | ||||
-rw-r--r-- | modules/comment/views/comment.html.php | 8 | ||||
-rw-r--r-- | modules/comment/views/comments.html.php | 8 |
4 files changed, 24 insertions, 15 deletions
diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php index ef48423c..78e22766 100644 --- a/modules/comment/views/admin_block_recent_comments.html.php +++ b/modules/comment/views/admin_block_recent_comments.html.php @@ -2,11 +2,13 @@ <ul> <? foreach ($comments as $comment): ?> <li> - <img width="40" height="40" - src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" - class="gAvatar" alt="<?= $comment->author_name() ?>" /> + <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" + class="gAvatar" + alt="<?= $comment->author_name() ?>" + width="40" + height="40" /> <?= date("Y-M-d H:i:s", $comment->created) ?> - <?= t("<a href=#>{{author_name}}</a> said <i>{{comment_text}}</i>", + <?= t("<a href=#>{{author_name}}</a> said <em>{{comment_text}}</em>", array("author_name" => $comment->author_name(), "comment_text" => text::limit_words($comment->text, 50))); ?> </li> diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index b95a02f9..dcee0462 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -120,12 +120,15 @@ function update_menu() { <input type="checkbox" name="delete_comments[]" value="<?= $comment->id ?>" /> </td> <td> - <a href="#"><img width="40" height="40" - src="<?= $user->avatar_url(40, $theme->url("images/avatar.jpg")) ?>" - class="gAvatar" alt="<?= $comment->author_name() ?>" /></a> - <br/> + <a href="#"> + <img src="<?= $user->avatar_url(40, $theme->url("images/avatar.jpg")) ?>" + class="gAvatar" + alt="<?= $comment->author_name() ?>" + width="40" + height="40" /> + </a><br/> <a href="mailto:<?= $comment->author_email() ?>" - title="<?= $comment->author_email() ?>"> <?= $comment->author_name() ?> </a> + title="<?= $comment->author_email() ?>"> <?= $comment->author_name() ?> </a> </td> <td> <?= $comment->text ?> diff --git a/modules/comment/views/comment.html.php b/modules/comment/views/comment.html.php index 1e502de9..1a674142 100644 --- a/modules/comment/views/comment.html.php +++ b/modules/comment/views/comment.html.php @@ -2,9 +2,11 @@ <li id="gComment-<?= $comment->id; ?>"> <p class="gAuthor"> <a href="#"> - <img width="40" height="40" - src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" - class="gAvatar" alt="<?= $comment->author_name() ?>" /> + <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" + class="gAvatar" + alt="<?= $comment->author_name() ?>" + width="40" + height="40" /> </a> <?= t("on ") . date("Y-M-d H:i:s", $comment->created) ?> <a href="#"><?= $comment->author_name() ?></a> <?= t("said") ?> diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index 9b5f7056..111b12bd 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -5,9 +5,11 @@ <li id="gComment-<?= $comment->id ?>"> <p class="gAuthor"> <a href="#"> - <img width="40" height="40" - src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" - class="gAvatar" alt="<?= $comment->author_name() ?>" /> + <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" + class="gAvatar" + alt="<?= $comment->author_name() ?>" + width="40" + height="40" /> </a> <?= t("on {{date}} <a href=#>{{name}}</a> said", array("date" => date("Y-M-d H:i:s", $comment->created), |