MyShaarli/tpl/vintage
2020-07-23 21:19:21 +02:00
..
404.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
addlink.html Use multi-level routes for existing controllers instead of 1 level everywhere 2020-07-23 21:19:21 +02:00
changepassword.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
changetag.html Webpack / Update front paths in template files 2018-03-28 19:01:17 +02:00
configure.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
daily.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
dailyrss.html Process Daily RSS feed through Slim controller 2020-07-23 21:19:21 +02:00
editlink.html Fix bookmarklet with new routes 2020-07-23 21:19:21 +02:00
error.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
export.bookmarks.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
export.html Process bookmark exports through Slim controllers 2020-07-23 21:19:21 +02:00
feed.atom.html Process OpenSearch controller through Slim 2020-07-23 21:19:21 +02:00
feed.rss.html Process OpenSearch controller through Slim 2020-07-23 21:19:21 +02:00
import.html Process bookmarks import through Slim controller 2020-07-23 21:19:21 +02:00
includes.html Use multi-level routes for existing controllers instead of 1 level everywhere 2020-07-23 21:19:21 +02:00
install.html Apply the new timezone template variables to the vintage theme 2017-04-04 18:44:24 +02:00
linklist.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
linklist.paging.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
loginform.html Render login page through Slim controller 2020-01-26 11:34:14 +01:00
opensearch.html Use multi-level routes for existing controllers instead of 1 level everywhere 2020-07-23 21:19:21 +02:00
page.footer.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
page.header.html Use multi-level routes for existing controllers instead of 1 level everywhere 2020-07-23 21:19:21 +02:00
page.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
picwall.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
pluginsadmin.html Process plugins administration page through Slim controllers 2020-07-23 21:19:21 +02:00
readme.txt Move default template to vintage folder 2017-02-27 20:01:54 +01:00
tag.cloud.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
thumbnails.html Explicitly define base and asset path in templates 2020-07-23 21:19:21 +02:00
tools.html Process plugins administration page through Slim controllers 2020-07-23 21:19:21 +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>
-----------------------------------------------------