readme.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ===== Shaarli template organisation =====
  2. Any Shaarli page should conform to this RainTPL template:
  3. -----------------------------------------------------
  4. <html>
  5. <head>{include="includes"}</head>
  6. <body>
  7. <div id="pageheader">{include="page.header"}</div>
  8. You body goes here...
  9. {include="page.footer"}
  10. </body>
  11. </html>
  12. -----------------------------------------------------
  13. If you want to also add something in the page header (in the dark area), do it here:
  14. <div id="pageheader">{include="page.header"}My menu goes here...</div>
  15. Example: "Add new link" form:
  16. -----------------------------------------------------
  17. <html>
  18. <head>{include="includes"}</head>
  19. <body onload="document.addform.post.focus();">
  20. <div id="pageheader">
  21. {include="page.header"}
  22. <div id="headerform">
  23. <form method="GET" action="" name="addform" class="addform">
  24. <input type="text" name="post" style="width:50%;">
  25. <input type="submit" value="Add link" class="bigbutton">
  26. </form>
  27. </div>
  28. </div>
  29. {include="page.footer"}
  30. </body>
  31. </html>
  32. -----------------------------------------------------