You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.tpl 827B

1234567891011121314151617181920212223242526272829
  1. <!-- {$smarty.template} -->
  2. {strip}
  3. {include file="header.tpl"}
  4. {if $smarty_template != 'login'}
  5. {config_load file="menu.conf" section=$smarty_template}
  6. {if $authentication_has_role.user}
  7. {include file='users_menu.tpl'}
  8. {else}
  9. {include file='menu.tpl'}
  10. {/if}
  11. {/if}
  12. <br clear="all" />
  13. {if $authentication_has_role.user && $CONF.motd_user}
  14. <div id="motd">{$CONF.motd_user}</div>
  15. {elseif $authentication_has_role.global_admin && $CONF.motd_superadmin}
  16. <div id="motd">{$CONF.motd_superadmin}</div>
  17. {elseif $authentication_has_role.admin && $CONF.motd_admin}
  18. <div id="motd">{$CONF.motd_admin}</div>
  19. {/if}
  20. {include file='flash_error.tpl'}
  21. {if $smarty_template}
  22. {include file="$smarty_template.tpl"}
  23. {else}
  24. <h3>Template not found</h3>({$smarty.server.PHP_SELF|escape:"html"})
  25. {/if}
  26. {include file='footer.tpl'}
  27. {/strip}