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