mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
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:
1 parent
563e401c92
commit
89f66053a9
1 file changed
+6
-4
@@ -3,10 +3,12 @@
|
||||
<a target="_blank" href="http://postfixadmin.com/">Postfix Admin {$version}</a>
|
||||
|
|
||||
<a target="_blank" href="http://postfixadmin.sf.net/update-check.php?version={$version|escape:"url"}">{$PALANG.check_update}</a>
|
||||
{if $smarty.session.sessid.username}
|
||||
|
|
||||
{$PALANG.pFooter_logged_as|replace:"%s":$smarty.session.sessid.username}
|
||||
{/if}
|
||||
{if isset($smarty.session.sessid)}
|
||||
{if $smarty.session.sessid.username}
|
||||
|
|
||||
{$PALANG.pFooter_logged_as|replace:"%s":$smarty.session.sessid.username}
|
||||
{/if}
|
||||
{/if}
|
||||
{if $CONF.show_footer_text == 'YES' && $CONF.footer_link}
|
||||
|
|
||||
<a href="{$CONF.footer_link}">{$CONF.footer_text|escape}</a>
|
||||
|
||||
Reference in new issue
Block a user