Commit: 292a67073e4141b3266f4b001105c38f659042e0

Author: Jon Adams | Date: 2009-11-05 21:42:37 +0300
fix for gravatar link
diff --git a/views/anologue/view.html.php b/views/anologue/view.html.php index 13da24c..7a06a86 100644 --- a/views/anologue/view.html.php +++ b/views/anologue/view.html.php @@ -21,7 +21,7 @@ <div class="anologue-help"> <p><strong>hello.</strong></p> - <p>to get started, type your text in the grey box at the very bottom and press &lt;enter&gt;. <br />markdown is supported, to an extent.</p> + <p>to get started, type your text in the box at the very bottom and press &lt;enter&gt;. <br />markdown is supported, to an extent.</p> <p><strong>for your privacy,</strong> your email is only used to generate your <?php echo $this->html->link('gravatar', 'http://gravatar.com'); ?> and is stored in an unreadable, encoded format.</p> </div> @@ -35,7 +35,7 @@ <li class="time"><?php echo date('G:i:s', $message->timestamp);?></li> <li class="ip"><?php echo $message->ip;?></li> <li class="author"> - <?php echo $this->html->image('http://gravatar.com/avatar/<?php echo $message->email;?>?s=16&d=http://'.$_SERVER['HTTP_HOST'].'/img/anonymous.png'); ?> + <?php echo $this->html->image('http://gravatar.com/avatar/'.$message->email.'?s=16&d=http://'.$_SERVER['HTTP_HOST'].'/img/anonymous.png'); ?> <span title="<?php echo $this->html->escape($message->author);?>">&laquo; <?php echo $this->html->escape($message->author);?> &raquo;</span> </li> <li class="text"><div class="markdown"><?php echo $this->html->escape($message->text); ?></div></li>