Subversion Repositories wimsdev

Rev

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

  1.  
  2. !href cmd=reply&job2=def $nei_description
  3.  (<span class="wims_emph">$nei_institution</span>)
  4. !if $newcnt1+$newcnt2<1
  5.   $name_no_ressource.
  6.   !if $class_type!=3
  7.     !set wims_ref_class=wims_button
  8.     !href cmd=reply&job2=def $wims_name_back2
  9.   !endif
  10.   !exit
  11. !endif
  12. $name_importable.
  13.  $
  14. !set wims_ref_class=wims_button_help
  15. !href cmd=help&special_parm=import $wims_name_help
  16.  
  17.  
  18. !if $newcnt1>0
  19.   !set name_glossary=!lower $wims_name_Glossary
  20.   $table_header
  21.   <caption>$name_teaching</caption>
  22.   $table_hdtr<th>$wims_name_Type</th><th>$wims_name_title</th><th class="small">$(wims_name_thsheet[1])</th>
  23.   <th class="small">$name_ressourceallowed</th>
  24.   <th>$name_same_title</th><th>$wims_name_action</th></tr>
  25.   !for i=1 to $newcnt1
  26.     !set l=!line $i of $newrec
  27.     !set ll=!words2items $l
  28.     $table_tr
  29.     <td>$(name_$(rtype$i))</td>
  30.     <td>$(rname$i)</td>
  31.     <td class="small">$(rName$i)</td>
  32.     <td>$(rcnt$i)</td>
  33.     <td>$(code$(rcode$i))</td>
  34.     <td>
  35.     !if $(rstat$i)=0 or $(rcnt$i)=0
  36.       !if $(rcnt$i)=0
  37.         $name_empty
  38.       !else
  39.         <span class="small">$name_inpreparation</span>
  40.       !endif
  41.     !else
  42.       !if $(rcode$i)!=2 or $(rtype$i) notwordof motd exo livret
  43.         !href cmd=reply&job2=import2&import=$ll&impmethod=add $wims_name_import
  44.       !endif
  45.       !if $(rcode$i)=2
  46.         &nbsp;
  47.         !href cmd=reply&job2=import2&import=$ll&impmethod=replace&replace=$(rmine$i) $name_replace
  48.       !endif
  49.     !endif
  50.     </td></tr>
  51.   !next i
  52.   $table_end
  53. !endif
  54.  
  55. !if $newcnt2>0
  56.   $table_header
  57.   <caption>$wims_name_student
  58.   !if $newcnt2>2
  59.     [
  60.     !href cmd=reply&job2=import2&import=user,-all- $name_everybodyimport
  61.     ]
  62.   !endif
  63.   </caption>
  64.   $table_hdtr<th>login</th><th>$wims_name_lastname</th><th>$wims_name_firstname</th><th>$wims_name_action</th></tr>
  65.   !for i=1 to $newcnt2
  66.     $table_tr<td>$(ulogin$i)</td>
  67.     <td>$(uname2$i)<td>$(uname1$i)</td><td>
  68.     !if $(ucode$i)=1
  69.       !href cmd=reply&job2=import2&import=user,$(ulogin$i) $wims_name_import
  70.     !else
  71.       !if $(ucode$i)=2
  72.         $name_existinglogin
  73.       !else
  74.         $name_part_erased
  75.       !endif
  76.     !endif
  77.     </td></tr>
  78.   !next i
  79.   $table_end
  80. !endif
  81.