Merge pull request #1755 from marcoAntonioNina/BUG-11984

BUG-11984 No se muestra el menu horizontal en el case tracker... SOLVED
This commit is contained in:
julceslauhub
2013-05-24 10:24:15 -07:00
2 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
<td id="pm_header" valign="top">
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
{if $user_logged neq ''}
{if $user_logged neq '' or $tracker neq ''}
<td width="50%" rowspan="2" valign="center"><img src="{$logo_company}"/></td>
<td width="50%" height="16" align="right" valign="top">
<div align="right" class="logout">
@@ -44,7 +44,7 @@
<td>
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
<tr>
{if $user_logged neq ''}
{if $user_logged neq '' or $tracker neq ''}
<td width="100%" class="mainMenuBG" style="height:25px">
{include file="$tpl_menu"}
</td>

View File

@@ -713,6 +713,7 @@ class SkinEngine
$switch_interface = isset($_SESSION['user_experience']) && $_SESSION['user_experience'] == 'SWITCHABLE';
$smarty->assign('user_logged', (isset($_SESSION['USER_LOGGED'])? $_SESSION['USER_LOGGED'] : ''));
$smarty->assign('tracker', (SYS_COLLECTION == 'tracker') ? ( ($G_PUBLISH->Parts[0]['File'] != 'tracker/login' ) ? true : '') : '');
$smarty->assign('switch_interface', $switch_interface);
$smarty->assign('switch_interface_label', G::LoadTranslation('ID_SWITCH_INTERFACE'));
$smarty->assign('rolename', isset($_SESSION['USR_ROLENAME']) ? $_SESSION['USR_ROLENAME'] . '' : '');