aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_calendar.inc.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-07-26 20:45:12 +0000
committerz0rglub <z0rglub@piwigo.org>2004-07-26 20:45:12 +0000
commit4ae92eb06d3c61ae59443b1983264da2e99e01fb (patch)
tree0a3a456e29f2c73b46250b68939359dd8bb49c2a /include/category_calendar.inc.php
parent3610e7f3609b3e37e83a94770d25e7d08bd3f784 (diff)
use new search URL variable
git-svn-id: http://piwigo.org/svn/trunk@456 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/category_calendar.inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/category_calendar.inc.php b/include/category_calendar.inc.php
index 2ffe6eaa4..0c44c5ea8 100644
--- a/include/category_calendar.inc.php
+++ b/include/category_calendar.inc.php
@@ -423,6 +423,12 @@ SELECT file,tn_ext,date_available,storage_category_id
$thumbnail_title = $lang['calendar_picture_hint'].$name;
$url_link = PHPWG_ROOT_PATH.'category.php?cat=search';
+ $url_link.= '&amp;search=date_available:'.$_GET['day'];
+ if ($calendar_category != 0)
+ {
+ $url_link.= ';cat:'.$calendar_category.'|AND';
+ }
+
$template->assign_block_vars(
'thumbnails.line.thumbnail',
array(