##############################################################
## MOD Title: Topic Preview
## MOD Author: kvfb97 < info@kvfb97.co.uk > (Robert Dougan) http://www.kvfb97.co.uk
## MOD Description: This MOD will add a topic preview box to the viewforum.php page
##                  when you roll over a topic name. It shows bbcode and emotions
##					within the preview.
## MOD Version: 0.4
##
## Installation Level: Easy
## Installation Time: 10 Minutes
## Files To Edit: viewforum.php
##			templates/subSilver/viewforum_body.tpl
##			templates/subSilver/overall_header.tpl
##			language/lang_english/lang_main.php
## Included Files: overlib.js
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## Tested with phpBB 2.0.18
## Homepage of this MOD: http://www.kvfb97.co.uk
##
## This MOD use Overlib 4.21 (C) by Erik Bosrup. View more info in overlib.js 
##############################################################
## MOD History:
##
##   2005-12-27 - Version 0.0.1
##      - First version of this MOD
##
##   2005-12-28 - Version 0.2
##      - Fixed a issue with announcements.
##      - Edited the install file and where the overlib.js file is now placed.
##      - Adding upgrading files, and install instructions for other styles.
##      - Added 'Topic Preview' into the lang_main file (thanks to Bicet ;o))
##
##   2005-12-28 - Version 0.3
##      - Added <br /> tags
##
##   2005-12-28 - Version 0.4
##      - Error with '
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------ 
# 
viewforum.php

# 
#-----[ FIND ]------------------------------------------ 
# 
		$topic_preview = str_replace("\n", "<br/>", $topic_preview);
	
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		$topic_preview = str_replace("'", "\'", $topic_preview);

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM