link to user
git-svn-id: file:///home/shish/svn/shimmie2/trunk@144 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
9df0e2ea46
commit
f92d611238
1 changed files with 2 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Reference in a new issue