Rev 14297 | Rev 14572 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14297 | Rev 14537 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !! display freework page for student |
1 | !! display freework page for student type=1 or type=2 |
2 | 2 | ||
3 | !if $emptypage=yes |
3 | !if $emptypage=yes |
4 | !exit |
4 | !exit |
5 | !endif |
5 | !endif |
6 | 6 | ||
Line 8... | Line 8... | ||
8 | 8 | ||
9 | <fieldset class="property_fields blockcenter"> |
9 | <fieldset class="property_fields blockcenter"> |
10 | <legend>$(name_subject)</legend> |
10 | <legend>$(name_subject)</legend> |
11 | <div> |
11 | <div> |
12 | <ul class="inline"> |
12 | <ul class="inline"> |
13 | !for f in $( |
13 | !for f in $(flistsubject) |
14 | <li class="text-icon file"> |
14 | <li class="text-icon file"> |
15 | !getfile freeworks/$freework/$f $f |
15 | !getfile freeworks/$freework/$f $f |
16 | </li> |
16 | </li> |
17 | !next f |
17 | !next f |
18 | </ul> |
18 | </ul> |
Line 41... | Line 41... | ||
41 | !if $activetest>=2 |
41 | !if $activetest>=2 |
42 | $name_copie_toolate2 |
42 | $name_copie_toolate2 |
43 | !else |
43 | !else |
44 | !if $toolate=yes |
44 | !if $toolate=yes |
45 | <div class="field box fullwidth"> |
45 | <div class="field box fullwidth"> |
46 | $name_copie_toolate |
46 | $name_copie_toolate |
47 | !read adm/date.phtml $deadline |
47 | !read adm/date.phtml $deadline |
48 | $l_date_out |
- | |
49 | $wims_name_at |
48 | $l_date_out $wims_name_at |
50 | !replace internal : by H in $(timedeadline). |
49 | !replace internal : by H in $(timedeadline). |
51 | </div> |
50 | </div> |
52 | !else |
51 | !else |
53 | <div class="field box fullwidth"> |
52 | <div class="field box fullwidth"> |
54 | $name_copie_type2 |
53 | $name_copie_type2 |
55 | !read adm/date.phtml $deadline |
54 | !read adm/date.phtml $deadline |
56 | $l_date_out |
- | |
57 | $wims_name_at |
55 | $l_date_out $wims_name_at |
58 | !replace internal : by H in $(timedeadline). |
56 | !replace internal : by H in $(timedeadline). |
- | 57 | !if $seealltime=1 |
|
- | 58 | <div>$name_warningseealltime</div> |
|
- | 59 | !endif |
|
59 | </div> |
60 | </div> |
60 | !endif |
61 | !endif |
61 | !if $data_0!=$empty |
62 | !if $data_0!=$empty |
62 | <div class="field box fullwidth"> |
63 | <div class="field box fullwidth"> |
63 | $name_oldwork |
64 | $name_oldwork |
64 | !getfile freeworksdata/work$freework-$(data_0[2]) $(data_0[2]) |
65 | !getfile freeworksdata/work$freework-$(data_0[2]) $(data_0[2]) |
65 | $name_the |
66 | $name_the |
66 | !read adm/date.phtml $(data_0[3]) |
67 | !read adm/date.phtml $(data_0[3]) |
67 | $l_date_out |
- | |
68 | $wims_name_at |
68 | $l_date_out $wims_name_at |
69 | !replace internal : by H in $(data_0[4]). |
69 | !replace internal : by H in $(data_0[4]). |
70 | </div> |
70 | </div> |
71 | !endif |
71 | !endif |
72 | !if $toolate=$empty |
72 | !if $toolate=$empty |
73 | <div class="field box fullwidth"> |
73 | <div class="field box fullwidth"> |
Line 80... | Line 80... | ||
80 | <label for="wims_deposit">$name_depos</label> |
80 | <label for="wims_deposit">$name_depos</label> |
81 | <input type="file" size="35" name="wims_deposit" /> |
81 | <input type="file" size="35" name="wims_deposit" /> |
82 | <div class="formHelp">$name_copie_type2bis.</div> |
82 | <div class="formHelp">$name_copie_type2bis.</div> |
83 | <input type="submit" value="$wims_name_tosave" /> |
83 | <input type="submit" value="$wims_name_tosave" /> |
84 | !formend |
84 | !formend |
- | 85 | !else |
|
- | 86 | $name_warning_fullclass |
|
85 | !endif |
87 | !endif |
86 | </div> |
88 | </div> |
87 | !endif |
89 | !endif |
88 | !endif |
90 | !endif |
89 | !endif |
91 | !endif |
90 | </fieldset> |
92 | </fieldset> |
91 | !endif |
93 | !endif |
92 | 94 | ||
93 | !if $codownload= |
95 | !if $codownload=1 or $activetest>=2 |
94 | <fieldset class="property_fields blockcenter"> |
96 | <fieldset class="property_fields blockcenter"> |
95 | <legend>$(name_correctedwork)</legend> |
97 | <legend>$(name_correctedwork)</legend> |
96 | <div> |
98 | <div class="field box"> |
- | 99 | !if $(data_0[5])!=$empty |
|
- | 100 | !if $codownload=1 |
|
97 | !getfile freeworksdata/workco$freework-$(data_0[5]) $(data_0[5]) |
101 | !getfile freeworksdata/workco$freework-$(data_0[5]) $(data_0[5]) |
- | 102 | !else |
|
- | 103 | $(name_nomorecodownload). |
|
- | 104 | !endif |
|
- | 105 | !else |
|
- | 106 | $name_nouploaded |
|
- | 107 | !endif |
|
98 | </div> |
108 | </div> |
- | 109 | !if $scoring>0 |
|
- | 110 | <div class="field box"> |
|
- | 111 | !let k_=!positionof item $wims_user in $uulist |
|
- | 112 | !if $k_!=$empty |
|
- | 113 | !let t_=!record $[$k_+1] of wimshome/log/classes/$wims_class/.grades |
|
- | 114 | !let t_=!item $[$scoring+2] of $t_ |
|
- | 115 | !else |
|
- | 116 | !let t_=$empty |
|
- | 117 | !endif |
|
- | 118 | <strong>$(name_score)</strong> |
|
- | 119 | !if $t_!=$empty |
|
- | 120 | $t_/$maxscore |
|
- | 121 | !else |
|
- | 122 | $name_noscore |
|
- | 123 | !endif |
|
- | 124 | </div> |
|
- | 125 | !endif |
|
99 | </fieldset> |
126 | </fieldset> |
100 | !endif |
127 | !endif |
101 | 128 | ||
102 | 129 | ||
103 | <fieldset class="property_fields blockcenter"> |
130 | <fieldset class="property_fields blockcenter"> |
104 | <legend>$(name_solution)</legend> |
131 | <legend>$(name_solution)</legend> |
105 | !if $displaysolution=1 |
132 | !if $displaysolution=1 |
106 | <div> |
133 | <div> |
107 | <ul class="inline"> |
134 | <ul class="inline"> |
108 | !for f in $( |
135 | !for f in $(flistsolution) |
109 | <li class="text-icon file"> |
136 | <li class="text-icon file"> |
110 | !getfile freeworks/$freework/$f $f |
137 | !getfile freeworks/$freework/$f $f |
111 | </li> |
138 | </li> |
112 | !next f |
139 | !next f |
113 | </ul> |
140 | </ul> |