MyShaarli/tpl/vintage
ArthurHoaro 52b503105d Improve datetime display
Use php-intl extension to display datetimes a bit more nicely, depending on the locale.

What changes:

  * the day is no longer displayed
  * day number and month are ordered according to the locale
  * the timezone is more readable (UTC+1 instead of CET)
2017-03-06 21:11:12 +01:00
..
css Move default template to vintage folder 2017-02-27 20:01:54 +01:00
images Move default template to vintage folder 2017-02-27 20:01:54 +01:00
404.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
addlink.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
changepassword.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
changetag.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
configure.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
daily.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
dailyrss.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
editlink.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
export.bookmarks.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
export.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
feed.atom.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
feed.rss.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
import.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
includes.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
install.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
linklist.html Improve datetime display 2017-03-06 21:11:12 +01:00
linklist.paging.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
loginform.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
opensearch.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
page.footer.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
page.header.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
page.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
picwall.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
pluginsadmin.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
readme.txt Move default template to vintage folder 2017-02-27 20:01:54 +01:00
tagcloud.html Move default template to vintage folder 2017-02-27 20:01:54 +01:00
tools.html Move default template to vintage folder 2017-02-27 20:01:54 +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>
-----------------------------------------------------