Rev 15469 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
15469 | bpr | 1 | !! if wims_read_parm is empty, read the variable months |
1755 | bpr | 2 | !! (list of months in suitable language). If it is non empty, |
3 | !! gives the date of the form 13 janvier 2009 (according to language) |
||
4 | !! to be completed |
||
2413 | bpr | 5 | !!return c_date_out , l_date_out or $months |
1755 | bpr | 6 | |
2413 | bpr | 7 | !if $wims_read_parm=months or $wims_read_parm=$empty |
8 | !read adm/lang/date.phtml.$lang months |
||
1755 | bpr | 9 | !exit |
10 | !endif |
||
2413 | bpr | 11 | !distribute items $wims_read_parm into 1_,_year,_month,_day |
1755 | bpr | 12 | |
2413 | bpr | 13 | !if $_month$_day=$empty |
17665 | bpr | 14 | !let _day=!char 7 to 8 of $wims_read_parm |
15 | !let _month=!char 5 to 6 of $wims_read_parm |
||
16 | !let _year=!char 1 to 4 of $wims_read_parm |
||
2413 | bpr | 17 | !endif |
15469 | bpr | 18 | !read adm/lang/date.phtml.$lang date,$_year,$_month,$_day |