|
@@ 248-257 (lines=10) @@
|
| 245 |
|
$week_days_short = simcal_get_calendar_names_i18n( 'day', 'short' ); |
| 246 |
|
$week_days_full = simcal_get_calendar_names_i18n( 'day', 'full' ); |
| 247 |
|
|
| 248 |
|
for ( $i = $week_starts; $i <= 6; $i ++ ) : |
| 249 |
|
|
| 250 |
|
?> |
| 251 |
|
<th class="simcal-week-day simcal-week-day-<?php echo $i ?>" |
| 252 |
|
data-screen-small="<?php echo mb_substr( $week_days_short[ $i ], 0, 1, 'UTF-8' ); ?>" |
| 253 |
|
data-screen-medium="<?php echo $week_days_short[ $i ]; ?>" |
| 254 |
|
data-screen-large="<?php echo $week_days_full[ $i ]; ?>"><?php echo $week_days_short[ $i ]; ?></th> |
| 255 |
|
<?php |
| 256 |
|
|
| 257 |
|
endfor; |
| 258 |
|
|
| 259 |
|
if ( $week_starts !== 0 ) : |
| 260 |
|
for ( $i = 0; $i < $week_starts; $i ++ ) : |
|
@@ 260-269 (lines=10) @@
|
| 257 |
|
endfor; |
| 258 |
|
|
| 259 |
|
if ( $week_starts !== 0 ) : |
| 260 |
|
for ( $i = 0; $i < $week_starts; $i ++ ) : |
| 261 |
|
|
| 262 |
|
?> |
| 263 |
|
<th class="simcal-week-day simcal-week-day-<?php echo $i ?>" |
| 264 |
|
data-screen-small="<?php echo mb_substr( $week_days_short[ $i ], 0, 1, 'UTF-8' ); ?>" |
| 265 |
|
data-screen-medium="<?php echo $week_days_short[ $i ]; ?>" |
| 266 |
|
data-screen-large="<?php echo $week_days_full[ $i ]; ?>"><?php echo $week_days_short[ $i ]; ?></th> |
| 267 |
|
<?php |
| 268 |
|
|
| 269 |
|
endfor; |
| 270 |
|
endif; |
| 271 |
|
|
| 272 |
|
?> |