Permalink
Browse files

DIsabling formatting for now, until we can separate out wiki

content from wiki forms etc ... and only apply formatting to the content.
  • Loading branch information...
1 parent af9fcd0 commit 9888a8eab5e8b9d31c8174c048b502da3131dff7 moodler committed Aug 17, 2004
Showing with 7 additions and 3 deletions.
  1. +7 −3 mod/wiki/view.php
View
@@ -192,14 +192,16 @@
global $ewiki_author, $USER;
$ewiki_author=fullname($USER);
$content=ewiki_page($wikipage);
+ $content2='';
### RESTORE ID from Moodle
$_REQUEST["id"]=$moodleID;
$id=$moodleID;
/// ################# EWIKI Part ###########################
}
else {
- $content = '<div align="center">'.get_string('nowikicreated', 'wiki').'</div>';
+ $content = '';
+ $content2 = '<div align="center">'.get_string('nowikicreated', 'wiki').'</div>';
}
@@ -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 "<br clear=all />";

0 comments on commit 9888a8e

Please sign in to comment.