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. --- include/widgets.php | 2 +- view/css/widgets.css | 4 ++++ view/tpl/posted_date_widget.tpl | 15 +++++++-------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/include/widgets.php b/include/widgets.php index 678fed833..1b0e140c0 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -313,7 +313,7 @@ function widget_archive($arr) { $url = z_root() . '/' . $a->cmd; - $ret = posted_dates($uid,$wall); + $ret = list_post_dates($uid,$wall); if(! count($ret)) return ''; diff --git a/view/css/widgets.css b/view/css/widgets.css index 0b9a1cd13..7e6b16bb2 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -91,6 +91,10 @@ /* posted date */ +.posted-date-selector-months { + margin-left: 10px; +} + #datebrowse-sidebar select { width: 190px; max-width: 190px; 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'}}
-- cgit v1.2.3