Subversion Repositories wimsdev

Rev

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

  1.  
  2. !if $error!=$empty
  3.  !exit
  4. !endif
  5.  
  6. !if $no_selection!=$empty
  7.  <b>$wims_name_warning</b>. $name_noselect
  8.  <p>
  9. !endif
  10.  
  11. !if $serial!=$wims_class and $old_testcnt>0
  12.  !set test=bad
  13. !endif
  14. !if $test=bad
  15. <span class="wims_warning">$wims_name_warning!</span>
  16.  
  17. !read lang/names.phtml.$moduclass_lang arch
  18.  
  19.  <p><hr> <p>
  20. !endif
  21.  
  22. !form reply
  23. <input type="hidden" name="job" value="$job"/>
  24. <input type="hidden" name="job2" value="restore"/>
  25. $name_deposit
  26. <ul>
  27.  <li>
  28.   <input type="checkbox" name="selection" value="all"/>
  29.   $name_all
  30.  </li>
  31.  !if def isitemof $gotlist
  32.   <li>
  33.    <input type="checkbox" name="selection" value="def"/>
  34.    $name_config.
  35.    $name_danger.
  36.   </li>
  37.  !endif
  38.  !if sup isitemof $gotlist
  39.   <li>
  40.    !if $sharing_sup=$empty
  41.     <input type="checkbox" name="selection" value="sup"/>
  42.    !endif
  43.    $name_teacher.
  44.    !if $sharing_sup!=$empty
  45.     $name_no_restore
  46.    !else
  47.     $name_danger.
  48.    !endif
  49.   </li>
  50.  !endif
  51.  !let list=!listintersect user,doc,exo,sheet,exam,forum and $gotlist
  52.  !for type in $list
  53.   <li>
  54.    !if $(sharing_$type)=$empty
  55.     <input type="checkbox" name="selection" value="$type"/>
  56.    !endif
  57.    $(new_$(type)cnt) $(name_$type).
  58.    !if $(sharing_$type)!=$empty
  59.     $name_no_restore
  60.    !else
  61.     <small>($(name_$(type)1) : $(old_$(type)cnt))</small>.
  62.    !endif
  63.   </li>
  64.  !next type
  65.  !if score isitemof $gotlist
  66.   <li>
  67.    <input type="checkbox" name="selection" value="score"/>
  68.    $name_activity
  69.   </li>
  70.  !endif
  71.  !if manual isitemof $gotlist
  72.   <li>
  73.    <input type="checkbox" name="selection" value="manual"/>
  74.    $new_manualcnt $name_manual. <small>($name_manual1&nbsp;:
  75.    $old_manualcnt)</small>.
  76.   </li>
  77.  !endif
  78.  !if cdt isitemof $gotlist
  79.   <li>
  80.    <input type="checkbox" name="selection" value="cdt"/>
  81.    $name_cdt.
  82.    !if $old_cdtcnt>0
  83.     <small>($name_cdt1)</small>
  84.    !endif
  85.   </li>
  86.  !endif
  87.  !if livret isitemof $gotlist
  88.   <li>
  89.    <input type="checkbox" name="selection" value="livret"/>
  90.    $name_livret.
  91.    !if $old_livretcnt>0
  92.     <small>($name_livret1)</small>
  93.    !endif
  94.   </li>
  95.  !endif
  96.  !if seq isitemof $gotlist
  97.   <li>
  98.    <input type="checkbox" name="selection" value="seq"/>
  99.    $name_seq.
  100.    $name_seq0
  101.    <small>($name_seq1 $old_seqcnt)</small>.
  102.   </li>
  103.  !endif
  104. </ul>
  105. $name_method&nbsp;:
  106. <ul>
  107.  <li><input type="radio" name="restore" value="replace" checked/>
  108.   $name_replace <i>($name_replace1)</i>.</li>
  109.  <li><input type="radio" name="restore" value="merge"/>
  110.   $name_merge <i>($name_merge1)</i>.</li>
  111. </ul>
  112. !!## TODO desactiver les feuilles s'il n'y pas de participant et enlever la date d'expiration?
  113. !!!if $(new_usercnt)=0
  114. !!   <input type="checkbox" name="preparation" value="no"/> Mettre les feuilles en prĂ©paration
  115. !!!endif
  116. <input type="submit" value="$name_selectrestore"/>
  117. !set wims_ref_class=wims_button_help
  118. !href cmd=reply&job=list $wims_name_giveup
  119.  
  120. </form>
  121.  
  122. !read lang/names.phtml.$moduclass_lang arch_end