<!--Start piCal_todays_Schedule-->
<{if $block.num_rows == 0}>
<p><{$block.lang_PICAL_MB_NOEVENT}></p>
<{/if}>

<ul class='picalTodays'>
  <{foreach item=event from=$block.events}>
    <{if $event.allday == 0}>
      <li>
        <{if $event.is_start_date == true}>
          <img src='<{$block.images_url}>/<{$event.dot_gif}>' alt='Event' /><{$event.start_desc}> - <{$event.end_desc}>
        <{else}>
           <img src='<{$block.images_url}>/<{$event.dot_gif}>' alt='Event' /><{$block.lang_PICAL_MB_CONTINUING}> - <{$event.end_desc}>
        <{/if}>
        <a href='<{$block.get_target}>?smode=Daily&amp;action=View&amp;event_id=<{$event.id}>&amp;caldate=<{$block.caldate}>' class='calsummary'><{$event.summary}></a>

    <{else}>

      <li>
        <img src='<{$block.images_url}>/<{$event.dot_gif}>' alt='Event' /><{$block.lang_PICAL_MB_ALLDAY_EVENT}>
        <a href='<{$block.get_target}>?smode=Daily&amp;action=View&amp;event_id=<{$event.id}>&amp;caldate=<{$block.caldate}>' class='calsummary_allday'><{$event.summary}></a>
    <{/if}>
</li>
  <{/foreach}>

</ul>

  <{if $block.insertable <> false}>
    <p class='piCalAdd'><a href='<{$block.get_target}>?smode=Daily&amp;action=Edit&amp;caldate=<{$block.caldate}>'><img src='<{$block.images_url}>/addevent.gif' width='14' height='12' /><{$block.lang_PICAL_MB_ADDEVENT}></a></p>
  <{/if}>
<!--End piCal_todays_Schedule-->