Subversion Repositories wimsdev

Rev

Rev 4298 | Rev 5764 | 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
2286 bpr 3
 !read docu/$modu_lang/msg.phtml
23 reyssat 4
 <p><hr> <p>
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
36
    &nbsp;
3070 bpr 37
    !set wims_ref_class=wims_button
1685 bpr 38
    !href cmd=reply&job=erase&doc=$s_ $wims_name_erase
23 reyssat 39
&nbsp;
40
   !endif
751 bpr 41
   <small>$n_by $a_</small>
23 reyssat 42
  !next t
43
  </ul>
44
 !endif
45
!endif
46
 
47
!if $wims_class=$empty and $wims_ismanager<2
48
 !form reply
2259 bpr 49
 $name_listauthor:
5734 bpr 50
 <input size="20" name="authoring" value="$authoring"/>
51
 <input type="submit" value="$wims_name_tosave"/>
23 reyssat 52
 </form> <p>
53
!endif
54
 
55
!if $wims_ismanager<2 and ($wims_class=$empty or $wims_user=supervisor)
1685 bpr 56
  !set wims_menu_items=!append line createdoc,1, cmd=reply&job=creat\
1408 bpr 57
doctry,1,cmd=reply&job=auth2&doc=$draftd&block=main&coder=dddd\
1685 bpr 58
  to $wims_menu_items
23 reyssat 59
!endif
60
 
61
!tail
62