From 450342737ced8ef2864b4f83a4107a7fafcc4add Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20SAUVAGE?= Date: Tue, 26 Feb 2013 10:09:41 +0100 Subject: Initial commit (version 0.0.40 beta) --- tpl/addlink.html | 16 ++++++++++ tpl/changepassword.html | 15 ++++++++++ tpl/changetag.html | 16 ++++++++++ tpl/configure.html | 21 +++++++++++++ tpl/daily.html | 63 +++++++++++++++++++++++++++++++++++++++ tpl/dailyrss.html | 8 +++++ tpl/editlink.html | 28 ++++++++++++++++++ tpl/export.html | 15 ++++++++++ tpl/import.html | 21 +++++++++++++ tpl/includes.html | 10 +++++++ tpl/install.html | 21 +++++++++++++ tpl/linklist.html | 76 ++++++++++++++++++++++++++++++++++++++++++++++++ tpl/linklist.paging.html | 20 +++++++++++++ tpl/loginform.html | 26 +++++++++++++++++ tpl/page.footer.html | 20 +++++++++++++ tpl/page.header.html | 26 +++++++++++++++++ tpl/page.html | 9 ++++++ tpl/picwall.html | 24 +++++++++++++++ tpl/picwall2.html | 19 ++++++++++++ tpl/readme.txt | 42 ++++++++++++++++++++++++++ tpl/tagcloud.html | 15 ++++++++++ tpl/tools.html | 19 ++++++++++++ 22 files changed, 530 insertions(+) create mode 100644 tpl/addlink.html create mode 100644 tpl/changepassword.html create mode 100644 tpl/changetag.html create mode 100644 tpl/configure.html create mode 100644 tpl/daily.html create mode 100644 tpl/dailyrss.html create mode 100644 tpl/editlink.html create mode 100644 tpl/export.html create mode 100644 tpl/import.html create mode 100644 tpl/includes.html create mode 100644 tpl/install.html create mode 100644 tpl/linklist.html create mode 100644 tpl/linklist.paging.html create mode 100644 tpl/loginform.html create mode 100644 tpl/page.footer.html create mode 100644 tpl/page.header.html create mode 100644 tpl/page.html create mode 100644 tpl/picwall.html create mode 100644 tpl/picwall2.html create mode 100644 tpl/readme.txt create mode 100644 tpl/tagcloud.html create mode 100644 tpl/tools.html (limited to 'tpl') diff --git a/tpl/addlink.html b/tpl/addlink.html new file mode 100644 index 00000000..853715dc --- /dev/null +++ b/tpl/addlink.html @@ -0,0 +1,16 @@ + + +{include="includes"} + + +{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/changepassword.html b/tpl/changepassword.html new file mode 100644 index 00000000..48cf5fa3 --- /dev/null +++ b/tpl/changepassword.html @@ -0,0 +1,15 @@ + + +{include="includes"} + + +{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/changetag.html b/tpl/changetag.html new file mode 100644 index 00000000..b0bd0d06 --- /dev/null +++ b/tpl/changetag.html @@ -0,0 +1,16 @@ + + +{include="includes"} + + +{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/configure.html b/tpl/configure.html new file mode 100644 index 00000000..00c41f28 --- /dev/null +++ b/tpl/configure.html @@ -0,0 +1,21 @@ + + +{include="includes"} + + +{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/daily.html b/tpl/daily.html new file mode 100644 index 00000000..4bc8568b --- /dev/null +++ b/tpl/daily.html @@ -0,0 +1,63 @@ + + +{include="includes"} + + +
+
+ All links of one day
in a single page.
+ {if="$previousday"} <Previous day{else}<Previous day{/if} + - + {if="$nextday"}Next day>{else}Next day>{/if} +

+ Daily RSS Feed +
+
The Daily Shaarli
+
——————————— {$day} ———————————
+
+ + {if="$linksToDisplay"} +
+ {loop="col1"} +
+
permalink
+ {if="$value.tags"}
{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}
{/if} + + {if="$value.thumbnail"}
{$value.thumbnail}
{/if} +
{$value.formatedDescription}
+
+ {/loop} +
+ +
+ {loop="col2"} +
+
permalink
+ {if="$value.tags"}
{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}
{/if} + + {if="$value.thumbnail"}
{$value.thumbnail}
{/if} +
{$value.formatedDescription}
+
+ {/loop} +
+ +
+ {loop="col3"} +
+
permalink
+ {if="$value.tags"}
{loop="value.taglist"}{$value|htmlspecialchars} - {/loop}
{/if} + + {if="$value.thumbnail"}
{$value.thumbnail}
{/if} +
{$value.formatedDescription}
+
+ {/loop} +
+ {else} +
No articles on this day.
+ {/if} +
+
-
+
+{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/dailyrss.html b/tpl/dailyrss.html new file mode 100644 index 00000000..436e1cd2 --- /dev/null +++ b/tpl/dailyrss.html @@ -0,0 +1,8 @@ +{loop="links"} +

{$value.title|htmlspecialchars}

+ {if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{$value.localdate|htmlspecialchars} - {/if}{if="$value.tags"}{$value.tags|htmlspecialchars}{/if}
+ {$value.url|htmlspecialchars}

+ {if="$value.thumbnail"}{$value.thumbnail}{/if}
+ {if="$value.description"}{$value.formatedDescription}{/if} +


+{/loop} \ No newline at end of file diff --git a/tpl/editlink.html b/tpl/editlink.html new file mode 100644 index 00000000..4ad43b35 --- /dev/null +++ b/tpl/editlink.html @@ -0,0 +1,28 @@ + + +{include="includes"} + + +{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/export.html b/tpl/export.html new file mode 100644 index 00000000..938cbe64 --- /dev/null +++ b/tpl/export.html @@ -0,0 +1,15 @@ + + +{include="includes"} + + +{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/import.html b/tpl/import.html new file mode 100644 index 00000000..9e581fc9 --- /dev/null +++ b/tpl/import.html @@ -0,0 +1,21 @@ + + +{include="includes"} + + +{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/includes.html b/tpl/includes.html new file mode 100644 index 00000000..5319f452 --- /dev/null +++ b/tpl/includes.html @@ -0,0 +1,10 @@ +{$pagetitle} + + + + + + + +{if condition="is_file('inc/user.css')"}{/if} + diff --git a/tpl/install.html b/tpl/install.html new file mode 100644 index 00000000..4034ef1b --- /dev/null +++ b/tpl/install.html @@ -0,0 +1,21 @@ + + +{include="includes"}{$timezone_js} + +
+

Shaarli

+It looks like it's the first time you run Shaarli. Please configure it:
+
+
+ + + +{$timezone_html} + + +
Login:
Password:
Page title:
+
+
+{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/linklist.html b/tpl/linklist.html new file mode 100644 index 00000000..bfb1fcda --- /dev/null +++ b/tpl/linklist.html @@ -0,0 +1,76 @@ + + +{include="includes"} + + + + + + {include="page.footer"} + + + \ No newline at end of file diff --git a/tpl/linklist.paging.html b/tpl/linklist.paging.html new file mode 100644 index 00000000..b0c119d9 --- /dev/null +++ b/tpl/linklist.paging.html @@ -0,0 +1,20 @@ +
+{if="isLoggedIn()"} + +{/if} +
+ Links per page: 20 50 100 +
+
+ {if="$previous_page_url"} ◄Older {/if} +
page {$page_current} / {$page_max}
+ {if="$next_page_url"} Newer► {/if} +
\ No newline at end of file diff --git a/tpl/loginform.html b/tpl/loginform.html new file mode 100644 index 00000000..805a0148 --- /dev/null +++ b/tpl/loginform.html @@ -0,0 +1,26 @@ + + +{include="includes"} + + + +{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/page.footer.html b/tpl/page.footer.html new file mode 100644 index 00000000..7fe15017 --- /dev/null +++ b/tpl/page.footer.html @@ -0,0 +1,20 @@ + +{if="$newversion"} +
Shaarli {$newversion|htmlspecialchars} is available.
+{/if} +{if="isLoggedIn()"} + +{/if} + +{if="$GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()"} + +{/if} diff --git a/tpl/page.header.html b/tpl/page.header.html new file mode 100644 index 00000000..60fc1767 --- /dev/null +++ b/tpl/page.header.html @@ -0,0 +1,26 @@ + + +
Shaare your links...
+ {if="!empty($linkcount)"}{$linkcount} links{/if}
+ {$shaarlititle} + +{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} + {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore} +{else} + Home + {if="isLoggedIn()"} + LogoutToolsAdd link + {elseif="$GLOBALS['config']['OPEN_SHAARLI']"} + ToolsAdd link + {else} + Login + {/if} + RSS Feed + ATOM Feed + Tag cloud + Picture wall + Daily +{/if} +
+ + diff --git a/tpl/page.html b/tpl/page.html new file mode 100644 index 00000000..834915ec --- /dev/null +++ b/tpl/page.html @@ -0,0 +1,9 @@ + + +{include="includes"} + + + You body goes here... + {include="page.footer"} + + \ No newline at end of file diff --git a/tpl/picwall.html b/tpl/picwall.html new file mode 100644 index 00000000..2083a629 --- /dev/null +++ b/tpl/picwall.html @@ -0,0 +1,24 @@ + + +{include="includes"} + + + + +
+
+ {loop="linksToDisplay"} +
+ {$value.thumbnail}{$value.title|htmlspecialchars} +
+ {/loop} +
+
+{include="page.footer"} + + + \ No newline at end of file diff --git a/tpl/picwall2.html b/tpl/picwall2.html new file mode 100644 index 00000000..44d08b0c --- /dev/null +++ b/tpl/picwall2.html @@ -0,0 +1,19 @@ + + +{include="includes"} + + +
+ {loop="linksToDisplay"} +
+
{$value.thumbnail}
+ {$value.title|htmlspecialchars}
+ {$value.description|htmlspecialchars} +
+

+ {/loop} +
+ +{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/readme.txt b/tpl/readme.txt new file mode 100644 index 00000000..b18deaed --- /dev/null +++ b/tpl/readme.txt @@ -0,0 +1,42 @@ +===== Shaarli template organisation ===== + +Any Shaarli page should conform to this RainTPL template: + +----------------------------------------------------- + +{include="includes"} + + + You body goes here... + {include="page.footer"} + + +----------------------------------------------------- + +If you want to also add something in the page header (in the dark area), do it here: + + + + +Example: "Add new link" form: +----------------------------------------------------- + +{include="includes"} + + +{include="page.footer"} + + +----------------------------------------------------- + + + + diff --git a/tpl/tagcloud.html b/tpl/tagcloud.html new file mode 100644 index 00000000..6918c7be --- /dev/null +++ b/tpl/tagcloud.html @@ -0,0 +1,15 @@ + + +{include="includes"} + + +
+
+ {loop="tags"} + {$value.count}{$key|htmlspecialchars} + {/loop} +
+
+{include="page.footer"} + + \ No newline at end of file diff --git a/tpl/tools.html b/tpl/tools.html new file mode 100644 index 00000000..48ecc97e --- /dev/null +++ b/tpl/tools.html @@ -0,0 +1,19 @@ + + +{include="includes"} + + +{include="page.footer"} + + \ No newline at end of file -- cgit v1.2.3