您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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}