Subversion Repositories wimsdev

Rev

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

  1. !set wims_html_header=$wims_html_header\
  2. <style type="text/css">\
  3. .frame {background-color :green;\
  4.         border-style: solid;\
  5.         border-width: 1pt;\
  6.         margin: 3% 3% 3% 3%;\
  7.         padding : 3%;\
  8.         font-size:95%;\
  9.         text-align:justify;}\
  10.   }\
  11.   .hr {}\
  12. .hh{color:$wims_ref_menucolor; \
  13. background-color: $wims_ref_bgcolor;\
  14. text-align:center;}\
  15. \
  16. prel {\
  17.     background-color :#FFFFCC;\
  18.    font-weight: bold ;\
  19.         font-size: 12px;\
  20.         border-style: solid;\
  21.         border-width: 2pt;\
  22.         margin: 3% 3% 3% 3%;\
  23.         padding : 2%;\
  24. }\
  25. </style>
  26. !set wims_menu_items=!append line modtool,1,module=adm/modtool\
  27. to $wims_menu_items
  28. !if robot isin $session
  29.   !exit
  30. !endif
  31. !header
  32.  
  33. !if $wims_developer=$empty
  34.  
  35.  
  36. <div class="wims_content">
  37.  
  38. <b>$module_title</b>
  39. !read lang/names.phtml.$modu_lang 1
  40. !href cmd=help&special_parm=doc $name_documentation
  41.  $wims_name_or
  42.  !getfile latex2wimsdoc.pdf $name_pdf
  43. .
  44.  
  45. !read lang/names.phtml.$modu_lang 2
  46.  
  47.  !form reply
  48.  $name_modtool
  49.  
  50.  
  51. <fieldset class="property_fields halfwidth blockcenter">
  52.     <div class="field box">
  53.       <label for="login">$wims_name_Login</label>
  54.       <input type="text" name="login" id="login" />
  55.     </div>
  56.     <div class="field box">
  57.       <label for="passwd">$wims_name_Password</label>
  58.       <input type="password" name="passwd" id="passwd" />
  59.     </div>
  60.     <div class="field box">
  61.     <input type="submit" value="$wims_name_tosave" />
  62.     </div>
  63.  </fieldset>
  64.   !formend
  65. </div> <!--end content 1-->
  66.   !tail
  67.   !exit
  68.  
  69. !endif
  70.  
  71.  
  72. !if $error!=$empty
  73.   <div class="wims_alertmsg">
  74.  !read lang/msg.phtml.$modu_lang
  75.   </div>
  76. !endif
  77.  
  78.  
  79. <div class="wims_content">
  80.  
  81. <b>$module_title</b>
  82. !read lang/names.phtml.$modu_lang 3
  83.  
  84. !href cmd=help&special_parm=doc $name_documentation
  85. .
  86.  
  87. !set wims_form_method=file
  88. !default !set execut=0
  89. !form reply
  90. !if $execut!=3
  91. $name_select_example
  92.   !getfile fichier_test.tex $name_latex
  93. ,
  94.   !getfile style.css $name_css
  95. ,
  96.   !getfile wims.sty $name_latex2wims
  97. ,
  98.   !getfile latex2wimsdoc.pdf $name_pdf
  99. .
  100.  !if $exemple!=1
  101.     $name_example
  102.       !formradio exemple list 1,2 prompt $wims_name_yes,$wims_name_no
  103.   !endif
  104. !endif
  105.  
  106.  
  107. !if $execut=0
  108.   <h2 class="hh"> $name_step 1</h2>
  109.   $name_transfer_wims
  110.   <input type="file" name="wims_deposit" />
  111.  
  112. !if $test!=$empty and ($execut=0 or $cnt_fichier=1)
  113.   $name_filet:
  114.   <pre class="prel">
  115.   !for i = 1 to $cnt_fichier
  116.     $(fichiers[$i]) ($(date[$i]))
  117.    !next
  118.    </pre>
  119. !endif
  120.  
  121.   <ul>
  122.     <li>
  123.  
  124.    !formradio execut list 0 prompt $name_newtransfer
  125.    </li><li>
  126.    !formradio execut list 1 prompt $name_newstep
  127.    </li>
  128.    </ul>
  129. !endif
  130.  
  131.  
  132.  
  133.  
  134. !if $execut=1
  135.  
  136. <h2 class="hh"> $name_step 1</h2>
  137. !if $cnt_fichier >0
  138.    $name_youcan
  139.     !formcheckbox execut list 0 prompt $name_newtransfer
  140.  !else
  141.    $name_youmust
  142.    !default !set execut=0
  143.    !formradio execut list 0 prompt $name_atleast
  144.  
  145.    <p class="wimscenter">
  146. <input type="submit" value="$wims_name_tosave" />
  147. </p>
  148.  
  149. !formend
  150. </div> <!--end content 2-->
  151.    !exit
  152.  !endif
  153. <h2 class="hh"> $name_step 2</h2>
  154.   $name_selectmain
  155.   <ul>
  156.     !for i = 1 to $cnt_fichier
  157.       !set l=!item $i of $fichiers
  158.       <li>
  159.         !formradio principal list $i prompt $(fichiers[$i]) ($name_transferdate $(date[$i]))
  160.       </li>
  161.    !next
  162.   </ul>
  163.  !! $name_sheet
  164.  !! !formradio wksheet list 1,2,3,4,5,6,7,8,9
  165.  <h2 class="hh"> $name_step 3</h2>
  166.  
  167. !if $list_module!=$empty
  168.    $name_namedocument:
  169.            <p class="wimscenter">
  170.            !formselect document list $choix,$list_module
  171.          </p>
  172.        $name_newmodule
  173. !else
  174. <i>$name_createfirst</i>
  175. !endif
  176.      !href target=wims_test module=adm/modtool&cmd=reply&jobreq=create Modtool
  177.  
  178. !if $document notsametext $choix
  179.  <p><span class="wims_warning">$wims_name_warning</span> : $name_warning</p>
  180. !else
  181. <p><span class="wims_warning">$wims_name_warning</span> : $name_select_warning.</p>
  182. !endif
  183.   <h2 class="hh"> $name_step 4</h2>
  184.      !formradio execut list 2 prompt $name_exec
  185.  
  186. !endif
  187.  
  188. !if $execut=3
  189.   !if $confirm=
  190.    !read lang/names.phtml.$modu_lang 4
  191.    !formradio confirm list 0,1 prompt $wims_name_yes,$wims_name_no
  192.     <ul>
  193.   !else
  194.     !if $confirm=0
  195.  !reset confirm
  196.  <ul><li>
  197.      !href target=wims_internal module=devel/$wims_developer/$document $name_test
  198.  (<i> $name_gotomodtool
  199. !href target=wims_internal module=adm/modtool&jobreq=flist&modreq=$document $wims_name_modtool
  200. </i>)
  201.   </li>
  202.    !endif
  203.   !endif
  204.    <li>
  205.     !formradio execut list 1 prompt $name_comeback
  206.   </li>
  207.   <li>
  208.     !formradio execut list 0 prompt $name_transfer
  209.   </li>
  210.   </ul>
  211. !endif
  212. <p class="wimscenter wimsform">
  213. <input type="submit" value="$wims_name_tosave" />
  214. </p>
  215.  
  216.  
  217. !formend
  218.  
  219. </div><!--end content 3-->
  220.  
  221. !if $wims_exec_error!=$empty
  222.  <div class="wims_warning"><pre>$wims_exec_error</pre></div>
  223. !endif
  224.  
  225.  
  226. !tail
  227.  
  228. !reset wims_exec_error wims_deposit
  229.  
  230.  
  231.