Subversion Repositories wimsdev

Rev

Rev 1823 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! if wims_read_parm is empty, read the variable months
  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
  5. !!return c_date_out , l_date_out or $months
  6.  
  7. !if $wims_read_parm=months or $wims_read_parm=$empty
  8.   !read adm/lang/date.phtml.$lang months
  9.   !exit
  10. !endif
  11. !distribute items $wims_read_parm into 1_,_year,_month,_day
  12.  
  13. !if $_month$_day=$empty
  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
  17. !endif
  18.  !read adm/lang/date.phtml.$lang date,$_year,$_month,$_day
  19.