MyShaarli/tpl
2015-07-16 17:12:59 +02:00
..
addlink.html [upd] replace js focus by html5 autofocus 2015-07-03 10:08:37 +02:00
changepassword.html [upd] replace js focus by html5 autofocus 2015-07-03 10:08:37 +02:00
changetag.html [chg] remove language="JavaScript" 2015-07-03 09:50:53 +02:00
configure.html [upd] update README and go to myShaarli 1.0.0 beta 2015-07-08 12:00:55 +02:00
daily.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
dailyrss.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
editlink.html [chg] remove language="JavaScript" 2015-07-03 09:50:53 +02:00
export.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
import.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
includes.html [add] new logo and news favicon 2015-07-16 17:12:59 +02:00
install.html shaarli/Shaarli#34: Make update check optional 2015-05-05 15:36:46 +02:00
linklist.html [add] new theme and adapte linklist template 2015-07-03 13:48:53 +02:00
linklist.paging.html [upd] clean up id and proper css in paging template 2015-07-03 14:32:04 +02:00
loginform.html [upd] refactor login form 2015-07-03 10:22:39 +02:00
page.footer.html [chg] remove language="JavaScript" 2015-07-03 09:50:53 +02:00
page.header.html [upd] fix all div width 2015-05-05 15:10:32 +02:00
page.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
picwall.html Fix bad merge 2013-09-27 10:02:20 +02: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 [chg] cleanup html structure 2015-07-03 10:02:58 +02:00
tools.html [upd] update README and go to myShaarli 1.0.0 beta 2015-07-08 12:00:55 +02: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>
-----------------------------------------------------