<?php
/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*\
<< ******************************************************************** >>
<< * ---------------------------------------------------------------- * >>
<< * Copyright ©2011-2012 Ozzy47                                      * >>
<< * All Rights Reserved. 											  * >>
<< * This file may not be redistributed in whole or significant part. * >>
<< * ---------------------------------------------------------------- * >>
<< * You are not allowed to use this on your server unless the files  * >>
<< * you downloaded were done so with permission.					  * >>
<< * ---------------------------------------------------------------- * >>
<< ******************************************************************** >>
\*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*/
	
		//Cache floating notifs template globally
		$cache = array_merge($cache, array
			(
				'dbtech_vbsuper_pm_notif_floating_javascript',
				'dbtech_vbsuper_pm_notif_floating',
				'dbtech_vbsuper_pm_notif_sticky_javascript',
				'dbtech_vbsuper_pm_notif_sticky',
				'dbtech_vbsuper_pm_usercp_nav_link',
				'dbtech_vbsuper_pm_quote_pm_link',
				'dbtech_vbsuper_pm_post_quote_link',
				'dbtech_vbsuper_pm_show_pm',
				'dbtech_vbsuper_pm_reply_to_all',
				'dbtech_vbsuper_pm_post_pm_icon',
				'dbtech_vbsuper_pm_notif_blink',
				'dbtech_vbsuper_pm_notif_notice',
				'dbtech_vbsuper_pm_newpm'			
			)
		);

	/*DBTECH_PRO_START*/
	if (THIS_SCRIPT == 'private')
	{
		$cache[] = 'postbit_attachment';
		$cache[] = 'postbit_attachmentimage';
		$cache[] = 'postbit_attachmentmoderated';
		$cache[] = 'postbit_attachmentthumbnail';
		$cache[] = 'newpost_attachment';
	}
	/*DBTECH_PRO_END*/

	if (in_array('usercp_nav_folderbit', (array)$cache) OR in_array('usercp_nav_folderbit', (array)$globaltemplates) || (THIS_SCRIPT == 'vbsuper_pm'))
	{
		$cache = array_merge($cache, array
			(
				'dbtech_vbsuper_pm_options', 
				'dbtech_vbsuper_pm_warning_options',
				'dbtech_vbsuper_pm_autoreply_options',
				'dbtech_vbsuper_pm_blocker_options',
				'USERCP_SHELL',
				'usercp_nav_folderbit',
				'blog_usercp_nav_link',
				'dbtech_vbsuper_pm_messagelist',
				'dbtech_vbsuper_pm_quota_percentage',
				'dbtech_vbsuper_pm_notif_options',
				'dbtech_vbsuper_pm_post_quote_options',
				'dbtech_vbsuper_pm_quote_pm_options'			
			)
		);
	}
	
	if ($vbulletin->options['dbtech_vbsuper_pm_view_pm_view'] == 1 AND (THIS_SCRIPT == 'private') OR (THIS_SCRIPT == 'usercp'))
	{
       $cache[] = 'dbtech_vbsuper_pm_view_mouseover';
 	}
  	//else // it equals 2
  	if ($vbulletin->options['dbtech_vbsuper_pm_view_pm_view'] == 2 AND (THIS_SCRIPT == 'private') OR (THIS_SCRIPT == 'usercp'))
  	{
       $cache[] = 'dbtech_vbsuper_pm_view_threaded';
	}  	

/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*\
<< ********************************************************************* >>
<< * Created: 09:30, Fri June 8th 2012                                 * >>
<< * VER: 1.0.0                                                        * >>
<< ********************************************************************* >>
\*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*/
?>