##############################################################
## MOD Title: lat2cyr
## MOD Author: ssttoo < ssttoo@gmail.com > (Stoyan) http://www.phpied.com
## MOD Description: Performs Cyrillic transliteration for posts written
## in Bulgarian or Russian that use Latin characters.
## This MOD uses a free service from http://kredor.com that
## performs the actual transliteration (quite complicated actually).
## MOD Version: 1.0.2
##
## Installation Level: (Easy)
## Installation Time: 2 Minutes
## Files To Edit: viewtopic.php,
## templates/subSilver/viewtopic_body.tpl,
## language/lang_english/lang_main.php,
## templates/subSilver/subSilver.cfg
##
## Included Files: lat2cyr.php, lat2cyr.tpl, icon_lat2cyr.gif
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## If you want to test this MOD before installing, go to http://www.w3clubs.com/phpBB2/
## By default the MOD will use Bulgarian transliteration, to use the Russian one
## change this line in lat2cyr.php
## define ('TRANS_LANGUAGE', 'bg');
## to
## define ('TRANS_LANGUAGE', 'ru');
##############################################################
## MOD History:
##
## 2005-01-30 - Version 1.0.0
## - Initial release
## 2005-07-28 - Version 1.0.1
## - Tweaks in the MOD script to ensure compatibility with EasyMOD
## 2006-10-16
## - Security patch
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ COPY ]------------------------------------------
#
copy lat2cyr.php to lat2cyr.php
copy lat2cyr.tpl to templates/subSilver/lat2cyr.tpl
copy icon_lat2cyr.gif to templates/subSilver/images/lang_english/icon_lat2cyr.gif
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$quote = '' . $lang['Reply_with_quote'] . '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lat2cyr_img = '';
#
#-----[ FIND ]------------------------------------------
#
'QUOTE' => $quote,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'LAT2CYR_IMG' => $lat2cyr_img,
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#