Rev 14523 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14523 | Rev 15787 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | !endif |
13 | !endif |
14 | !default blocnews=blocnews |
14 | !default blocnews=blocnews |
15 | !default blocexamples=blocexamples |
15 | !default blocexamples=blocexamples |
16 | !set path_front_module=wimshome/public_html/modules/$newsdir |
16 | !set path_front_module=wimshome/public_html/modules/$newsdir |
17 | !set front_nbactu=!defof nbactu in $path_front_module/data/$blocnews |
17 | !set front_nbactu=!defof nbactu in $path_front_module/data/$blocnews |
- | 18 | !set front_n_actu=$front_nbactu |
|
- | 19 | !if [ isin $front_n_actu |
|
- | 20 | !set front_n_actu=!declosing $front_n_actu |
|
- | 21 | !set front_n_actu=!listuniq $front_n_actu |
|
- | 22 | !set front_nbactu=!itemcnt $front_n_actu |
|
- | 23 | !else |
|
- | 24 | !set nb_temp=!itemcnt $front_n_actu |
|
- | 25 | !if $nb_temp=1 |
|
- | 26 | !!! for retrocompatibility |
|
- | 27 | !set front_n_actu=1,$front_n_actu |
|
- | 28 | !else |
|
- | 29 | !set front_n_actu=!sort numeric list of $front_n_actu |
|
- | 30 | !endif |
|
- | 31 | !set front_nbactu=$[$(front_n_actu[2])-$(front_n_actu[1])+1] |
|
- | 32 | !set front_n_actu=!makelist v for v=$(front_n_actu[1]) to $(front_n_actu[2]) step 1 |
|
- | 33 | !endif |
|
18 | !set front_nbslide=!defof nbslide in $path_front_module/data/$blocexamples |
34 | !set front_nbslide=!defof nbslide in $path_front_module/data/$blocexamples |
19 | !bound front_nbactu between 0 and 10 |
35 | !bound front_nbactu between 0 and 10 |
20 | !bound front_nbslide between 0 and 10 |
36 | !bound front_nbslide between 0 and 10 |
21 | !endif |
37 | !endif |