Changeset 93074 in spip-zone


Ignore:
Timestamp:
Nov 21, 2015, 7:48:00 PM (4 years ago)
Author:
pierre.fiches@…
Message:

Datation automatique en passant la class autodater

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/saisies/trunk/saisies/date.html

    r86822 r93074  
    1717
    1818[(#REM) Initialisation de la valeur ]
    19 #SET{valeur,#ENV{valeur_forcee,#ENV{valeur,#ENV{defaut}}}}
     19[(#ENV{class}|=={'autodater'}|oui)
     20        #SET{autodater,#VAL{Y-m-d H:i:s}|date}
     21]
     22#SET{valeur,#ENV{valeur_forcee,#ENV{valeur,#ENV{defaut,#GET{autodater}}}}}
    2023
    2124[(#REM) Regex de date SQL ]
Note: See TracChangeset for help on using the changeset viewer.