link to user

git-svn-id: file:///home/shish/svn/shimmie2/trunk@144 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-05-29 02:36:27 +00:00
parent 9df0e2ea46
commit f92d611238

View file

@ -231,7 +231,8 @@ class Wiki extends Extension {
$html = "<div class='wiki-page'>";
$html .= bbcode_to_html($page->body);
$html .= "<hr>";
$html .= "<p class='wiki-footer'>Revision {$page->revision} by {$owner->name} at {$page->date} ";
$html .= "<p class='wiki-footer'>Revision {$page->revision} by ".
"<a href='".make_link("user/{$owner->name}")."'>{$owner->name}</a> at {$page->date} ";
global $user;
if($this->can_edit($user, $page)) {