X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.class.php;h=9d3f548a2f38e7d714687e9cbabf0c52375aa598;hp=86235ac40e5183fff4303dbebca4c3c617c477a3;hb=d017dda4269c5122cd522218357a11fcb4880a5d;hpb=983265c10193e5ba5bb7193c454524efb34ea1ee 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());