Changeset 2230

Show
Ignore:
Timestamp:
05/09/07 16:10:04 (2 years ago)
Author:
ant_39
Message:

CalendarPlugin:

  • Don't use first function to avoid dependency on new clear silver.
  • Resolves: #1529
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • calendarplugin/0.10/azcalendar/templates/azweekcal.cs

    r2224 r2230  
    6666                /each ?><?cs 
    6767 
     68                set:tmp.first_line = 1 ?><?cs 
    6869                each:line = dayevents.events ?> 
    6970                    <tr class='line'><?cs 
    70                         if:first(line) ?><?cs 
     71                        if:tmp.first_line ?><?cs 
    7172                            call:azweekcal_daynamecell(dayevents, subcount(dayevents.events) + tmp.extra_space_for_plus) ?><?cs 
    7273                            set:tmp.have_day = 1 ?><?cs 
     74                            set:tmp.first_line = 0 ?><?cs 
    7375                        /if ?><?cs 
    7476                        set:tmp.last_end = 0 ?><?cs 
    7577 
     78                        set:tmp.first_event = 1 ?><?cs 
    7679                        each:event = line ?><?cs 
    77                             if:tmp.have_plus == 0 && first(event) && event.brd_begin > 1 ?><?cs 
     80                            if:tmp.have_plus == 0 && tmp.first_event && event.brd_begin > 1 ?><?cs 
    7881                                set:tmp.last_end = 1 ?><?cs 
    7982                                set:tmp.have_plus = 1 ?><?cs 
     83                                set:tmp.first_event = 0 ?><?cs 
    8084                                call:azweekcal_pluscell(urlbase, dayevents.date) ?><?cs 
    8185                            /if ?><?cs