You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!-- {$smarty.template} -->
|
|
|
|
{strip}
|
|
|
|
{include file="header.tpl"}
|
|
|
|
{if $smarty_template != 'login'}
|
|
|
|
{config_load file="menu.conf" section=$smarty_template}
|
|
|
|
{if $authentication_has_role.user}
|
|
|
|
{include file='users_menu.tpl'}
|
|
|
|
{else}
|
|
|
|
{include file='menu.tpl'}
|
|
|
|
{/if}
|
|
|
|
{/if}
|
|
|
|
<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}
|
|
|
|
|
|
|
|
{include file='flash_error.tpl'}
|
|
|
|
{if $smarty_template}
|
|
|
|
{include file="$smarty_template.tpl"}
|
|
|
|
{else}
|
|
|
|
<h3>Template not found</h3>({php}print $_SERVER ['PHP_SELF'];{/php})
|
|
|
|
{/if}
|
|
|
|
{include file='footer.tpl'}
|
|
|
|
{/strip}
|