better CSS support
git-svn-id: file:///home/shish/svn/shimmie2/trunk@142 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
ea393ca985
commit
ec108c5493
2 changed files with 6 additions and 1 deletions
|
@ -228,7 +228,7 @@ class Wiki extends Extension {
|
|||
private function create_display_html($page) {
|
||||
$owner = $page->get_owner();
|
||||
|
||||
$html = "";
|
||||
$html = "<div class='wiki-page'>";
|
||||
$html .= bbcode_to_html($page->body);
|
||||
$html .= "<hr>";
|
||||
$html .= "<p>Revision {$page->revision} by {$owner->name} at {$page->date} ";
|
||||
|
@ -238,6 +238,8 @@ class Wiki extends Extension {
|
|||
$html .= "[<a href='".make_link("wiki/{$page->title}", "edit=on")."'>edit</a>] ";
|
||||
}
|
||||
|
||||
$html .= "</div>";
|
||||
|
||||
return $html;
|
||||
}
|
||||
// }}}
|
||||
|
|
3
contrib/wiki/style.css
Normal file
3
contrib/wiki/style.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
.wiki-page {
|
||||
text-align: left;
|
||||
}
|
Reference in a new issue