MyShaarli/tpl
ArthurHoaro fe16b01edb * removed the language attribute on the script element since it is obsolete and we can safely omit it.
* make QRCode JS works with IE :
  * behave as a normal link if canvas aren't supported (<=IE8)
  * default parameter values in JS aren't widely supported (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters ), use this method instead: http://stackoverflow.com/a/148918/1484919
  * dataset isn't supported in IE9 use getAttribute instead
  * addEventListener works with IE9+ and other browsers
2015-01-09 09:47:48 +01:00
..
addlink.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
changepassword.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
changetag.html * removed the language attribute on the script element since it is obsolete and we can safely omit it. 2015-01-09 09:47:48 +01:00
configure.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
daily.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
dailyrss.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
editlink.html * removed the language attribute on the script element since it is obsolete and we can safely omit it. 2015-01-09 09:47:48 +01:00
export.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
import.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
includes.html uniform if syntax 2013-10-23 23:21:36 +02:00
install.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
linklist.html * removed the language attribute on the script element since it is obsolete and we can safely omit it. 2015-01-09 09:47:48 +01:00
linklist.paging.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
loginform.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
page.footer.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
page.header.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
page.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
picwall.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
picwall2.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
readme.txt Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
tagcloud.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
tools.html bookmarklet: add ✚ sign to make it more recognizable in toolbars 2014-12-05 20:26:51 +01:00

===== Shaarli template organisation =====

Any Shaarli page should conform to this RainTPL template:

-----------------------------------------------------
<html>
<head>{include="includes"}</head>
<body>
	<div id="pageheader">{include="page.header"}</div>
    You body goes here...
    {include="page.footer"}
</body>
</html>
-----------------------------------------------------

If you want to also add something in the page header (in the dark area), do it here:

<div id="pageheader">{include="page.header"}My menu goes here...</div>


Example: "Add new link" form:
-----------------------------------------------------
<html>
<head>{include="includes"}</head>
<body onload="document.addform.post.focus();">
<div id="pageheader">
	{include="page.header"}
	<div id="headerform">
		<form method="GET" action="" name="addform" class="addform">
			<input type="text" name="post" style="width:50%;"> 
			<input type="submit" value="Add link" class="bigbutton">
		</form>
	</div>
</div>
{include="page.footer"}
</body>
</html>
-----------------------------------------------------