move code up one directory
[atutor.git] / mods / _standard / forums / module_format_content.php
1 <?php
2 /*******
3  * This file extends the content string manipulation.
4  * It affects the output of course content and news content at course home page.
5  * Input parameter: global variable $_input. This variable contains the input
6  * content/news string.
7  * Output: $_input. Please make sure to assign the manipulated string back to $_input.
8  */
9
10 /*******
11  * Global input string. DO NOT CHANGE.
12  */
13 global $_input;
14
15 /*******
16  * Example, replace special tag "[black][/black]" with html
17  */
18 $_input = str_replace('[forum]','',$_input);
19 $_input = str_replace('[/forum]','',$_input);
20 ?>