Changeset 110304 in spip-zone


Ignore:
Timestamp:
May 18, 2018, 2:46:23 PM (15 months ago)
Author:
real3t@…
Message:

Simplification du miniagenda

Location:
_squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/noisettes/agenda
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/noisettes/agenda/miniagenda_global.html

    r110285 r110304  
    11#CACHE{900}
    2 #SET{'currentmonth', #ENV{date}|affdate{'Y-m-01'}
    3 [(#ENV{'mini_date_ev'}|!={''}|non)
    4         [(#ENV{'month'}|oui)
    5                 [(#ENV{'year'}|oui)
    6                         #SET{'date', #ENV{'year'}|concat{'-'#ENV{'month'}}|concat{'-01 00:00:00'}}
    7                         #SET{'date_th', #ENV{'year'}|concat{'-'#ENV{'month'}}|concat{'-01'}}
    8                 ]
    9         ]
    10         [(#ENV{'month'}|non)
    11                 [(#SET{'date', [(#ENV{date}|affdate{'Y-m-01'})]})]
    12                 #SET{'date_th', #ENV{date}|affdate{'Y-m-01'}
    13         ]
    14 ]
    15 [(#ENV{'mini_date_ev'}|!={''}|oui)
    16         #SET{'date', #ENV{mini_date_ev}|affdate{'Y-m-01'}|concat{' 00:00:00'}}
    17         #SET{'date_th', #ENV{mini_date_ev}|affdate{'Y-m-01'}}
    18 ]
     2#SET{'currentmonth', #ENV{date}|affdate{'Y-m-01'}}
     3#SET{'date', #ENV{mini_date_ev}|sinon{#ENV{date}}|affdate{'Y-m-01'}|concat{' 00:00:00'}}
     4#SET{'date_th', #ENV{mini_date_ev}|sinon{#ENV{date}}|affdate{'Y-m-01'}}
    195<BOUCLE_Evenements(EVENEMENTS){0,1}>
    206<div class="miniagenda">
  • _squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/noisettes/agenda/miniagenda_local.html

    r110284 r110304  
    11#CACHE{900}
    2 #SET{'currentmonth', #ENV{date}|affdate{'Y-m-01'}
    3 [(#ENV{'mini_date_ev'}|!={''}|non)
    4         [(#ENV{'month'}|oui)
    5                 [(#ENV{'year'}|oui)
    6                         #SET{'date', #ENV{'year'}|concat{'-'#ENV{'month'}}|concat{'-01 00:00:00'}}
    7                         #SET{'date_th', #ENV{'year'}|concat{'-'#ENV{'month'}}|concat{'-01'}}
    8                 ]
    9         ]
    10         [(#ENV{'month'}|non)
    11                 [(#SET{'date', [(#ENV{date}|affdate{'Y-m-01'})]})]
    12                 #SET{'date_th', #ENV{date}|affdate{'Y-m-01'}
    13         ]
    14 ]
    15 [(#ENV{'mini_date_ev'}|!={''}|oui)
    16         #SET{'date', #ENV{mini_date_ev}|affdate{'Y-m-01'}|concat{' 00:00:00'}}
    17         #SET{'date_th', #ENV{mini_date_ev}|affdate{'Y-m-01'}}
    18 ]
     2#SET{'currentmonth', #ENV{date}|affdate{'Y-m-01'}}
     3#SET{'date', #ENV{mini_date_ev}|sinon{#ENV{date}}|affdate{'Y-m-01'}|concat{' 00:00:00'}}
     4#SET{'date_th', #ENV{mini_date_ev}|sinon{#ENV{date}}|affdate{'Y-m-01'}}
    195<B_agenda>
    206<div class="miniagenda">
Note: See TracChangeset for help on using the changeset viewer.