2009-11-05 15:55:39 +01:00
|
|
|
<!-- {$smarty.template} -->
|
|
|
|
{strip}
|
|
|
|
{include file="header.tpl"}
|
2016-10-17 18:12:14 +02:00
|
|
|
{if $smarty_template !== 'login' && $smarty_template !== 'password-recover' && $smarty_template !== 'password-change'}
|
2009-11-05 15:55:39 +01:00
|
|
|
{config_load file="menu.conf" section=$smarty_template}
|
2011-07-29 21:42:46 +02:00
|
|
|
{if $authentication_has_role.user}
|
2009-11-05 15:55:39 +01:00
|
|
|
{include file='users_menu.tpl'}
|
|
|
|
{else}
|
|
|
|
{include file='menu.tpl'}
|
|
|
|
{/if}
|
|
|
|
{/if}
|
2011-07-29 22:34:36 +02:00
|
|
|
<br clear="all" />
|
|
|
|
|
|
|
|
{if $authentication_has_role.user && $CONF.motd_user}
|
|
|
|
<div id="motd">{$CONF.motd_user}</div>
|
|
|
|
{elseif $authentication_has_role.global_admin && $CONF.motd_superadmin}
|
|
|
|
<div id="motd">{$CONF.motd_superadmin}</div>
|
|
|
|
{elseif $authentication_has_role.admin && $CONF.motd_admin}
|
|
|
|
<div id="motd">{$CONF.motd_admin}</div>
|
|
|
|
{/if}
|
|
|
|
|
2011-07-18 23:56:08 +02:00
|
|
|
{include file='flash_error.tpl'}
|
2009-11-05 15:55:39 +01:00
|
|
|
{if $smarty_template}
|
|
|
|
{include file="$smarty_template.tpl"}
|
|
|
|
{else}
|
2013-11-01 14:35:09 +01:00
|
|
|
<h3>Template not found</h3>({$smarty.server.PHP_SELF|escape:"html"})
|
2009-11-05 15:55:39 +01:00
|
|
|
{/if}
|
2011-02-13 16:56:43 +01:00
|
|
|
{include file='footer.tpl'}
|
2011-02-08 00:30:17 +01:00
|
|
|
{/strip}
|