summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php3
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());