mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 01:33:51 -04:00
Drop short_tags
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<ul>
|
||||
<? foreach ($comments as $comment): ?>
|
||||
<?php foreach ($comments as $comment): ?>
|
||||
<li class="<?= text::alternate("g-even", "g-odd") ?>">
|
||||
<img src="<?= $comment->author()->avatar_url(32, $theme->url("images/avatar.jpg", true)) ?>"
|
||||
class="g-avatar"
|
||||
@@ -8,16 +8,16 @@
|
||||
width="32"
|
||||
height="32" />
|
||||
<?= gallery::date_time($comment->created) ?>
|
||||
<? if ($comment->author()->guest): ?>
|
||||
<?php if ($comment->author()->guest): ?>
|
||||
<?= t('%author_name said <em>%comment_text</em>',
|
||||
array("author_name" => html::clean($comment->author_name()),
|
||||
"comment_text" => text::limit_words(nl2br(html::purify($comment->text)), 50))); ?>
|
||||
<? else: ?>
|
||||
<?php else: ?>
|
||||
<?= t('<a href="%url">%author_name</a> said <em>%comment_text</em>',
|
||||
array("author_name" => html::clean($comment->author_name()),
|
||||
"url" => user_profile::url($comment->author_id),
|
||||
"comment_text" => text::limit_words(nl2br(html::purify($comment->text)), 50))); ?>
|
||||
<? endif ?>
|
||||
<?php endif ?>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user