mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
- fix templates to honour $CONF['sendmail'] and $CONF['fetchmail'] settings
- fix some small undefined errors git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@769 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
4a3e525f24
commit
3271b2d822
@ -13,26 +13,5 @@
|
||||
<a href="{$CONF.footer_link|escape:"url"}">{$CONF.footer_text|escape:"url"}</a>
|
||||
{/if}
|
||||
</div>
|
||||
{*
|
||||
<!-- hundertmark smarty debug -->
|
||||
<div style="background-color:#ffa; border:1px solid #f00;">
|
||||
<a href="main.php">main</a>
|
||||
<pre>
|
||||
{assign var="url_domain" value=$smarty.get.domain}
|
||||
{assign var="url_domain" value=?domain=$url_domain}
|
||||
{$url_domain}
|
||||
{$PALANG.pFooter_logged_as}
|
||||
{$smarty.session.sessid.username}
|
||||
{$smarty.get.domain}
|
||||
|
||||
$smarty->assign ('PALANG_pFooter_logged_as', sprintf($PALANG['pFooter_logged_as'], authentication_get_username()));
|
||||
{php}
|
||||
print_r ($_SESSION);
|
||||
//phpinfo ();
|
||||
{/php}
|
||||
</pre>
|
||||
</div>
|
||||
<!-- hundertmark smarty debug -->
|
||||
*}
|
||||
</body>
|
||||
</html>
|
@ -18,10 +18,11 @@
|
||||
<body>
|
||||
<div id="login_header">
|
||||
<img id="login_header_logo" src="{$CONF.theme_logo}" alt="Logo"/>
|
||||
{if $CONF.show_header_text===YES && $CONF.header_text}
|
||||
{if $CONF.show_header_text==='YES' && $CONF.header_text}
|
||||
<h2>{$CONF.header_text}</h2>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{strip}
|
||||
{if $smarty.session.flash}
|
||||
{if $smarty.session.flash.info}
|
||||
@ -40,4 +41,4 @@
|
||||
{/if}
|
||||
{php}$_SESSION['flash'] = array();{/php}
|
||||
{/if}
|
||||
{/strip}
|
||||
{/strip}
|
||||
|
@ -13,7 +13,7 @@
|
||||
<td nowrap="nowrap"><a target="_top" href="{#url_create_mailbox#}">{$PALANG.pMenu_create_mailbox}</a></td>
|
||||
<td>{$PALANG.pMain_create_mailbox}</td>
|
||||
</tr>
|
||||
{if $CONF.sendmail===YES}
|
||||
{if $CONF.sendmail==='YES'}
|
||||
<tr>
|
||||
<td nowrap="nowrap"><a target="_top" href="{#url_sendmail#}">{$PALANG.pMenu_sendmail}</a></td>
|
||||
<td>{$PALANG.pMain_sendmail}</td>
|
||||
|
@ -46,7 +46,7 @@
|
||||
</li>
|
||||
{/strip}
|
||||
{* fetchmail *}
|
||||
{if $CONF.fetchmail}
|
||||
{if $CONF.fetchmail==='YES'}
|
||||
{strip}
|
||||
<li><a target="_top" href="{#url_fetchmail#}">{$PALANG.pMenu_fetchmail}</a>
|
||||
<ul>
|
||||
@ -57,6 +57,7 @@
|
||||
{/strip}
|
||||
{/if}
|
||||
{* sendmail *}
|
||||
{if $CONF.sendmail==='YES'}
|
||||
{strip}
|
||||
<li><a target="_top" href="{#url_sendmail#}">{$PALANG.pMenu_sendmail}</a>
|
||||
<ul>
|
||||
@ -67,10 +68,11 @@
|
||||
</ul>
|
||||
</li>
|
||||
{/strip}
|
||||
{/if}
|
||||
{* password *}
|
||||
<li><a target="_top" href="{#url_password#}">{$PALANG.pMenu_password}</a></li>
|
||||
{* backup *}
|
||||
{if $authentication_has_role.global_admin && $CONF.database_type!==pgsql && $CONF.backup===YES}
|
||||
{if $authentication_has_role.global_admin && $CONF.database_type!=='pgsql' && $CONF.backup === 'YES'}
|
||||
<li><a target="_top" href="{#url_backup#}">{$PALANG.pAdminMenu_backup}</a></li>
|
||||
{/if}
|
||||
{* viewlog *}
|
||||
|
Loading…
Reference in New Issue
Block a user