From 9888a8eab5e8b9d31c8174c048b502da3131dff7 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 17 Aug 2004 16:31:52 +0000 Subject: [PATCH] DIsabling formatting for now, until we can separate out wiki content from wiki forms etc ... and only apply formatting to the content. --- mod/wiki/view.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mod/wiki/view.php b/mod/wiki/view.php index a7105e57d6..97ce42607b 100644 --- a/mod/wiki/view.php +++ b/mod/wiki/view.php @@ -192,6 +192,7 @@ global $ewiki_author, $USER; $ewiki_author=fullname($USER); $content=ewiki_page($wikipage); + $content2=''; ### RESTORE ID from Moodle $_REQUEST["id"]=$moodleID; @@ -199,7 +200,8 @@ /// ################# EWIKI Part ########################### } else { - $content = '
'.get_string('nowikicreated', 'wiki').'
'; + $content = ''; + $content2 = '
'.get_string('nowikicreated', 'wiki').'
'; } @@ -322,9 +324,11 @@ print_simple_box_start( "right", "100%", "$THEME->cellcontent", "20"); if($ewiki_action=="edit") { # When editing, the filters shall not interfere the wiki-source - print $content; + print $content.$content2; } else { - print(format_text($content, $moodle_format)); + //print(format_text($content, $moodle_format)); /// DISABLED UNTIL IT CAN BE FIXED + print $content; + print $content2; } print_simple_box_end(); echo "
"; -- 2.39.5