Rev 16085 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16085 | Rev 16736 | ||
---|---|---|---|
Line 81... | Line 81... | ||
81 | !endif |
81 | !endif |
82 | 82 | ||
83 | !if $display_oeflegend issametext yes |
83 | !if $display_oeflegend issametext yes |
84 | !read oef/color_legend.phtml |
84 | !read oef/color_legend.phtml |
85 | !endif |
85 | !endif |
86 | - | ||
- | 86 | !set scorestat=!getscorestatus sheet=$wims_sheet |
|
87 | !if $feedbackcnt>0 and \ |
87 | !if $feedbackcnt>0 and \ |
88 | ($givefeed=$empty or $givefeed=-1 or ($givefeed=1 and ($score=10 or $seedlastcnt>=$seedrepeat))\ |
88 | ($givefeed=$empty or $givefeed=-1 or ($givefeed=1 and ($score=10 or $seedlastcnt>=$seedrepeat))\ |
89 | or ($givefeed>=2 and $seedcnt>=$givefeed and ($score=10 or $seedlastcnt>=$seedrepeat))\ |
89 | or ($givefeed>=2 and $seedcnt>=$givefeed and ($score=10 or $seedlastcnt>=$seedrepeat))\ |
90 | or ($givefeed>=1 and _exam isin $wims_session)\ |
90 | or ($givefeed>=1 and _exam isin $wims_session)\ |
- | 91 | or ($givefeed=-2 and $scorestat=no)\ |
|
91 | ) |
92 | ) |
92 | <div class="oef_feedbacks" style="clear:left;"> |
93 | <div class="oef_feedbacks" style="clear:left;"> |
93 | !read $deffile feedback |
94 | !read $deffile feedback |
94 | </div> |
95 | </div> |
95 | !endif |
96 | !endif |
Line 111... | Line 112... | ||
111 | !endif |
112 | !endif |
112 | !!end of .content |
113 | !!end of .content |
113 | </div> |
114 | </div> |
114 | !!end of .answer_analysis |
115 | !!end of .answer_analysis |
115 | </div> |
116 | </div> |
116 | - | ||
117 | !!presentsol=1 deprecated |
117 | !!presentsol=1 deprecated |
118 | !! givesol=1: always if $score=10 or at the last try of all versions |
118 | !! givesol=1: always if $score=10 or at the last try of all versions |
119 | !if $solution!=$empty and ($givesol=$empty or (($presentsol=1 and $score<10)\ |
119 | !if $solution!=$empty and ($givesol=$empty or (($presentsol=1 and $score<10)\ |
120 | or ($givesol=1 and ($score=10 or $seedlastcnt>=$seedrepeat))\ |
120 | or ($givesol=1 and ($score=10 or $seedlastcnt>=$seedrepeat))\ |
121 | or ($givesol>=2 and $seedcnt>=$givesol and ($score=10 or $seedlastcnt>=$seedrepeat))\ |
121 | or ($givesol>=2 and $seedcnt>=$givesol and ($score=10 or $seedlastcnt>=$seedrepeat))\ |
122 | or ($givesol>=1 and _exam isin $wims_session)\ |
122 | or ($givesol>=1 and _exam isin $wims_session)\ |
- | 123 | or ($givesol=-1 and $scorestat=no)\ |
|
123 | )) |
124 | )) |
124 | <div class="wims_widget_box clearall"> |
125 | <div class="wims_widget_box clearall"> |
125 | <div class="title_box"> |
126 | <div class="title_box"> |
126 | <input type="button" class="wims_button wims_secondary_button float_right small" |
127 | <input type="button" class="wims_button wims_secondary_button float_right small" |
127 | id="button_print" value="$name_sol_print" |
128 | id="button_print" value="$name_sol_print" |