a little more cssery

git-svn-id: file:///home/shish/svn/shimmie2/trunk@143 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-05-29 02:35:19 +00:00
parent ec108c5493
commit 9df0e2ea46
2 changed files with 5 additions and 2 deletions

View file

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

View file

@ -1,3 +1,6 @@
.wiki-page {
text-align: left;
}
.wiki-footer {
text-align: center;
}