Subversion Repositories wimsdev

Rev

Rev 12457 | 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.   $table_header
  20.   <caption>$name_teaching</caption>
  21.   $table_hdtr<th>$wims_name_Type</th><th>$wims_name_title</th><th class="small">$wims_name_name</th>
  22.   <th class="small">$name_ressourceallowed</th>
  23.   <th>$name_same_title</th><th>$wims_name_action</th></tr>
  24.   !for i=1 to $newcnt1
  25.     !set l=!line $i of $newrec
  26.     !set ll=!words2items $l
  27.     $table_tr
  28.     <td>$(name_$(rtype$i))</td>
  29.     <td>$(rname$i)</td>
  30.     <td class="small">$(rName$i)</td>
  31.     <td>$(rcnt$i)</td>
  32.     <td>$(code$(rcode$i))</td>
  33.     <td>
  34.     !if $(rstat$i)=0 or $(rcnt$i)=0
  35.       !if $(rcnt$i)=0
  36.         $name_empty
  37.       !else
  38.         <span class="small">$name_inpreparation</span>
  39.       !endif
  40.     !else
  41.       !if $(rcode$i)!=2 or $(rtype$i) notwordof motd exo
  42.         !href cmd=reply&job2=import2&import=$ll&impmethod=add $wims_name_import
  43.       !endif
  44.       !if $(rcode$i)=2
  45.         &nbsp;
  46.         !href cmd=reply&job2=import2&import=$ll&impmethod=replace&replace=$(rmine$i) $name_replace
  47.       !endif
  48.     !endif
  49.     </td></tr>
  50.   !next i
  51.   $table_end
  52. !endif
  53.  
  54. !if $newcnt2>0
  55.   $table_header
  56.   <caption>$wims_name_student
  57.   !if $newcnt2>2
  58.     [
  59.     !href cmd=reply&job2=import2&import=user,-all- $name_everybodyimport
  60.     ]
  61.   !endif
  62.   </caption>
  63.   $table_hdtr<th>login</th><th>$wims_name_lastname</th><th>$wims_name_firstname</th><th>$wims_name_action</th></tr>
  64.   !for i=1 to $newcnt2
  65.     $table_tr<td>$(ulogin$i)</td>
  66.     <td>$(uname2$i)<td>$(uname1$i)</td><td>
  67.     !if $(ucode$i)=1
  68.       !href cmd=reply&job2=import2&import=user,$(ulogin$i) $wims_name_import
  69.     !else
  70.       !if $(ucode$i)=2
  71.         $name_existinglogin
  72.       !else
  73.         $name_part_erased
  74.       !endif
  75.     !endif
  76.     </td></tr>
  77.   !next i
  78.   $table_end
  79. !endif
  80.