Rev 5412 | 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 | |||
4580 | bpr | 7 | <center> |
8 | !set wims_ref_class=wims_button |
||
1597 | bpr | 9 | !href cmd=reply $name_direct_score |
23 | reyssat | 10 | </center> <p> |
11 | |||
12 | !if $error!=$empty |
||
2407 | bpr | 13 | !read lang/msg.phtml.$moduclass_lang |
23 | reyssat | 14 | !if $error iswordof not_secure not_superclass |
15 | !exit |
||
16 | !endif |
||
17 | <p><hr> <p> |
||
18 | !endif |
||
19 | |||
20 | !if $outfile!=$empty |
||
5412 | bpr | 21 | $name_file <tt class="wims_fname"> |
23 | reyssat | 22 | !getfile $outfile $outfile |
2397 | bpr | 23 | </tt> $name_download |
23 | reyssat | 24 | <p><hr> <p> |
25 | !endif |
||
26 | |||
5243 | bpr | 27 | !if $processed=yes |
23 | reyssat | 28 | !if $remark$change$added$missing$erased!=$empty or $manual=yes |
2397 | bpr | 29 | $name_deposit<ul> |
23 | reyssat | 30 | !if $change!=$empty |
4952 | bpr | 31 | <li>$name_infochanged: <tt class="wims_login"> |
32 | !replace internal , by ,$ $ in $change |
||
33 | </tt></li> |
||
23 | reyssat | 34 | !endif |
35 | !if $added!=$empty |
||
4952 | bpr | 36 | <li>$name_added: <tt class="wims_login"> |
37 | !replace internal , by ,$ $ in $added |
||
38 | </tt></li> |
||
23 | reyssat | 39 | !endif |
3714 | bpr | 40 | !if $bad_login!=$empty |
4952 | bpr | 41 | <li>$name_badlogin: <tt class="wims_login"> |
42 | !replace internal , by ,$ $ in $bad_login |
||
43 | </tt></li> |
||
3714 | bpr | 44 | !endif |
23 | reyssat | 45 | !if full iswordof $remark |
3714 | bpr | 46 | <li>$name_warning1</li> |
23 | reyssat | 47 | !endif |
48 | !if noprop iswordof $remark |
||
3714 | bpr | 49 | <li>$name_warning2</li> |
23 | reyssat | 50 | !endif |
51 | !if noauto iswordof $remark |
||
3714 | bpr | 52 | <li>$name_warning3</li> |
23 | reyssat | 53 | !endif |
54 | !if $erased!=$empty |
||
4445 | bpr | 55 | <li>$name_warning4: |
4952 | bpr | 56 | <tt class="wims_login"> |
57 | !replace internal , by ,$ $ in $erased |
||
58 | </tt></li> |
||
23 | reyssat | 59 | !endif |
60 | !if $missing!=$empty |
||
2397 | bpr | 61 | <li> |
23 | reyssat | 62 | !if full notwordof $remark |
4445 | bpr | 63 | $name_nologin1: |
23 | reyssat | 64 | !else |
4445 | bpr | 65 | $name_nologin2: |
23 | reyssat | 66 | !endif |
4115 | bpr | 67 | <tt class="wims_login">$missing</tt> |
23 | reyssat | 68 | !endif |
3714 | bpr | 69 | </li> |
23 | reyssat | 70 | !if $manual=yes |
2397 | bpr | 71 | <li>$name_manual1 |
72 | !href module=adm/class/grades $name_check |
||
3714 | bpr | 73 | .</li> |
23 | reyssat | 74 | !endif |
75 | </ul> |
||
76 | !else |
||
2397 | bpr | 77 | $name_data1 |
23 | reyssat | 78 | !endif |
79 | <p><hr> <p> |
||
80 | !endif |
||
81 | |||
82 | !form reply |
||
5734 | bpr | 83 | <input type="hidden" name="job" value="csv"/> |
84 | <input type="hidden" name="csvtype" value="download"/> |
||
2397 | bpr | 85 | $name_data2<ul> |
86 | <li>$name_format |
||
23 | reyssat | 87 | !formselect csvformat list csv,tsv |
3069 | bpr | 88 | |
89 | !set wims_ref_class=wims_button_help |
||
1556 | bpr | 90 | !href module=$module&cmd=help&special_parm=csvformats $wims_name_help |
3069 | bpr | 91 | </li> |
2397 | bpr | 92 | <li>$name_column |
5734 | bpr | 93 | <input type="text" size="45" name="csvdownload" value="$csvdownload"/> |
3069 | bpr | 94 | |
95 | !set wims_ref_class=wims_button_help |
||
1556 | bpr | 96 | !href module=$module&cmd=help&special_parm=csvfields $wims_name_help |
3069 | bpr | 97 | </li> |
23 | reyssat | 98 | </ul> |
5734 | bpr | 99 | <input type="submit" value="$wims_name_download"/> |
2397 | bpr | 100 | |
23 | reyssat | 101 | </form> |
5412 | bpr | 102 | !! open the upload to the level supervisor alternative use user_supervise |
103 | !if $classtype notin 13 or $typename iswordof class course or\ |
||
104 | ($typename iswordof level and $wims_user=supervisor) |
||
1587 | bpr | 105 | <hr> |
106 | !set wims_form_method=file |
||
107 | !form reply |
||
5734 | bpr | 108 | <input type="hidden" name="job" value="csv"/> |
109 | <input type="hidden" name="csvtype" value="upload"/> |
||
2397 | bpr | 110 | $name_data3 |
3069 | bpr | 111 | |
112 | !set wims_ref_class=wims_button_help |
||
1587 | bpr | 113 | !href module=$module&cmd=help&special_parm=upload $wims_name_help |
3069 | bpr | 114 | <ul> |
5734 | bpr | 115 | <li>$name_data <input type="file" size="30" name="wims_deposit"/> <br> |
4991 | bpr | 116 | $name_format2: <tt>.csv</tt>, <tt>.tsv</tt>, <tt>.txt</tt> |
3069 | bpr | 117 | |
118 | !set wims_ref_class=wims_button_help |
||
1587 | bpr | 119 | !href module=$module&cmd=help&special_parm=csvformats2 $wims_name_help |
3069 | bpr | 120 | </li> |
1587 | bpr | 121 | </ul> |
5734 | bpr | 122 | <input type="submit" value="$wims_name_send"/> |
1587 | bpr | 123 | </form> |
23 | reyssat | 124 | !endif |
125 | |||
1587 | bpr | 126 | !set wims_menu_items=!append line back2,1,cmd=resume\ |
127 | to $wims_menu_items |