From 5bf0159aa38d4d1b8952e0933cea14761c9de34e Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 15 Jul 2007 15:48:26 +0000 Subject: issue49, fixed display header text in photo index git-svn-id: file:///var/lib/svn/phpfspot/trunk@212 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot.class.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'phpfspot.class.php') diff --git a/phpfspot.class.php b/phpfspot.class.php index 2e491c5..1c1e864 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -751,6 +751,15 @@ class PHPFSPOT { if(isset($_SESSION['searchfor']) && $_SESSION['searchfor'] != '') $this->tmpl->assign('searchfor', $_SESSION['searchfor']); + if(isset($_SESSION['from_date']) && isset($_SESSION['to_date'])) { + $this->tmpl->assign('from_date', $_SESSION['from_date']); + $this->tmpl->assign('to_date', $_SESSION['to_date']); + } + + if(isset($_SESSION['selected_tags']) && !empty($_SESSION['selected_tags'])) { + $this->tmpl->assign('tag_result', 1); + } + /* do we have to display the page selector ? */ if($this->cfg->rows_per_page != 0) { -- cgit v1.2.3-18-g5258