MyShaarli/tpl/vintage
ArthurHoaro bedbb845ee Move all admin controller into a dedicated group
Also handle authentication check in a new middleware for the admin group.
2020-08-13 11:08:13 +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 New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +02:00
changetag.html New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +02:00
configure.html New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +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 New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +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 New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +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 New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +02:00
install.html New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +02:00
linklist.html New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +02:00
linklist.paging.html Move all admin controller into a dedicated group 2020-08-13 11:08:13 +02:00
loginform.html New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +02: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 New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +02:00
page.header.html Move all admin controller into a dedicated group 2020-08-13 11:08:13 +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 New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +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 New basePath: fix officiel plugin paths and vintage template 2020-07-26 14:43:10 +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>
-----------------------------------------------------