#################################################################
## MOD Title:           Moderator Tags Update 1.1.0 to 1.2.1
## MOD Author:          Coagulant < baryshev@gmail.com > (Baryshev Ilya) http://coagulant.com.ru
## MOD Description:     Allows to update Moderator Tags Mod from version 1.1.0 to 1.2.1
##
## MOD Version:         1.0.0
## Installation Level:  Easy
## Installation Time:   3 Minutes
## Files To Edit:       (3)
##                      includes/functions.php,
##                      includes/bbcode.php,
##                      templates/subSilver/bbcode.tpl
## Included Files:      N/A
## 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:
##
##
##############################################################
## MOD History:
##
##  2005-08-05 - Version 1.0.0
##             - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php 

#
#-----[ FIND ]------------------------------------------
#
   if ( (!$mod_permission) && (preg_match("/\[mod\:\S+?\]/si", $message)) )

#
#-----[ IN-LINE FIND ]------------------------------------------
#
\S+

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
.*

#
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php

#
#-----[ FIND ]------------------------------------------
#
	if ( ($is_auth['auth_mod']) || ( ($userdata['user_level'] != 0) && ( strpos( basename($HTTP_SERVER_VARS['PHP_SELF']), 'privmsg') !== false ) ) )

#
#-----[ IN-LINE FIND ]------------------------------------------
#
0

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
USER

#
#-----[ FIND ]------------------------------------------
#
	$bbcode_tpl['mod_open'] = str_replace('{L_MOD}', $lang['Mod'], $bbcode_tpl['mod_open']);

#
#-----[ REPLACE WITH ]------------------------------------------
#

#
#-----[ FIND ]------------------------------------------
#
	$bbcode_tpl['mod_username_open'] = str_replace('{L_MOD}', $lang['Mod'], $bbcode_tpl['mod_username_open']);

#
#-----[ REPLACE WITH ]------------------------------------------
#

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/bbcode.tpl

#
#-----[ FIND ]------------------------------------------
#
# This is the first occurrence of the line
      <td class="ModTable" rowspan=2 align=middle vAlign=center width=1%>

#
#-----[ REPLACE WITH ]------------------------------------------
#
      <td class="ModTable" rowspan="2" align="middle" vAlign="center" width="1%">

#
#-----[ FIND ]------------------------------------------
#
# This is the second occurrence of the line
      <td class="ModTable" rowspan=2 align=middle vAlign=center width=1%>

#
#-----[ REPLACE WITH ]------------------------------------------
#
      <td class="ModTable" rowspan="2" align="middle" vAlign="center" width="1%">

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