From 5e1980becf69a4c65489bed6f94fa730ec8ef4bf Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Wed, 8 May 2013 04:23:17 -0400 Subject: remove "internal" templates, use "tpl/" folder for smarty3 templates, move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates --- view/tpl/posted_date_widget.tpl | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) mode change 100644 => 100755 view/tpl/posted_date_widget.tpl (limited to 'view/tpl/posted_date_widget.tpl') diff --git a/view/tpl/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl old mode 100644 new mode 100755 index 3e2ee5a3e..2f5838edb --- a/view/tpl/posted_date_widget.tpl +++ b/view/tpl/posted_date_widget.tpl @@ -1,9 +1,14 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}
-

$title

+

{{$title}}

- +{{foreach $dates as $d}} + +{{/foreach}}
-- cgit v1.2.3 From 328ebda77a44bfeaa3ac5455a4713db402bc54bf Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Tue, 16 Jul 2013 18:08:26 +0100 Subject: Kill autogenerated warnings, plus a typo. --- view/tpl/posted_date_widget.tpl | 5 ----- 1 file changed, 5 deletions(-) (limited to 'view/tpl/posted_date_widget.tpl') diff --git a/view/tpl/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl index 2f5838edb..009fa60a6 100755 --- a/view/tpl/posted_date_widget.tpl +++ b/view/tpl/posted_date_widget.tpl @@ -1,8 +1,3 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}}

{{$title}}

-- cgit v1.2.3 From 496f869157ab76139d14a3c67fd8276ee6557517 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 15 Sep 2013 03:18:18 +0200 Subject: Search by date Search by date (archive) works a bit now --- view/tpl/posted_date_widget.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/posted_date_widget.tpl') diff --git a/view/tpl/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl index 009fa60a6..6720d3628 100755 --- a/view/tpl/posted_date_widget.tpl +++ b/view/tpl/posted_date_widget.tpl @@ -3,7 +3,7 @@
-- cgit v1.2.3 From 34eb79e6ba2255113eca6d30ae6c65b28d63abfa Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 23 Mar 2014 16:20:44 -0700 Subject: provide 'style' option to archive widget to choose between 'select' and 'list' format --- view/tpl/posted_date_widget.tpl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'view/tpl/posted_date_widget.tpl') diff --git a/view/tpl/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl index 6720d3628..1a8323926 100755 --- a/view/tpl/posted_date_widget.tpl +++ b/view/tpl/posted_date_widget.tpl @@ -1,9 +1,17 @@

{{$title}}

+{{if $style == 'list'}} +
    +{{foreach $dates as $d}} +
  • {{$d.0}}
  • +{{/foreach}} +
+{{else}} +{{/if}}
-- cgit v1.2.3 From b666aca5c39216270d3ba81b73cdb15d142cf20f Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 1 May 2014 17:54:12 -0700 Subject: bring the posted-date selector widget up to date. There are no longer two different styles. --- view/tpl/posted_date_widget.tpl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'view/tpl/posted_date_widget.tpl') diff --git a/view/tpl/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl index 1a8323926..0867ab392 100755 --- a/view/tpl/posted_date_widget.tpl +++ b/view/tpl/posted_date_widget.tpl @@ -1,17 +1,16 @@

{{$title}}

-{{if $style == 'list'}}
    -{{foreach $dates as $d}} +{{foreach $dates as $y => $arr}} + +
-- cgit v1.2.3