aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-06-14 00:39:45 +0000
committerrvelices <rv-github@modusoptimus.com>2006-06-14 00:39:45 +0000
commit4dbad1bd7292465c6c56ed7a03a28d3a28d08367 (patch)
tree3b130a99ab98d9e298c58e3be131d9b2053747a3 /template
parent4a5f6b899983d2d1b381f263948a9bcfe2c89045 (diff)
merge r1351 from branch-1_6 to trunk (bug 388: html errors in month_calendar)
git-svn-id: http://piwigo.org/svn/trunk@1352 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/month_calendar.tpl19
1 files changed, 3 insertions, 16 deletions
diff --git a/template/yoga/month_calendar.tpl b/template/yoga/month_calendar.tpl
index 351ede151..7e531e7c7 100644
--- a/template/yoga/month_calendar.tpl
+++ b/template/yoga/month_calendar.tpl
@@ -1,19 +1,6 @@
<!-- BEGIN calendar -->
<!-- $Id$ -->
<!-- BEGIN thumbnails -->
-<style type="text/css">
-<!--
-TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank
-{
- width: {calendar.thumbnails.WIDTH}px;
- height: {calendar.thumbnails.HEIGHT}px;
-}
-DIV.calImg
-{
- width: {calendar.thumbnails.WIDTH}px;
- height: {calendar.thumbnails.HEIGHT}px;
-}
-//--></style>
<table class="calMonth">
<!-- BEGIN head -->
<thead><tr>
@@ -26,14 +13,14 @@ DIV.calImg
<tr>
<!-- BEGIN col -->
<!-- BEGIN blank -->
- <td class="calDayCellBlank">
+ <td class="calDayCellBlank" style="width:{calendar.thumbnails.WIDTH}px;height:{calendar.thumbnails.HEIGHT}px;">
<!-- END blank -->
<!-- BEGIN empty -->
- <td class="calDayCellEmpty">{calendar.thumbnails.row.col.empty.LABEL}
+ <td class="calDayCellEmpty" style="width:{calendar.thumbnails.WIDTH}px;height:{calendar.thumbnails.HEIGHT}px;">{calendar.thumbnails.row.col.empty.LABEL}
<!-- END empty -->
<!-- BEGIN full -->
<td class="calDayCellFull"><div class="calBackDate">{calendar.thumbnails.row.col.full.LABEL}</div><div class="calForeDate">{calendar.thumbnails.row.col.full.LABEL}</div>
- <div class="calImg"><a href="{calendar.thumbnails.row.col.full.U_IMG_LINK}">
+ <div class="calImg" style="width:{calendar.thumbnails.WIDTH}px;height:{calendar.thumbnails.HEIGHT}px;"><a href="{calendar.thumbnails.row.col.full.U_IMG_LINK}">
<img style="{calendar.thumbnails.row.col.full.STYLE}" {calendar.thumbnails.row.col.full.IMG_WIDTH} {calendar.thumbnails.row.col.full.IMG_HEIGHT}
src="{calendar.thumbnails.row.col.full.IMAGE}" alt="{calendar.thumbnails.row.col.full.IMAGE_ALT}"
title="{calendar.thumbnails.row.col.full.IMAGE_ALT}">