<!--Start piCalNewEvent-->
<{if $block.num_rows == 0}>
<p><{$block.lang_PICAL_MB_NOEVENT}></p>
<{/if}>
  <ul class='piCalNewEvent'>
    <{foreach item=event from=$block.events}>
      <li><img src='<{$block.images_url}>/dot_new.gif' width="18" height="13" alt='NewEvent' /><{$event.start_desc}>
      <a href='<{$block.get_target}>?smode=Daily&amp;action=View&amp;event_id=<{$event.id}>&amp;caldate=<{$block.caldate}>' class='calsummary'><{$event.summary}></a></li><p class='posttime'>Posttime:<{$event.post_date}></p>
    <{/foreach}>
  </ul>

  <{if $block.num_rows_rest > 0}>
      <p class='picalInfo'><{$block.lang_PICAL_MB_RESTEVENT_PRE}> <{$block.num_rows_rest}> <{$block.lang_PICAL_MB_RESTEVENT_SUF}></p>
  <{/if}>

  <{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 piCalNewEvent-->