Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
14460 obado 1
!set wims_frontmsg=!defof frontmsg in wimshome/log/wims.conf
2
!if $wims_frontmsg!=$empty
14523 bpr 3
  !distribute items $wims_frontmsg into newsdir,blocnews,blocexamples
4
  !set tmp=!wordcnt $newsdir
5
  !if $tmp>1
6
    !set newsdir1=!word 1 of $newsdir
7
    !if $lang iswordof $newsdir
8
      !set newsdir=!nospace $newsdir1.$lang
9
    !else
10
      !set l_=!word 2 of $newsdir
11
      !set newsdir=!nospace $newsdir1.$l_
12
    !endif
13
  !endif
14460 obado 14
  !default blocnews=blocnews
15
  !default blocexamples=blocexamples
16
  !set path_front_module=wimshome/public_html/modules/$newsdir
17
  !set front_nbactu=!defof nbactu in $path_front_module/data/$blocnews
18
  !set front_nbslide=!defof nbslide in $path_front_module/data/$blocexamples
14482 bpr 19
  !bound front_nbactu between 0 and 10
20
  !bound front_nbslide between 0 and 10
21
!endif