Changeset 9822
- Timestamp:
- Mar 27, 2009, 8:19:37 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/inc/classes/BxDolCalendar.php ¶
r9817 r9822 98 98 $aCalendarGrid[$i][$j]['day'] = $iCurrentDay; 99 99 $aCalendarGrid[$i][$j]['today'] = ($this->iYear == date('Y') && $this->iMonth == date('m') && $iCurrentDay == $this->iDay); 100 $aCalendarGrid[$i][$j]['events'] = isset($aCalendar[$iCurrentDay]) ? $aCalendar[$iCurrentDay] : false;100 $aCalendarGrid[$i][$j]['events'] = isset($aCalendar[$iCurrentDay]) ? $aCalendar[$iCurrentDay] : array(); 101 101 } 102 102 } … … 134 134 $aCell['bx_repeat:events'][] = $a; 135 135 } else { 136 $aCell['bx_repeat:events'] = array ();136 $aCell['bx_repeat:events'] = array(array('unit' => '')); 137 137 } 138 138 -
TabularUnified trunk/inc/classes/BxDolTemplate.php ¶
r9813 r9822 533 533 break; 534 534 case 'flush_header': 535 flush(); 535 // TODO: add some variable to disable it if needed 536 //flush(); 536 537 break; 537 538 -
TabularUnified trunk/templates/base/calendar.html ¶
r9225 r9822 10 10 <td class="__class__"> 11 11 __day__ 12 <div class="sys_cal_units_container"> 13 <table style="width:100%"> 14 <td> 12 15 <bx_repeat:events> 13 16 __unit__ 14 17 </bx_repeat:events> 18 </td> 19 </table> 20 </div> 15 21 </td> 16 22 </bx_repeat:cell> -
TabularUnified trunk/templates/base/css/calendar.css ¶
r9492 r9822 26 26 margin:5px auto 0px auto; 27 27 } 28 29 .sys_cal_table .sys_cal_units_container { 30 max-height:135px; 31 overflow-y:auto; 32 overflow-x:hidden; 33 } 34 35 .sys_cal_table .sys_cal_units_container td { 36 padding:0; 37 border:none; 38 }
Note: See TracChangeset
for help on using the changeset viewer.