MyShaarli/tpl
VirtualTam dec5fe9c69 Cleanup: explicitely loop over PHP variables in templates
Relates to https://github.com/shaarli/Shaarli/issues/613

Before: {loop="someVariable"}
After:  {loop="$someVariable"}

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2016-10-16 17:41:08 +02: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 Fix variable in configure.php 2016-07-10 10:42:21 +02:00
daily.html Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02:00
dailyrss.html Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02:00
editlink.html Rename configuration keys and fix GLOBALS in templates 2016-06-11 09:30:56 +02: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 Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02: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 Fixes #176 - Add opensearch functionality 2015-11-17 20:19:44 +01:00
install.html shaarli/Shaarli#34: Make update check optional 2015-02-20 22:49:41 +01:00
linklist.html Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02:00
linklist.paging.html Template upgrade to handle plugin zones 2015-11-07 15:27:22 +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 Cleanup: explicitely loop over PHP variables in templates 2016-10-16 17:41:08 +02: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 Bugfix: display plugin parameter description only if it exists 2016-10-14 12:48:01 +02: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 Bugfix: enable change password if open shaarli is disabled 2016-08-06 14:38:47 +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>
-----------------------------------------------------