MyShaarli/tpl
ArthurHoaro 18e6796726 REST API structure using Slim framework
* REST API routes are handle by Slim.
  * Every API controller go through ApiMiddleware which handles security.
  * First service implemented `/info`, for tests purpose.
2016-12-15 10:36:00 +01:00
..
404.html fix whitespace 2016-01-22 17:24:15 +01:00
addlink.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
changepassword.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
changetag.html Use awesomplete as autocomplete lib and remove jQuery - shaarli/Shaarli#148 2015-03-12 20:27:16 +01:00
configure.html REST API structure using Slim framework 2016-12-15 10:36:00 +01:00
daily.html Apply the new ID system accros the whole codebase 2016-12-12 03:03:12 +01:00
dailyrss.html Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02:00
editlink.html Apply the new ID system accros the whole codebase 2016-12-12 03:03:12 +01:00
export.bookmarks.html Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02:00
export.html Export: allow prepending notes with the Shaarli instance's URL 2016-05-06 16:12:46 +02:00
feed.atom.html Remove new line between content tag and CDATA in ATOM feed 2016-12-02 18:37:41 +01:00
feed.rss.html Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02:00
import.html Refactor bookmark import using a generic Netscape parser 2016-08-10 01:42:44 +02:00
includes.html Add meta tag to block sending the referrer 2016-11-21 22:54:03 +01:00
install.html REST API structure using Slim framework 2016-12-15 10:36:00 +01:00
linklist.html Merge pull request #697 from ArthurHoaro/feature/ids-bis 2016-12-12 03:15:32 +01:00
linklist.paging.html Improve theme dependent plugin placeholders: 2016-12-01 11:38:21 +01:00
loginform.html Prefill the login field when the authentication has failed 2016-05-06 20:03:10 +02:00
opensearch.html Fixes #176 - Add opensearch functionality 2015-11-17 20:19:44 +01:00
page.footer.html Remove delicious from Shaarli description 2016-05-08 18:58:59 +02:00
page.header.html Improve theme dependent plugin placeholders: 2016-12-01 11:38:21 +01:00
page.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
picwall.html Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02:00
pluginsadmin.html Describe markdown HTML rendering and display a warning 2016-12-01 12:44:37 +01:00
readme.txt Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
tagcloud.html Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02:00
tools.html Disable Firefox Social in the tools section if the page is not loaded using HTTPS, as Firefox will deny the request. 2016-11-29 11:06:31 +00: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>
-----------------------------------------------------