mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-03-11 01:15:27 -04:00
functions that format a unix timestamp into a date+time/date/time string. Partial fix for ticket #347.
19 lines
637 B
PHP
19 lines
637 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<li id="gComment-<?= $comment->id; ?>">
|
|
<p class="gAuthor">
|
|
<a href="#">
|
|
<img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>"
|
|
class="gAvatar"
|
|
alt="<?= p::clean($comment->author_name()) ?>"
|
|
width="40"
|
|
height="40" />
|
|
</a>
|
|
<?= t("on %date_time, %author_name said",
|
|
array("date_time" => gallery::date_time($comment->created),
|
|
"author_name" => p::clean($comment->author_name()))) ?>
|
|
</p>
|
|
<div>
|
|
<?= p::clean($comment->text) ?>
|
|
</div>
|
|
</li>
|