Skip to content
Snippets Groups Projects
Commit f611276d authored by runemaster's avatar runemaster
Browse files

If a user has entered a picture or avatar link, make it a clickable link.

parent 88c2af2a
No related branches found
No related tags found
No related merge requests found
......@@ -138,8 +138,8 @@ if(is_sysop) {
template.profile.push({html: '<tr><td class="userstats" align="right">AIM: </td><td class="userstats" align="left">' + usr.aim + '</td></tr>' });
template.profile.push({html: '<tr><td class="userstats" align="right">Homepage: </td><td class="userstats" align="left">' + usr.homepage + '</td></tr>' });
template.profile.push({html: '<tr><td class="userstats" align="right">Hobbies: </td><td class="userstats" align="left">' + usr.hobbies + '</td></tr>' });
template.profile.push({html: '<tr><td class="userstats" align="right">Picture (Link): </td><td class="userstats" align="left">' + usr.picture + '</td></tr>' });
template.profile.push({html: '<tr><td class="userstats" align="right">Avatar (Link): </td><td class="userstats" align="left">' + usr.avatar + '</td></tr>' });
template.profile.push({html: '<tr><td class="userstats" align="right">Picture (Link): </td><td class="userstats" align="left"><a href="' + usr.picture + '">View Picture</a></td></tr>' });
template.profile.push({html: '<tr><td class="userstats" align="right">Avatar (Link): </td><td class="userstats" align="left"><a href="' + usr.avatar + '">View Avatar</a></td></tr>' });
template.profile.push({html: '</table><br />' });
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment