fix undefined var check before login - sessid is not set etc

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1237 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
David Goodwin committed 2011-10-24 22:24:49 +00:00
1 parent 563e401c92
commit 89f66053a9
1 file changed
+6 -4
+6 -4
View File
@@ -3,10 +3,12 @@
<a target="_blank" href="http://postfixadmin.com/">Postfix Admin {$version}</a>
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a target="_blank" href="http://postfixadmin.sf.net/update-check.php?version={$version|escape:"url"}">{$PALANG.check_update}</a>
{if $smarty.session.sessid.username}
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
{$PALANG.pFooter_logged_as|replace:"%s":$smarty.session.sessid.username}
{/if}
{if isset($smarty.session.sessid)}
{if $smarty.session.sessid.username}
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
{$PALANG.pFooter_logged_as|replace:"%s":$smarty.session.sessid.username}
{/if}
{/if}
{if $CONF.show_footer_text == 'YES' && $CONF.footer_link}
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="{$CONF.footer_link}">{$CONF.footer_text|escape}</a>