?>

    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="
<?php 
print $agenda_hour_class;
?>
">

<s
pan class="calendar-hour">
<?php 
print $by_hour_count > 0 ? date_t('All day', 'datetime') : '';
?>
</span>
       </td>

<?php 
foreach ($rows as $day) {
    ?>

       <td class="calendar-agenda-items">

<?php 
    print $day['datebox'];
    ?>

         <div class="calendar">
    <tr class="<?php 
    print $rowclass;
    ?>
">
      <?php 
    if ($i == 0 && ($by_hour_count > 0 || !empty($start_times))) {
        ?>
      <td class="<?php 
        print $agenda_hour_class;
        ?>
" rowspan="<?php 
        print $multiday_rows;
        ?>
">
        <span class="calendar-hour"><?php 
        print date_t('All day', 'datetime');
        ?>
</span>
      </td>
      <?php 
    }
    ?>
      <?php 
    for ($j = 0; $j < 6; $j++) {
        ?>
        <?php 
        $cell = empty($all_day[$j][$i]) ? NULL : $all_day[$j][$i];
        ?>
        <?php 
        if ($cell != NULL && $cell['filled'] && $cell['wday'] == $j) {
            ?>
Пример #3
0
if (!empty($prev_url)) {
    ?>
      <span class="next"> <?php 
    print l('« ' . ($block ? '' : date_t('Prev', 'date_nav')), $prev_url, $prev_options);
    ?>
</span>
    <?php 
}
?>
  &nbsp;</div>
  <div class="date-heading">
    <h3><?php 
print $nav_title;
?>
</h3>
  </div>
  <div class="date-next">&nbsp;
    <?php 
if (!empty($next_url)) {
    ?>
      <span class="next"> <?php 
    print l(($block ? '' : date_t('Next', 'date_nav')) . '»', $next_url, $next_options);
    ?>
</span>
    <?php 
}
?>
  
  </div>
</div>
Пример #4
0
function tma2_date_all_day_label()
{
    return '<!-- (' . date_t('All day', 'datetime') . ') -->';
}