Exemplo n.º 1
0
            $comment->set('anonymous', !User::isGuest() ? 0 : 1);
        }
        ?>
							<img src="<?php 
        echo $comment->creator()->getPicture($comment->get('anonymous'));
        ?>
" alt="" />
						</p>
						<fieldset>
							<?php 
        if (!User::isGuest()) {
            if ($replyto = Request::getInt('commentreply', 0)) {
                $reply = new \Plugins\Hubzero\Comments\Models\Comment($replyto);
                $name = Lang::txt('COM_KB_ANONYMOUS');
                if (!$reply->get('anonymous')) {
                    $name = ($reply->creator('public') ? '<a href="' . Route::url($reply->creator()->getLink()) . '">' : '') . $this->escape(stripslashes($repy->creator('name'))) . ($reply->creator('public') ? '</a>' : '');
                }
                ?>
									<blockquote cite="c<?php 
                echo $reply->get('id');
                ?>
">
										<p>
											<strong><?php 
                echo $name;
                ?>
</strong>
											<span class="comment-date-at"><?php 
                echo Lang::txt('COM_ANSWERS_AT');
                ?>
</span>