Subversion Repositories wimsdev

Rev

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

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