From c555bfb2aedcbd58469c551942fae56a0402de5a Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 14 Jun 2006 00:38:03 +0000 Subject: bug 388: html errors in month_calendar git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1351 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/calendar_monthly.class.php | 2 +- template/yoga/month_calendar.tpl | 19 +++---------------- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/include/calendar_monthly.class.php b/include/calendar_monthly.class.php index 5c55dbe5d..214d77cd8 100644 --- a/include/calendar_monthly.class.php +++ b/include/calendar_monthly.class.php @@ -426,7 +426,7 @@ SELECT file,tn_ext,path, width, height, DAYOFWEEK('.$this->date_field.')-1 as do $day++) { $dow = ($first_day_dow + $day-1)%7; - if ($dow==0) + if ($dow==0 and $day!=1) { $template->assign_block_vars('calendar.thumbnails.row', array()); } diff --git a/template/yoga/month_calendar.tpl b/template/yoga/month_calendar.tpl index 9e1e4fb2f..bd743601f 100644 --- a/template/yoga/month_calendar.tpl +++ b/template/yoga/month_calendar.tpl @@ -1,19 +1,6 @@ - @@ -26,14 +13,14 @@ DIV.calImg -
+ - {calendar.thumbnails.row.col.empty.LABEL} + {calendar.thumbnails.row.col.empty.LABEL}
{calendar.thumbnails.row.col.full.LABEL}
{calendar.thumbnails.row.col.full.LABEL}
-