diff options
Diffstat (limited to '')
-rw-r--r-- | include/category_calendar.inc.php | 6 |
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.= '&search=date_available:'.$_GET['day']; + if ($calendar_category != 0) + { + $url_link.= ';cat:'.$calendar_category.'|AND'; + } + $template->assign_block_vars( 'thumbnails.line.thumbnail', array( |