#################################################################
## Title:	Add ChatBox link into overall header
## Author:	Smartor <smartor_xp@hotmail.com> - http://smartor.is-root.com
##
## Installation Level:	Easy
## Installation Time:	5 Minutes
##
## Files To Edit: 2
##	includes/page_header.php
##	templates/subSilver/overall_header.tpl
##
## Included Files: N/A
##
#################################################################
## Author Notes:
##
#################################################################

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

#
#-----[ FIND ]----------------------------------------
#
&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span>

#
#-----[ BEFORE, ADD ]---------------------------------
# begin a new line first

<!-- BEGIN switch_user_logged_in -->
&nbsp;<a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,width=540,height=450')" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" hspace="3" />Chat</a></span>&nbsp;
<!-- END switch_user_logged_in -->

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

#
#-----[ FIND ]----------------------------------------
#
$template->assign_vars(array(

#
#-----[ AFTER, ADD ]----------------------------------
#
	'S_JOIN_CHAT' => append_sid("chatbox_mod/chatbox.$phpEx"),
	'CHATBOX_NAME' => $userdata['user_id'] . '_ChatBox',

#
#-----[ SAVE/UPLOAD ALL FILES ]---------------------------------
#