Subversion Repositories wimsdev

Rev

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