Subversion Repositories wimsdev

Rev

Rev 10357 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2254 bpr 1
 
23 reyssat 2
!if $job!=home and $vote_title!=$empty
12479 bpr 3
  !set module_title=$vote_title
2254 bpr 4
!else
5
  !if $(module_title_$moduclass_lang)!=
12479 bpr 6
    !set module_title=$(module_title_$moduclass_lang)
2254 bpr 7
  !endif
23 reyssat 8
!endif
1538 bpr 9
!if $job=edit
5340 czzmrn 10
  !if $vote_model=free
7198 bpr 11
    !read js/speckedit.phtml src
5340 czzmrn 12
  !else
7198 bpr 13
    !read js/speckedit.phtml testointro
14
  !endif
1538 bpr 15
!endif
1170 bpr 16
!read adm/css.phtml
23 reyssat 17
!header
18
 
19
!if $error!=$empty
12479 bpr 20
  <div class="wims_msg alert">
21
  !read lang/msg.phtml.$moduclass_lang
22
  </div>
23 reyssat 23
!endif
24
!read $job.phtml
10149 bpr 25
!if $wims_user=supervisor and $job notwordof home
10103 bpr 26
  !if $job!=getsource
27
    !if $job=creat
28
     !set wims_menu_items=!append line vote,1,cmd=renew&job=home\
29
to $wims_menu_items
30
    !else
10357 bpr 31
      !if $wims_theme=default
32
!!ARIANE
33
        !set wims_menu_items=!append line vote,1,cmd=renew&job=home\
10103 bpr 34
to $wims_menu_items
10357 bpr 35
      !endif
10103 bpr 36
    !endif
12479 bpr 37
    !if $vote_src!=$empty
38
      !set wims_menu_items=!append line source,1,cmd=renew&job=getsource&vote=$vote\
39
      to $wims_menu_items
40
    !endif
41
  !else
42
    !set wims_menu_items=!append line back2 $vote,1,cmd=resume&job=edit&vote=$vote\
43
    to $wims_menu_items
10103 bpr 44
  !endif
12479 bpr 45
  !if $job notwordof read creat getsource showresult csv and $reg_title$vote_title!=$empty and $reg_src$vote_src!=$empty
46
    !set wims_menu_items=!append line test,1,cmd=reply&job=read\
47
    to $wims_menu_items
48
  !endif
23 reyssat 49
!endif
7198 bpr 50
 
23 reyssat 51
!tail