Ignore:
Timestamp:
Jul 20, 2014, 11:32:56 PM (10 years ago)
Author:
rvelices
Message:

bug 3100 display IP address of comment author on admin page and also save the entire ip address in the database, not only the first three ip components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/comments.tpl

    r25744 r29060  
    6666  <div class="comment">
    6767    <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}"></a>
    68     <p class="commentHeader">{if $comment.IS_PENDING}<span class="pendingFlag">{'Waiting'|@translate}</span> - {/if}<strong>{$comment.AUTHOR}</strong> - <em>{$comment.DATE}</em></p>
     68    <p class="commentHeader">{if $comment.IS_PENDING}<span class="pendingFlag">{'Waiting'|@translate}</span> - {/if}{if !empty($comment.IP)}{$comment.IP} - {/if}<strong>{$comment.AUTHOR}</strong> - <em>{$comment.DATE}</em></p>
    6969    <blockquote>{$comment.CONTENT}</blockquote>
    7070  </div>
Note: See TracChangeset for help on using the changeset viewer.