summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-03 01:11:20 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-03 01:11:20 +0000
commita57ede2f96babc216538f0115561c6e4f94eb79d (patch)
treee1a93a052909aea4cbcb8f24f60ff0840c7acaa4 /modules
parent7db1758e93775c3f59c4a874da36225585dcbab5 (diff)
Added default user avatar. Comment thread updates, including display of avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css.
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/views/comments.html.php11
-rw-r--r--modules/user/views/login.html.php4
2 files changed, 10 insertions, 5 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index b436fd98..3ca34a0f 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -2,9 +2,14 @@
<ul>
<? foreach ($comments as $comment): ?>
<li id="gComment-<?= $comment->id; ?>">
- <p>
- <a href="#" class="gAuthor"><?= $comment->author ?></a>
- <?= date("Y-M-d H:i:s", $comment->created) ?>
+ <? $avatar = $theme->url("images/avatar.jpg") ?>
+ <? //if ($user->avatar($comment->author)): ?>
+ <? //$avatar = $theme->url("images/avatar.jpg") ?>
+ <? //endif ?>
+ <p class="gAuthor">
+ <a href="#"><img src="<?= $avatar ?>" class="gAvatar" alt="<?= $comment->author ?>" /></a>
+ <?= _("on ") . date("Y-M-d H:i:s", $comment->created) ?>
+ <a href="#"><?= $comment->author ?></a> <?= _("said") ?>
</p>
<div>
<?= $comment->text ?>
diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php
index 951341c9..b73bea07 100644
--- a/modules/user/views/login.html.php
+++ b/modules/user/views/login.html.php
@@ -1,11 +1,11 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul id="gLoginMenu">
<? if ($user->guest): ?>
- <li><a href="<?= url::site("login") ?>"
+ <li class="first"><a href="<?= url::site("login") ?>"
title="<?= _("Login to Gallery") ?>"
id="gLoginLink"><?= _("Login") ?></a></li>
<? else: ?>
- <li><a href="<?= url::site("form/edit/users/{$user->id}") ?>"
+ <li class="first"><a href="<?= url::site("form/edit/users/{$user->id}") ?>"
title="<?= _("Edit Your Profile") ?>"
id="gUserProfileLink" class="gDialogLink"><?= _("Modify Profile") ?></a></li>
<li><a href="<?= url::site("logout?continue=" . url::current(true)) ?>"