MyShaarli/tpl
Florian Eula ed5b38ddd2 Feature: enable/disable permalinks for RSS
The option to see the shortlinks or permalinks has been added to the configuration panel. It is a simple checkbox
This option is disabled by default (meaning that shortlinks are the default)
Updated writeConfig() to save this option
Also fixed a slight typo in config.html.

Removed useless CSS & fixed a comment

Enabled permalinks for the ATOM feed and fixed the isPermaLink attribute for the <guid> tag

Reverted to default behavior and clarified its meaning
EnableRssPermalinks is an oddly behaving option: when enabled, it shows a
permalink in the description and a full link in the element title, and
swaps it around when disabled. This clarifies the option for end-users
Also, moved enable_rss_permalinks to $GLOBALS['config'] because it is a
config option.

fix indent
2015-02-07 03:21:30 +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 * removed the language attribute on the script element since it is obsolete and we can safely omit it. 2015-01-09 09:47:48 +01:00
configure.html Feature: enable/disable permalinks for RSS 2015-02-07 03:21:30 +01:00
daily.html daily: display link timestamps 2015-01-15 00:05:26 +01:00
dailyrss.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
editlink.html Merge pull request #99 from pikzen/license-version 2015-01-26 13:41:06 +01:00
export.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
import.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
includes.html w3c: fix HTML syntax errors 2015-01-20 02:53:53 +01:00
install.html w3c: fix HTML syntax errors 2015-01-20 02:53:53 +01:00
linklist.html Merge pull request #99 from pikzen/license-version 2015-01-26 13:41:06 +01:00
linklist.paging.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
loginform.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
page.footer.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
page.header.html CSS: remove hardcoded style from templates 2014-12-03 19:28:43 +01:00
page.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
picwall.html Merge pull request #99 from pikzen/license-version 2015-01-26 13:41:06 +01:00
picwall2.html Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
readme.txt Initial commit (version 0.0.40 beta) 2013-02-26 10:09:41 +01:00
tagcloud.html W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64): 2015-01-08 10:15:05 +01:00
tools.html Feature: enable/disable permalinks for RSS 2015-02-07 03:21:30 +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>
-----------------------------------------------------