This repository has been archived on 2024-06-20. You can view files and clone it, but cannot push or open issues or pull requests.
Shaarlet/tpl
2013-02-27 12:24:51 +01:00
..
addlink.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
changepassword.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
changetag.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
configure.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01: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 Première version de MyOnSni 2013-02-27 12:00:16 +01:00
export.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
findSnippet.html Première version de MyOnSni 2013-02-27 12:00:16 +01:00
import.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
includes.html Première version de MyOnSni 2013-02-27 12:00:16 +01:00
index.php Première version de MyOnSni 2013-02-27 12:00:16 +01:00
install.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
linklist.html [add] Print domain name for @via link 2013-02-27 12:24:51 +01:00
linklist.paging.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
loginform.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
page.footer.html Première version de MyOnSni 2013-02-27 12:00:16 +01:00
page.header.html Première version de MyOnSni 2013-02-27 12:00:16 +01:00
page.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
picwall.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
picwall2.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
readme.txt Première version de MyOnSni 2013-02-27 12:00:16 +01:00
tagcloud.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
tools.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +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>
-----------------------------------------------------