Subversion Repositories wimsdev

Rev

Rev 10232 | Rev 12479 | 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
3
 !set module_title=$vote_title
2254 bpr 4
!else
5
  !if $(module_title_$moduclass_lang)!=
6
   !set module_title=$(module_title_$moduclass_lang)
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
10232 bpr 20
 <div class="wims_msg alert">
2254 bpr 21
 !read lang/msg.phtml.$moduclass_lang
5874 bpr 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
7998 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
10103 bpr 40
  !endif
7998 bpr 41
 !else
10103 bpr 42
   !set wims_menu_items=!append line back2 $vote,1,cmd=resume&job=edit&vote=$vote\
7998 bpr 43
   to $wims_menu_items
44
 !endif
10103 bpr 45
 !if $job notwordof read creat getsource showresult csv and $reg_title$vote_title!=$empty and $reg_src$vote_src!=$empty
5369 bpr 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