Revision 106
Added by stefan about 19 years ago
view.php | ||
---|---|---|
26 | 26 |
// Get content |
27 | 27 |
$get_content = $database->query("SELECT content FROM ".TABLE_PREFIX."mod_wysiwyg WHERE section_id = '$section_id'"); |
28 | 28 |
$fetch_content = $get_content->fetchRow(); |
29 |
$content = $this->strip_slashes_dummy($fetch_content['content']);
|
|
29 |
$content = ($fetch_content['content']); |
|
30 | 30 |
|
31 |
$this->preprocess($content);
|
|
31 |
$wb->preprocess($content);
|
|
32 | 32 |
|
33 | 33 |
echo $content; |
34 | 34 |
|
Also available in: Unified diff
Renamed compatibility.php to frontend.functions.php.
Moved frontend functions from class frontend to frontend.functions.php.
Removed instances of strip_slashes_dummy. Replaced $this by $wb in a couple of places.
Created file initialize.php, where all initializations now take place (moved from class wb constructor).