link to user's profile from the event log

This commit is contained in:
Shish 2010-02-01 23:04:06 +00:00
parent 2f9642dc89
commit 1d9af46e5f

View file

@ -16,7 +16,9 @@ class LogDatabaseTheme extends Themelet {
$table .= "<td>".$event['address']."</td>";
}
else {
$table .= "<td><span title='".$event['address']."'>".html_escape($event['username'])."</span></td>";
$table .= "<td><span title='".$event['address']."'>".
"<a href='".make_link("user/".url_escape($event['username']))."'>".html_escape($event['username'])."</a>".
"</span></td>";
}
$table .= "<td>".html_escape($event['message'])."</td>";
$table .= "</tr>\n";