diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-07-28 06:45:07 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-07-28 06:45:07 +0000 |
commit | d017dda4269c5122cd522218357a11fcb4880a5d (patch) | |
tree | cf523df0c57e07e12dc2402b6038617f26df7849 /phpfspot.class.php | |
parent | 983265c10193e5ba5bb7193c454524efb34ea1ee (diff) |
issue67, when called from an external link, also check the consider-date-search-box if a date-range is specified in the url
git-svn-id: file:///var/lib/svn/phpfspot/trunk@259 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r-- | phpfspot.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index 86235ac..9d3f548 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -147,6 +147,9 @@ class PHPFSPOT { break; } + if(isset($_SESSION['from_date']) && isset($_SESSION['to_date'])) + $this->tmpl->assign('date_search_enabled', true); + $this->tmpl->assign('from_date', $this->get_calendar('from')); $this->tmpl->assign('to_date', $this->get_calendar('to')); $this->tmpl->assign('sort_field', $this->get_sort_field()); |