mainpage.httmpl 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <html>
  2. <head>
  3. <title><!-- TMPL_VAR title --></title>
  4. <link rel='StyleSheet' href='/main.css' />
  5. <script src='/main.js'></script>
  6. </head>
  7. <body>
  8. <div class='nav'>
  9. <ul>
  10. <!-- TMPL_LOOP nav -->
  11. <!-- TMPL_IF heading -->
  12. <!-- TMPL_IF href -->
  13. <h2><a href='<!-- TMPL_VAR href -->'><!-- TMPL_VAR heading --></a></h2>
  14. <!-- TMPL_ELSE -->
  15. <h2><!-- TMPL_VAR heading --></h2>
  16. <!-- /TMPL_IF -->
  17. <!-- TMPL_ELSE -->
  18. <li><a href='<!-- TMPL_VAR href -->'><!-- TMPL_VAR title --></a></li>
  19. <!-- /TMPL_IF -->
  20. <!-- /TMPL_LOOP -->
  21. <hr />
  22. <form action='search'
  23. method='post'>
  24. <input type='text'
  25. name='terms' />
  26. <input type='hidden'
  27. name='page'
  28. value='1' />
  29. <input type='submit'
  30. value='Search' />
  31. </form>
  32. <li><a href='search/advanced'>Advanced Search</a></li>
  33. <hr />
  34. <li><a href='/'>Main</a></li>
  35. <li><a href='/help'>Help</a></li>
  36. <li><a href='/logout'>Logout</a></li>
  37. </ul>
  38. </div>
  39. <div class='main-content'>
  40. <h1><!-- TMPL_VAR title --></h1>
  41. <!-- TMPL_VAR content -->
  42. </div>
  43. </body>
  44. </html>