############################################################## 
## MOD Title: Sub-templates - upgrade from 1.0.1 to 1.0.2
## MOD Author: Ptirhiik < admin@rpgnet-fr.com > (Pierre) http://www.rpgnet-fr.com
## MOD Description: Upgrade from sub-template 1.0.1 to sub-template 1.0.2
## MOD Version: 1.0.2
## 
## Installation Level: easy
## Installation Time: 3 Minutes
## Files To Edit: 
##				includes/template.php
## Included Files: (n/a)
############################################################## 
## 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: 
##	This mod requires sub-templates v 1.0.0 to be installed on the board
############################################################## 
## MOD History: 
## 
##   2003-07-25 - Version 1.0.2
##	- add two global var to be used with Qbar mod
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
includes/template.php
#
#-----[ FIND ]------------------------------------------------
#
		global $HTTP_GET_VARS, $HTTP_POST_VARS, $db, $board_config, $images, $theme;
#
#-----[ AFTER, ADD ]------------------------------------------
#
		global $sub_template_key_image, $sub_templates;
#
#-----[ FIND ]------------------------------------------------
#
		global $tree;
#
#-----[ AFTER, ADD ]------------------------------------------
#
		// initiate the sub-template image pack that will be use
		$sub_template_key_image = 'c0';
#
#-----[ FIND ]------------------------------------------------
#
							$sub_img_file = $sub_templates[$key]['imagefile'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
							// send back the lowest level of the images file
							$sub_template_key_image = $key;
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM