Rev 18371 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 18371 | Rev 18373 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | !if $dat!=$empty and $wims_lightpopup !=yes |
39 | !if $dat!=$empty and $wims_lightpopup !=yes |
40 | <h3>$name_abstract</h3> |
40 | <h3>$name_abstract</h3> |
41 | $dat |
41 | $dat |
42 | !endif |
42 | !endif |
43 | <div class="wims_widget_box"> |
43 | <div class="wims_widget_box"> |
44 | !if ($wims_class=$empty or $wims_user=supervisor) and $wims_lightpopup |
44 | !if ($wims_class=$empty or $wims_user=supervisor) and $wims_lightpopup!=yes |
45 | <h3 class="title_box">$name_definition</h3> |
45 | <h3 class="title_box">$name_definition</h3> |
46 | !endif |
46 | !endif |
- | 47 | !if $content=$empty |
|
- | 48 | !set tmp_content=!makelist x for x=4 to $recordcnt |
|
- | 49 | !else |
|
- | 50 | !set tmp_content=!values x+3 for x in $content |
|
- | 51 | !endif |
|
47 | !for j |
52 | !for j in $tmp_content |
48 | !set dat=!record $j of $data |
53 | !set dat=!record $j of $data |
49 | !if $dat!=$empty and $[$j%2]=0 |
54 | !if $dat!=$empty and $[$j%2]=0 |
50 | <div class="box_content"> |
55 | <div class="box_content"> |
51 | <div class="wims_example">$dat</div> |
56 | <div class="wims_example">$dat</div> |
52 | !if $gl_author notin $gl_authors |
57 | !if $gl_author notin $gl_authors |
53 | !set gl_authors=!append item $gl_author to $gl_authors |
58 | !set gl_authors=!append item $gl_author to $gl_authors |
54 | !endif |
59 | !endif |
55 | </div> |
60 | </div> |
56 | !endif |
61 | !endif |
57 | !if $dat!=$empty and $[$j%2]=1 |
62 | !if $dat!=$empty and $[$j%2]=1 |
58 | !!<div class="wims_widget_box"> |
63 | !!<div class="wims_widget_box"> |
59 | <div class="box_content"> |
64 | <div class="box_content"> |
60 | !for jj in $dat |
65 | !for jj in $dat |
61 | <div id="wims_ex_$jj"> |
66 | <div id="wims_ex_$jj"> |
62 | !set jj=!nospace $jj |
67 | !set jj=!nospace $jj |