Rev 16280 | Rev 17180 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16280 | Rev 16807 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | !endif |
51 | !endif |
52 | 52 | ||
53 | <br class="spacer" /> |
53 | <br class="spacer" /> |
54 | 54 | ||
55 | !if $manual>0 and $gcnt>0 and $teacher!=$empty |
55 | !if $manual>0 and $gcnt>0 and $teacher!=$empty |
- | 56 | !if $class_hideaverage!=yes |
|
56 | $table_header |
57 | $table_header |
57 | <caption><span class="small"> |
58 | <caption><span class="small"> |
58 | $name_minmax: |
59 | $name_minmax: |
59 | $min_glob/$mean_glob/$max_glob</span></caption> |
60 | $min_glob/$mean_glob/$max_glob</span></caption> |
60 | <thead> |
61 | <thead> |
Line 72... | Line 73... | ||
72 | <td>100%</td> |
73 | <td>100%</td> |
73 | !read adm/class/colors $[ceil(10*$globalav/$scoremax)] |
74 | !read adm/class/colors $[ceil(10*$globalav/$scoremax)] |
74 | <td style=$style_note>$globalav</td></tr> |
75 | <td style=$style_note>$globalav</td></tr> |
75 | </tbody> |
76 | </tbody> |
76 | $table_end |
77 | $table_end |
- | 78 | !endif |
|
77 | 79 | ||
78 | !set table_id=TABLE_manual |
80 | !set table_id=TABLE_manual |
79 | !set table_class=sortable |
81 | !set table_class=sortable |
80 | $table_header |
82 | $table_header |
81 | <thead> |
83 | <thead> |
Line 101... | Line 103... | ||
101 | <td style=$style_note>$mav</td></tr> |
103 | <td style=$style_note>$mav</td></tr> |
102 | </tfood> |
104 | </tfood> |
103 | $table_end |
105 | $table_end |
104 | !read tablesort.phtml |
106 | !read tablesort.phtml |
105 | !else |
107 | !else |
- | 108 | !if $class_hideaverage!=yes |
|
106 | <div class="wimscenter"> |
109 | <div class="wimscenter"> |
107 | $name_globalaverage: <b>$per</b> / $scoremax. |
110 | $name_globalaverage: <b>$per</b> / $scoremax. |
108 | !if $min_glob<$scoremax |
111 | !if $min_glob<$scoremax |
109 | <br /><span class="small">$name_minmax: |
112 | <br /><span class="small">$name_minmax: |
110 | $min_glob/$mean_glob/$max_glob</span> |
113 | $min_glob/$mean_glob/$max_glob</span> |
111 | !endif |
114 | !endif |
112 | </div> |
115 | </div> |
113 | !endif |
116 | !endif |
114 | 117 | !endif |
|
115 | 118 | ||
116 | !!readdef wimshome/log/classes/$wims_class/.def |
119 | !!readdef wimshome/log/classes/$wims_class/.def |
117 | !!default class_topscores=0 |
120 | !!default class_topscores=0 |
118 | !if $class_topscores>0 |
121 | !if $class_topscores>0 and $class_hideaverage!=yes |
119 | 122 | ||
120 | $table_header$table_hdtr<th colspan="2">$name_topten</td></tr> |
123 | $table_header$table_hdtr<th colspan="2">$name_topten</td></tr> |
121 | !for i=1 to $class_topscores |
124 | !for i=1 to $class_topscores |
122 | !set L=!line $i of $TT |
125 | !set L=!line $i of $TT |
123 | !if $class_anonymtopscores=yes |
126 | !if $class_anonymtopscores=yes |