Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
 
2
!set wims_form_method=post
1587 bpr 3
!read adm/title.phtml 1\
4
$classname\
5
$wims_name_csv
6
 
7
<center><font size="-1">[
1597 bpr 8
!href cmd=reply $name_direct_score
1587 bpr 9
 ]</font>
23 reyssat 10
</center> <p>
11
 
12
!if $error!=$empty
13
 !read msg.phtml
14
 !if $error iswordof not_secure not_superclass
15
  !exit
16
 !endif
17
 <p><hr> <p>
18
!endif
19
 
20
!if $outfile!=$empty
2397 bpr 21
  $name_file <tt>
23 reyssat 22
 !getfile $outfile $outfile
2397 bpr 23
 </tt> $name_download
23 reyssat 24
 <p><hr> <p>
25
!endif
26
 
27
!if $processed=yes and $error=$empty
28
 !if $remark$change$added$missing$erased!=$empty or $manual=yes
2397 bpr 29
  $name_deposit<ul>
23 reyssat 30
  !if $change!=$empty
2397 bpr 31
   <li>$name_infochanged<tt>$change</tt>
23 reyssat 32
  !endif
33
  !if $added!=$empty
2397 bpr 34
   <li>$name_added<tt>$added</tt>
23 reyssat 35
  !endif
36
  !if full iswordof $remark
2397 bpr 37
   <li>$name_warning1
23 reyssat 38
  !endif
39
  !if noprop iswordof $remark
2397 bpr 40
   <li>$name_warning2
23 reyssat 41
  !endif
42
  !if noauto iswordof $remark
2397 bpr 43
   <li>$name_warning3
23 reyssat 44
  !endif
45
  !if $erased!=$empty
2397 bpr 46
   <li>$name_warning4
23 reyssat 47
   <tt>$erased</tt>
48
  !endif
49
  !if $missing!=$empty
2397 bpr 50
   <li>
23 reyssat 51
   !if full notwordof $remark
2397 bpr 52
    $name_nologin1
23 reyssat 53
   !else
2397 bpr 54
    $name_nologin2
23 reyssat 55
   !endif
56
   <tt>$missing</tt>
57
  !endif
58
  !if $manual=yes
2397 bpr 59
   <li>$name_manual1
60
   !href module=adm/class/grades $name_check
23 reyssat 61
.
62
  !endif
63
  </ul>
64
 !else
2397 bpr 65
 $name_data1
23 reyssat 66
 !endif
67
 <p><hr> <p>
68
!endif
69
 
70
!form reply
71
<input type=hidden name=job value=csv>
72
<input type=hidden name=csvtype value=download>
2397 bpr 73
$name_data2<ul>
74
<li>$name_format
23 reyssat 75
!formselect csvformat list csv,tsv
76
<small>
1556 bpr 77
!href module=$module&cmd=help&special_parm=csvformats $wims_name_help
23 reyssat 78
</small>
2397 bpr 79
<li>$name_column
23 reyssat 80
<input type=text size=45 name=csvdownload value="$csvdownload">
81
<small>
1556 bpr 82
!href module=$module&cmd=help&special_parm=csvfields $wims_name_help
23 reyssat 83
</small>
84
</ul>
2397 bpr 85
<input type=submit value="$wims_name_download">
86
 
23 reyssat 87
</form>
88
 
89
!if $classtype notin 13 or $typename iswordof class course
1587 bpr 90
 <hr>
91
 !set wims_form_method=file
92
 !form reply
93
 <input type=hidden name=job value=csv>
94
 <input type=hidden name=csvtype value=upload>
2397 bpr 95
 $name_data3
1587 bpr 96
 <small>
97
 !href module=$module&cmd=help&special_parm=upload $wims_name_help
98
 </small><ul>
2397 bpr 99
 <li>$name_data <input type=file size=30 name=wims_deposit> <br>
100
 <small>$name_format2: .csv, .tsv, .txt
1587 bpr 101
 !href module=$module&cmd=help&special_parm=csvformats2 $wims_name_help
102
 </small>
103
 </ul>
2397 bpr 104
 <input type=submit value="$wims_name_send">
1587 bpr 105
 </form>
23 reyssat 106
!endif
107
 
1587 bpr 108
!set wims_menu_items=!append line back2,1,cmd=resume\
109
to $wims_menu_items