Rev 16221 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9641 | obado | 1 | <!-- _widgets/sequence.phtml --> |
2 | |||
16367 | guerimand | 3 | !if $wims_user=supervisor and $wims_sequence_withtechvar=1 |
4 | <div class="wims alert">Fabrice test</div> |
||
5 | !endif |
||
9641 | obado | 6 | <div id="widget_sequence"> |
12004 | obado | 7 | !if $seq_cnt >1 and $seq=$empty |
8 | !if $jquery_defined=yes |
||
9 | !read adm/tabscript sequence |
||
9926 | bpr | 10 | !endif |
12004 | obado | 11 | !set seq_reverse=!defof sequence_reverse in wimshome/log/classes/$wims_class/seq/.def |
12 | <ul id="wims_seq_summary"> |
||
16143 | guerimand | 13 | !reset list_seq |
12004 | obado | 14 | !for i=1 to $seq_cnt |
15 | !if $seq_reverse=yes |
||
16 | !set u=$[$seq_cnt+1-$i] |
||
9897 | bpr | 17 | !else |
12004 | obado | 18 | !set u=$i |
19 | !endif |
||
20 | !set seq_=!record 1 of wimshome/log/classes/$wims_class/seq/.sequence$u |
||
21 | !distribute line $seq_ into tis_,cos_,obj_,o_ |
||
16143 | guerimand | 22 | !readproc adm/class/checkuserscorecondition S$u |
23 | !if $o_>0 and $output=yes |
||
24 | !set list_seq=!append item $u to $list_seq |
||
12004 | obado | 25 | !if $tis_!=$empty |
26 | <li><a href="#wims_seq_$u">$tis_</a></li> |
||
27 | !else |
||
28 | <li><a href="#wims_seq_$u">$wims_name_sequence $u</a></li> |
||
29 | !endif |
||
30 | !endif |
||
16143 | guerimand | 31 | !next i |
14297 | guerimand | 32 | !read themes/_widgets/user_varfreework.phtml |
33 | !if $fwcnt>0 |
||
34 | <li><a href="#wims_user_freework">$wims_name_Freeworks</a></li> |
||
35 | !endif |
||
12004 | obado | 36 | </ul> |
37 | !endif |
||
9641 | obado | 38 | |
16367 | guerimand | 39 | !if $wims_user=supervisor and $sequence_withtechvar=1 |
40 | <div class="wims_msg warning">$name_sequence_withtechvar_warning</div> |
||
41 | !endif |
||
42 | |||
12004 | obado | 43 | !if $seq>0 |
44 | !read ./sequence.phtml $seq |
||
45 | !reset seq |
||
46 | !else |
||
16220 | guerimand | 47 | !if $seq_cnt=1 |
16221 | guerimand | 48 | !set seq_=!record 1 of wimshome/log/classes/$wims_class/seq/.sequence1 |
16220 | guerimand | 49 | !distribute line $seq_ into tis_,cos_,obj_,o_ |
16221 | guerimand | 50 | !readproc adm/class/checkuserscorecondition S1 |
16220 | guerimand | 51 | !if $output=yes and $o_>0 |
52 | !let list_seq=1 |
||
53 | !endif |
||
54 | !endif |
||
12004 | obado | 55 | !for i=1 to $seq_cnt |
56 | !if $seq_reverse=yes |
||
57 | !set u=$[$seq_cnt+1-$i] |
||
58 | !else |
||
59 | !set u=$i |
||
60 | !endif |
||
16143 | guerimand | 61 | !if $u isitemof $list_seq |
62 | !read ./sequence.phtml $u |
||
63 | !endif |
||
14297 | guerimand | 64 | !next i |
65 | !if $fwcnt>0 |
||
66 | !read themes/_widgets/userfreework.phtml |
||
67 | !endif |
||
12004 | obado | 68 | !endif |
9641 | obado | 69 | </div> |
7035 | bpr | 70 | |
12004 | obado | 71 | !read adm/class/seq_legend.phtml |
72 | |||
7035 | bpr | 73 | !if $seq_cnt>0 |
9641 | obado | 74 | !read themes/_widgets/user_varsheet.phtml |
75 | !read themes/_widgets/user_varexam.phtml |
||
7035 | bpr | 76 | !endif |
77 | |||
14297 | guerimand | 78 | <!--end _widgets/sequence.phtml --> |