public static function templateHook($name, &$contents, array $params, XenForo_Template_Abstract $template)
{
$globalParams = $template->getParams();
if ($globalParams['visitor']['permissions']['XenLoginSecurity']['canUseLoginSecurity'] == true)
{
switch ($name)
{
case 'account_wrapper_sidebar_settings':
$contents .= $template->create('xlsec_account_sidebar_link', $globalParams);
break;
case 'navigation_visitor_tab_links1':
$contents .= $template->create('xls_navigation_visitor_tab_links1', $globalParams);
break;
}
}