From bf579ae048170678029ff686bcf5cc7edb62388b Mon Sep 17 00:00:00 2001 From: shish Date: Thu, 5 Jul 2007 20:16:25 +0000 Subject: [PATCH] this needs proper theming git-svn-id: file:///home/shish/svn/shimmie2/trunk@224 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/wiki/main.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/wiki/main.php b/contrib/wiki/main.php index 1207f878..3a52e22f 100644 --- a/contrib/wiki/main.php +++ b/contrib/wiki/main.php @@ -102,7 +102,7 @@ class Wiki extends Extension { $page->set_title("Denied"); $page->set_heading("Denied"); $page->add_block(new NavBlock()); - $page->add_main_block(new Block("Denied", "You do not have permission to edit this page")); + $page->add_block(new Block("Denied", "You do not have permission to edit this page")); } } else if(is_null($content)) { @@ -119,13 +119,13 @@ class Wiki extends Extension { else { $content = $this->create_edit_html($blank); } - $page->add_main_block(new Block("Content", $content)); + $page->add_block(new Block("Content", $content)); } else if(isset($_GET['edit']) && $_GET['edit'] == "on") { - $page->add_main_block(new Block("Content", $this->create_edit_html($content))); + $page->add_block(new Block("Content", $this->create_edit_html($content))); } else { - $page->add_main_block(new Block("Content", $this->create_display_html($content))); + $page->add_block(new Block("Content", $this->create_display_html($content))); } }