################ ### REUNIONS ### ################ lib.planningReservationSalles = COA lib.planningReservationSalles { # Plugin cal pour l'affichage de la date 10 < plugin.tx_cal_controller 10 { # pidList par défaut # Ici pas besoin de données cal, on affiche seulement la date pidList = 1 view { allowedViews = day day.dayTemplate = EXT:wseils/Resources/Private/Templates/ext/TX_Cal/dayTitle.tmpl day.displayDate.strftime = %e %B %Y } } 20 = HMENU 20 { # Menu sur la page courante (page "Planning réservation salles") special = directory special.value.data = TSFE:id wrap =
|
1 = TMENU 1 { NO = 1 NO { # On désactive le lien doNotLinkIt = 1 doNotShowLink = 1 after.cObject = COA after.cObject { wrap =
|
# Génération du titre (ville) 10 = TEXT 10 { value =

{field:title}

insertData = 1 } # Génération avec le code HTML fourni pour l'accordion 20 = TEXT 20 { wrap =
| insertData = 1 } # On génère un plugin calendrier pour chaque ville (vue "Jour") 30 < plugin.tx_cal_controller 30 { pidList.field = uid view { allowedViews = day day.dayEnd = 200000 day.timeFormatDay = %H:%M # Permet de remplir le marqueur ###CALENDAR_ID### dans event_model.tmpl day.event.calendar_id = TEXT day.event.calendar_id { field = calendar_id wrap = calendar_| } day.event.timeFormat = %H:%M day.event.top.stdWrap.wrap = | * 26 + 92 day.event.length.stdWrap.wrap = (| /3600 * 26) day.event.organizer.dataWrap =

%%%ORGANIZER%%% : |

day.event.location.dataWrap = %%%LOCATION%%% : | day.event.alldayTitle.crop > } } 40 = TEXT 40.value =
} } } } }