MyShaarli/tpl
2015-07-03 09:50:53 +02:00
..
addlink.html [chg] change rename/delete tag form 2015-05-20 10:40:51 +02:00
changepassword.html [chg] change rename/delete tag form 2015-05-20 10:40:51 +02:00
changetag.html [chg] remove language="JavaScript" 2015-07-03 09:50:53 +02:00
configure.html [add] new configuration page 2015-07-01 12:20:41 +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 configuration page 2015-07-01 12:20:41 +02:00
install.html shaarli/Shaarli#34: Make update check optional 2015-05-05 15:36:46 +02:00
linklist.html [add] new configuration page 2015-07-01 12:20:41 +02:00
linklist.paging.html [fix] duplicate id paging_current in paging 2015-05-20 12:30:54 +02:00
loginform.html Sync with SebSauvage repo 2013-09-27 09:38:01 +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 Sync with SebSauvage repo 2013-09-27 09:38:01 +02:00
tools.html [chg] better html structure 2015-06-29 15:19:32 +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>
-----------------------------------------------------