MyShaarli/tpl/default
2017-01-14 16:43:32 +01:00
..
css Fix permalink image alignement in daily page 2017-01-05 16:16:27 +01:00
images Minor improvements regarding #705 (coding style, unit tests, etc.) 2017-01-05 16:16:23 +01:00
404.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
addlink.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
changepassword.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
changetag.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
configure.html Updater: keep custom theme preference with the new theme setting 2017-01-05 16:16:27 +01:00
daily.html Minor improvements regarding #705 (coding style, unit tests, etc.) 2017-01-05 16:16:23 +01:00
dailyrss.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
editlink.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
export.bookmarks.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
export.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
feed.atom.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
feed.rss.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
import.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
includes.html Move user.css to data folder 2017-01-14 16:43:32 +01:00
install.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
linklist.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
linklist.paging.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
loginform.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
opensearch.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
page.footer.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
page.header.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
page.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
picwall.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
pluginsadmin.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
readme.txt Change templates set through administration UI 2017-01-05 12:04:02 +01:00
tagcloud.html Change templates set through administration UI 2017-01-05 12:04:02 +01:00
tools.html Change templates set through administration UI 2017-01-05 12:04:02 +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>
-----------------------------------------------------