Subversion Repositories wimsdev

Rev

Rev 13910 | Rev 16071 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !read adm/css.phtml
  3. !if $(module_title_$modu_lang)!=
  4.   !set module_title=$(module_title_$modu_lang)
  5. !endif
  6. !read lang/names.phtml.$modu_lang
  7. !if $job iswordof edfile showfile diff restore
  8.   !set typetest=!module category devel/$auth_login/$mod
  9.   !if doc notitemof $typetest
  10.     !if .oef_ isin $(fname)_ or .cpp_ isin $(fname)_
  11.       !set edit_area_syntax=wimsoef
  12.     !else
  13.       !if .phtml_ isin $(fname)_ or .proc_ isin $(fname)_
  14.         !set edit_area_syntax=wims
  15.       !else
  16.         !set edit_area_syntax=wimsdata
  17.       !endif
  18.     !endif
  19.   !endif
  20.   !if $job iswordof diff or ($job=restore and $confirm=diffcheck)
  21.      !set edit_area_syntax=diff
  22.   !endif
  23.   !if $job=edfile
  24.     !read js/edit_area.phtml wims_deposit $edit_area_syntax
  25.   !else
  26.     !read js/edit_area.phtml wims_show $edit_area_syntax
  27.   !endif
  28. !endif
  29. !header
  30.  
  31. !if $error!=$empty
  32.   <div class="wims_msg alert">
  33.   !read lang/msg.phtml.$modu_lang
  34.   </div>
  35. !endif
  36. !read $job.phtml
  37.  
  38. !if $auth_login!=$empty and $job notwordof modname copy
  39.   !if $wims_theme=default
  40. !!ARIANE
  41.     !set wims_menu_items=!append line itemsep,0,$wims_name_navigation\
  42. modlist,1,cmd=reply&jobreq=modname\
  43. to $wims_menu_items
  44.   !else
  45.     !set wims_menu_items=!append line itemsep,0,$wims_name_navigation\
  46. to $wims_menu_items
  47.   !endif
  48.   !if $job iswordof index publish diff edfile showfile
  49.     !set wims_menu_items=!append line binfile,1,cmd=reply&jobreq=binfile\
  50.     modcontent,1,cmd=reply&jobreq=flist\
  51. to $wims_menu_items
  52.   !endif
  53.   !if $job iswordof flist and $modreq!=.new
  54.     !set wims_menu_items=!append line binfile,1,cmd=reply&jobreq=binfile\
  55. to $wims_menu_items
  56.   !endif
  57.   !if $job iswordof binfile
  58.     !set wims_menu_items=!append line otherfiles,1,cmd=reply&jobreq=flist\
  59.      to $wims_menu_items
  60.   !endif
  61.   !if $job iswordof flist edfile showfile binfile
  62.     !if .oef isin $fname
  63.       !set tmp_f=!replace internal src/ by in $fname
  64.       !set tmp_f=!replace internal .oef by in &exo=$tmp_f&cmd=new
  65.     !else
  66.       !reset tmp_f
  67.     !endif
  68.     !if $job notwordof publish prop diff
  69.      !set wims_menu_items=!append line itemsep,0, $wims_name_action\
  70. test,4,module=devel/$auth_login/$mod$tmp_f,test\
  71.  to $wims_menu_items
  72.     !endif
  73.     !set doctest=!module category devel/$auth_login/$mod
  74.     !if document isin $doctest
  75.       !set doclist=!defof doclist in wimshome/public_html/$devdir/$mod/var.proc
  76.       !set doclist=!words2items $doclist
  77.       !set test=!itemcnt $doclist
  78.       !if $test<=1
  79.         !set wims_menu_items=!append line docgestion,1,module=adm/doc&devdoc=$mod&doc=1&job=read\
  80.       to $wims_menu_items
  81.       !else
  82.         !for d_=1 to $test
  83.         !set wims_menu_items=!append line docgestion ($(doclist[$d_])),1,module=adm/doc&devdoc=$mod&doc=$(doclist[$d_])&job=read\
  84.      to $wims_menu_items
  85.         !next
  86.       !endif
  87.     !endif
  88.     !set wims_menu_items=!append line modsave,1,cmd=reply&jobreq=backup\
  89.   to $wims_menu_items
  90.     !if $job=showfile
  91.       !set wims_menu_items=!append line edfile,1,cmd=reply&jobreq=edfile\
  92. to $wims_menu_items
  93.     !endif
  94.     !if $job=edfile
  95.       !if $wims_theme=default
  96. !!ARIANE
  97.         !set wims_menu_items=!append line back3,1,cmd=reply&jobreq=flist\
  98. to $wims_menu_items
  99.       !endif
  100.     !endif
  101.   !endif
  102. !endif
  103. !if $job iswordof flist index showfile edfile
  104.     !if $wims_menu_items!=
  105.       !set wims_menu_items=!append line itemsep,0,$wims_name_docu\
  106. to $wims_menu_items
  107.     !endif
  108.     !set wims_menu_items=!append line docoef,4,module=adm/createxo&modtoolhelp=yes,help\
  109. docslib,4, module=help/wimsdoc&subject=slib#slib,help\
  110.   docanswer,4,module=adm/createxo&modtoolhelp=yes&special_parm=reply,help\
  111.    doctec,4,module=help/wimsdoc.en,help\
  112.   to $wims_menu_items
  113.   !if $job iswordof edfile
  114.      !set wims_menu_items=!append line Keywords,4,session=$(wims_session)_mhelp&cmd=help&special_parm=keywords,help\
  115.   to $wims_menu_items
  116.   !endif
  117. !endif
  118.  
  119. !if $job iswordof flist index publish diff binfile
  120.   !set wims_menu_items=!append line itemsep,0,$name_publication\
  121. to $wims_menu_items
  122.   !if $job iswordof flist publish diff binfile
  123.     !set wims_menu_items=!append line properties,1,cmd=reply&jobreq=index\
  124.   to $wims_menu_items
  125.     !if $pubtit!=$empty
  126.       !set wims_menu_items=!append line checkdiff,1,cmd=reply&jobreq=diff\
  127.   ,01,local: $version / pub: $pubversion\
  128.     to $wims_menu_items
  129.     !endif
  130.   !endif
  131.   !if $job notwordof publish
  132.     !set wims_menu_items=!append line publish,1,cmd=reply&jobreq=publish\
  133. to $wims_menu_items
  134.   !endif
  135. !endif
  136.  
  137. !tail
  138.  
  139. !reset confirm target1 target2 target3 target4 vcheat \
  140.       i_translator i_translator_address, modifiers \
  141.       p_name p_email p_pass1 p_pass2 bin_job
  142.