fix undefined variable

This commit is contained in:
Sebijk 2023-06-07 04:05:02 +02:00
parent 0c18bca69f
commit 5baea95fcd
2 changed files with 6 additions and 6 deletions

View file

@ -72,7 +72,7 @@
{/if}
<tr>
<td colspan="{if $templatePrefs.showCheckboxes}7{else}6{/if}" class="folderGroup">
<a style="display:block;cursor:pointer;" onclick="toggleGroup({$mailID},'{$mail.groupID}');">&nbsp;<img id="groupImage_{$mailID}" src="{$tpldir}images/{if $smarty.cookies.toggleGroup.$mailGroupID=='closed'}expand{else}contract{/if}.png" width="11" height="11" border="0" align="absmiddle" alt="" />
<a style="display:block;cursor:pointer;" onclick="toggleGroup({$mailID},'{if isset($mail.groupID)}{$mail.groupID}{/if}');">&nbsp;<img id="groupImage_{$mailID}" src="{$tpldir}images/{if $smarty.cookies.toggleGroup.$mailGroupID=='closed'}expand{else}contract{/if}.png" width="11" height="11" border="0" align="absmiddle" alt="" />
&nbsp;{$mail.text} {if $mail.date && $mail.date!=-1}({date timestamp=$mail.date dayonly=true}){/if}</a>
</td>
</tr>

View file

@ -48,23 +48,23 @@
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li{if $smarty.request.action=='login'} class="active"{/if}><a href="index.php">{lng p="home"}</a></li>
<li{if isset($smarty.request.action) && $smarty.request.action=='login'} class="active"{/if}><a href="index.php">{lng p="home"}</a></li>
{foreach from=$pluginUserPages item=item}{if $item.top&&$item.after=='login'}
<li{if $item.active} class="active"{/if}><a href="{$item.link}">{$item.text}</a></li>
{/if}{/foreach}
{if $_regEnabled||(!$templatePrefs.hideSignup)}<li{if $smarty.request.action=='signup'} class="active"{/if}><a href="{if $ssl_signup_enable}{$ssl_url}{/if}index.php?action=signup">{lng p="signup"}</a></li>{/if}
{if $_regEnabled||(!$templatePrefs.hideSignup)}<li{if isset($smarty.request.action) && $smarty.request.action=='signup'} class="active"{/if}><a href="{if $ssl_signup_enable}{$ssl_url}{/if}index.php?action=signup">{lng p="signup"}</a></li>{/if}
{foreach from=$pluginUserPages item=item}{if $item.top&&$item.after=='signup'}
<li{if $item.active} class="active"{/if}><a href="{$item.link}">{$item.text}</a></li>
{/if}{/foreach}
<li{if $smarty.request.action=='faq'} class="active"{/if}><a href="index.php?action=faq">{lng p="faq"}</a></li>
<li{if isset($smarty.request.action) && $smarty.request.action=='faq'} class="active"{/if}><a href="index.php?action=faq">{lng p="faq"}</a></li>
{foreach from=$pluginUserPages item=item}{if $item.top&&$item.after=='faq'}
<li{if $item.active} class="active"{/if}><a href="{$item.link}">{$item.text}</a></li>
{/if}{/foreach}
<li{if $smarty.request.action=='tos'} class="active"{/if}><a href="index.php?action=tos">{lng p="tos"}</a></li>
<li{if isset($smarty.request.action) && $smarty.request.action=='tos'} class="active"{/if}><a href="index.php?action=tos">{lng p="tos"}</a></li>
{foreach from=$pluginUserPages item=item}{if $item.top&&(!$item.after||$item.after=='tos')}
<li{if $item.active} class="active"{/if}><a href="{$item.link}">{$item.text}</a></li>
{/if}{/foreach}
<li{if $smarty.request.action=='imprint'} class="active"{/if}><a href="index.php?action=imprint">{lng p="contact"}</a></li>
<li{if isset($smarty.request.action) && $smarty.request.action=='imprint'} class="active"{/if}><a href="index.php?action=imprint">{lng p="contact"}</a></li>
</ul>
<form action="{if $ssl_login_enable||($welcomeBack&&$smarty.cookies.bm_savedSSL)}{$ssl_url}{/if}index.php?action=login" method="post" id="loginFormPopover">
<input type="hidden" name="do" value="login" />