check if a variable is populated...

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@950 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
David Goodwin 14 years ago
parent 7424cb0c1a
commit 43a150941b

@ -1,6 +1,6 @@
<!-- {$smarty.template} -->
{strip}
{if $smarty.get.domain}
{if !empty($smarty.get) && !empty($smarty.get.domain)}
{*** zuweisung muss eleganter gehen ***}
{assign var="url_domain" value=$smarty.get.domain}
{assign var="url_domain" value="?domain=$url_domain"}
@ -82,7 +82,7 @@
</ul>
</div>
<br clear="all"/><br/>
{if $motd_file}
{if !empty($motd_file)}
<div id="motd">
{include file=$motd_file}
</div>

Loading…
Cancel
Save