If you upgrade from Swap Factory v2.2.1 or below to version v2.2.2 or above and choose to NOT overwrite templates, then you will have to do the following precise modifications for compatibility reasons.
replace:
{include file="js/t_javascript_maps.tpl" googleMapX=`$googleMapX` googleMapY=`$googleMapY`}
with:
{include file="js/t_javascript_maps.tpl" googleMapX="`$googleMapX`" googleMapY="`$googleMapY`"}
replace:
{include file='js/t_javascript_maps.tpl' googleMapX=`$ad->googlex` googleMapY=`$ad->googley`}
with:
{include file='js/t_javascript_maps.tpl' googleMapX="`$ad->googlex`" googleMapY="`$ad->googley`"}
replace:
{include file='js/t_javascript_maps.tpl' googleMapX=`$user->googleMaps_x` googleMapY=`$user->googleMaps_x`}
with:
{include file='js/t_javascript_maps.tpl' googleMapX="`$user->googleMaps_x`" googleMapY="`$user->googleMaps_y`"}
replace:
{if ($user->googleMaps_x && $user->googleMaps_y)} {include file='js/t_javascript_maps.tpl' googleMapX=`$user->googleMaps_x` googleMapY=`$user->googleMaps_x`}
with:
{if (!empty($user->googleMaps_x) && !empty($user->googleMaps_y))} {include file='js/t_javascript_maps.tpl' googleMapX=$user->googleMaps_x googleMapY=$user->googleMaps_x}
replace:
{assign var=nrt value=`$nr_columns-$smarty.foreach.item_loop.index%$nr_columns-1`}
with:
{assign var=nrt value=$nr_columns-$smarty.foreach.item_loop.index%$nr_columns-1}