diff options
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/month_calendar.tpl | 10 | ||||
-rw-r--r-- | themes/default/theme.css | 12 |
2 files changed, 5 insertions, 17 deletions
diff --git a/themes/default/template/month_calendar.tpl b/themes/default/template/month_calendar.tpl index 9fbd8a1fa..ac8fed166 100644 --- a/themes/default/template/month_calendar.tpl +++ b/themes/default/template/month_calendar.tpl @@ -1,4 +1,4 @@ -{if !empty($chronology_navigation_bars) } +{if !empty($chronology_navigation_bars)} {foreach from=$chronology_navigation_bars item=bar} <div class="calendarBar"> {if isset($bar.previous)} @@ -22,7 +22,7 @@ {/foreach} {/if} -{if !empty($chronology_calendar.calendar_bars) } +{if !empty($chronology_calendar.calendar_bars)} {foreach from=$chronology_calendar.calendar_bars item=bar} <div class="calendarCalBar"> <span class="calCalHead"><a href="{$bar.U_HEAD}">{$bar.HEAD_LABEL}</a> ({$bar.NB_IMAGES})</span><br> @@ -40,7 +40,7 @@ {/foreach} {/if} -{if isset($chronology_calendar.month_view) } +{if isset($chronology_calendar.month_view)} <table class="calMonth"> <thead> <tr> @@ -50,7 +50,7 @@ </tr> </thead> {html_style} -TABLE.calMonth TBODY TD, TABLE.calMonth TBODY TD DIV.calImg{ +.calMonth TD, .calMonth .calImg{ width:{$chronology_calendar.month_view.CELL_WIDTH}px;height:{$chronology_calendar.month_view.CELL_HEIGHT}px } {/html_style} @@ -63,7 +63,7 @@ TABLE.calMonth TBODY TD, TABLE.calMonth TBODY TD DIV.calImg{ <div class="calBackDate">{$day.DAY}</div><div class="calForeDate">{$day.DAY}</div> <div class="calImg"> <a href="{$day.U_IMG_LINK}"> - <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$day.NB_ELEMENTS|@translate_dec:'%d photo':'%d photos'}"> + <img src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$day.NB_ELEMENTS|@translate_dec:'%d photo':'%d photos'}"> </a> </div> {else} diff --git a/themes/default/theme.css b/themes/default/theme.css index 1207c46b7..a5f8e49ad 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -173,18 +173,6 @@ TD.calDayCellFull, TD.calDayCellEmpty { border: 1px solid gray; } -.calImg { - overflow: hidden; - vertical-align: bottom; - z-index: 1; - position: relative; /*<- this required by IE*/ -} - -.calImg IMG { - position: relative; - border: 0; -} - .calBackDate { padding-left: 4px; padding-top: 0; |