Subversion Repositories wimsdev

Rev

Rev 12479 | Blame | Compare with Previous | Last modification | View Log | RSS feed

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