Merge pull request #2993 from nickvergessen/ticket/13087

[ticket/13087] Correctly link to user profile when contact field has no URL
This commit is contained in:
Marc Alexander 2014-09-24 18:27:37 +02:00
commit 30e1d29f58

View file

@ -170,7 +170,7 @@
<!-- IF REMAINDER eq 0 --> <!-- IF REMAINDER eq 0 -->
<div> <div>
<!-- ENDIF --> <!-- ENDIF -->
<a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.contact.U_PROFILE_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 'jabber' --> onclick="popup(this.href, 750, 320); return false;"<!-- ENDIF -->> <a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.U_POST_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 'jabber' --> onclick="popup(this.href, 750, 320); return false;"<!-- ENDIF -->>
<span class="contact-icon {postrow.contact.ID}-icon">{postrow.contact.NAME}</span> <span class="contact-icon {postrow.contact.ID}-icon">{postrow.contact.NAME}</span>
</a> </a>
<!-- IF REMAINDER eq 3 or postrow.contact.S_LAST_ROW --> <!-- IF REMAINDER eq 3 or postrow.contact.S_LAST_ROW -->