@@ -107,7 +107,7 @@ |
||
| 107 | 107 | define('_EXTCAL_NAV_NEW_EVENT', 'new-event'); |
| 108 | 108 | |
| 109 | 109 | define('_EXTCAL_NAV_LIST', |
| 110 | - _EXTCAL_NAV_CALMONTH . "\n" . _EXTCAL_NAV_CALWEEK . "\n" . _EXTCAL_NAV_YEAR . "\n" . _EXTCAL_NAV_MONTH . "\n" . _EXTCAL_NAV_WEEK . "\n" . _EXTCAL_NAV_DAY . "\n" . _EXTCAL_NAV_AGENDA_WEEK . "\n" . _EXTCAL_NAV_AGENDA_DAY . "\n" . _EXTCAL_NAV_SEARCH . "\n" . _EXTCAL_NAV_NEW_EVENT); |
|
| 110 | + _EXTCAL_NAV_CALMONTH . "\n" . _EXTCAL_NAV_CALWEEK . "\n" . _EXTCAL_NAV_YEAR . "\n" . _EXTCAL_NAV_MONTH . "\n" . _EXTCAL_NAV_WEEK . "\n" . _EXTCAL_NAV_DAY . "\n" . _EXTCAL_NAV_AGENDA_WEEK . "\n" . _EXTCAL_NAV_AGENDA_DAY . "\n" . _EXTCAL_NAV_SEARCH . "\n" . _EXTCAL_NAV_NEW_EVENT); |
|
| 111 | 111 | |
| 112 | 112 | define('_EXTCAL_PREFIX_VIEW', 'view_'); |
| 113 | 113 | define('_EXTCAL_SUFFIX_VIEW', '.php'); |
@@ -149,11 +149,11 @@ |
||
| 149 | 149 | $cat_color = $catList->getVar('cat_color'); |
| 150 | 150 | $checked = in_array($cat_id, $cat) ? 'checked' : ''; |
| 151 | 151 | $cat = '' |
| 152 | - . "<div style='float:left; margin-left:5px;'>" |
|
| 153 | - . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>" |
|
| 154 | - . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>" |
|
| 155 | - . " {$name}" |
|
| 156 | - . '</div>'; |
|
| 152 | + . "<div style='float:left; margin-left:5px;'>" |
|
| 153 | + . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>" |
|
| 154 | + . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>" |
|
| 155 | + . " {$name}" |
|
| 156 | + . '</div>'; |
|
| 157 | 157 | |
| 158 | 158 | $t[] = $cat; |
| 159 | 159 | } |
@@ -166,7 +166,7 @@ |
||
| 166 | 166 | // Flag current day |
| 167 | 167 | $selectedDays = [ |
| 168 | 168 | new Calendar_Day(date('Y', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))), date('n', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))), |
| 169 | - date('j', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))), |
|
| 169 | + date('j', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))), |
|
| 170 | 170 | ]; |
| 171 | 171 | |
| 172 | 172 | // Build calendar object |
@@ -151,11 +151,11 @@ |
||
| 151 | 151 | $cat_color = $catList->getVar('cat_color'); |
| 152 | 152 | $checked = in_array($cat_id, $cat) ? 'checked' : ''; |
| 153 | 153 | $cat = '' |
| 154 | - . "<div style='float:left; margin-left:5px;'>" |
|
| 155 | - . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>" |
|
| 156 | - . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>" |
|
| 157 | - . " {$name}" |
|
| 158 | - . '</div>'; |
|
| 154 | + . "<div style='float:left; margin-left:5px;'>" |
|
| 155 | + . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>" |
|
| 156 | + . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>" |
|
| 157 | + . " {$name}" |
|
| 158 | + . '</div>'; |
|
| 159 | 159 | |
| 160 | 160 | $t[] = $cat; |
| 161 | 161 | } |