Subversion Repositories wimsdev

Rev

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

!set wims_frontmsg=!defof frontmsg in wimshome/log/wims.conf
!if $wims_frontmsg!=$empty
  !distribute items $wims_frontmsg into newsdir,blocnews,blocexamples
  !set tmp=!wordcnt $newsdir
  !if $tmp>1
    !set newsdir1=!word 1 of $newsdir
    !if $lang iswordof $newsdir
      !set newsdir=!nospace $newsdir1.$lang
    !else
      !set l_=!word 2 of $newsdir
      !set newsdir=!nospace $newsdir1.$l_
    !endif
  !endif
  !default blocnews=blocnews
  !default blocexamples=blocexamples
  !set path_front_module=wimshome/public_html/modules/$newsdir
  !set front_nbactu=!defof nbactu in $path_front_module/data/$blocnews
  !set front_nbslide=!defof nbslide in $path_front_module/data/$blocexamples
  !bound front_nbactu between 0 and 10
  !bound front_nbslide between 0 and 10
!endif