Rev 7973 | Rev 10461 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | !if $error!=$empty |
||
10228 | bpr | 3 | <div class="wims_msg alert"> |
2286 | bpr | 4 | !read docu/$modu_lang/msg.phtml |
5972 | bpr | 5 | </div> |
6685 | bpr | 6 | |
23 | reyssat | 7 | !endif |
8 | |||
9 | !if $doccnt<1 |
||
10 | !if $wims_class!=$empty and $wims_user!=supervisor |
||
2259 | bpr | 11 | $name_home_warning |
23 | reyssat | 12 | !else |
13 | !if $authoring=$empty |
||
2259 | bpr | 14 | $name_nodocument1 |
23 | reyssat | 15 | !else |
2259 | bpr | 16 | $name_nodocument2 |
23 | reyssat | 17 | !endif |
18 | !endif |
||
19 | !else |
||
20 | !if $ii>0 |
||
21 | !read scripts/table.phtml |
||
22 | !else |
||
23 | !if $wims_class!=$empty |
||
2259 | bpr | 24 | $name_listdoc1 |
23 | reyssat | 25 | !else |
2259 | bpr | 26 | $name_listdoc2 |
23 | reyssat | 27 | !endif |
28 | <ul> |
||
29 | !for t=1 to $doccnt |
||
30 | !set s_=!line $t of $slist |
||
31 | !set t_=!line $t of $tlist |
||
32 | !set a_=!line $t of $alist |
||
33 | !set t_=!trim $t_ |
||
747 | bpr | 34 | !default t_=$n_notitle |
23 | reyssat | 35 | <li> |
36 | !href module=$module&cmd=reply&job=read&doc=$s_&block=main $t_ |
||
37 | !if $wims_ismanager=2 |
||
38 | |
||
7973 | bpr | 39 | !set wims_ref_class=wims_button wims_warning |
1685 | bpr | 40 | !href cmd=reply&job=erase&doc=$s_ $wims_name_erase |
23 | reyssat | 41 | |
42 | !endif |
||
6146 | bpr | 43 | <span class="small">$n_by $a_</span> |
5832 | bpr | 44 | </li> |
23 | reyssat | 45 | !next t |
46 | </ul> |
||
47 | !endif |
||
48 | !endif |
||
49 | |||
50 | !if $wims_class=$empty and $wims_ismanager<2 |
||
51 | !form reply |
||
5832 | bpr | 52 | <p> |
2259 | bpr | 53 | $name_listauthor: |
6235 | bpr | 54 | <input size="20" name="authoring" value="$authoring" /> |
55 | <input type="submit" value="$wims_name_tosave" /> |
||
6146 | bpr | 56 | </p> |
7973 | bpr | 57 | |
5927 | bpr | 58 | !formend |
23 | reyssat | 59 | !endif |
60 | |||
61 | !if $wims_ismanager<2 and ($wims_class=$empty or $wims_user=supervisor) |
||
1685 | bpr | 62 | !set wims_menu_items=!append line createdoc,1, cmd=reply&job=creat\ |
1408 | bpr | 63 | doctry,1,cmd=reply&job=auth2&doc=$draftd&block=main&coder=dddd\ |
1685 | bpr | 64 | to $wims_menu_items |
23 | reyssat | 65 | !endif |
66 | |||
67 | !tail |
||
68 |