From ec108c5493c70389395a215f31458d815c11401b Mon Sep 17 00:00:00 2001 From: shish Date: Tue, 29 May 2007 02:07:38 +0000 Subject: [PATCH] better CSS support git-svn-id: file:///home/shish/svn/shimmie2/trunk@142 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/wiki/main.php | 4 +++- contrib/wiki/style.css | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 contrib/wiki/style.css diff --git a/contrib/wiki/main.php b/contrib/wiki/main.php index 0f6ba497..b4efd8fa 100644 --- a/contrib/wiki/main.php +++ b/contrib/wiki/main.php @@ -228,7 +228,7 @@ class Wiki extends Extension { private function create_display_html($page) { $owner = $page->get_owner(); - $html = ""; + $html = "
"; $html .= bbcode_to_html($page->body); $html .= "
"; $html .= "

Revision {$page->revision} by {$owner->name} at {$page->date} "; @@ -238,6 +238,8 @@ class Wiki extends Extension { $html .= "[edit] "; } + $html .= "

"; + return $html; } // }}} diff --git a/contrib/wiki/style.css b/contrib/wiki/style.css new file mode 100644 index 00000000..72204313 --- /dev/null +++ b/contrib/wiki/style.css @@ -0,0 +1,3 @@ +.wiki-page { + text-align: left; +}