Stud.IP
6.0
|
Variables | |
$options = $vote->questiondata['options'] | |
if(count($answers) > 0) foreach($options as $option_index=> $option) | $names = [] |
foreach($answers as $answer) if($option_index===0 &&count($answers)) Ã<?=htmlReady(str_replace('.', ',',(string) round( $average, 2)+1)) ?></div ><? endif ?><? $bubble_width=70;$font_size=2.5;if( $countAnswers===1) { $bubble_width/=3;$font_size/=3;} elseif( $countAnswers===2) { $bubble_width/=2;$font_size/=2;} elseif( $countAnswers===3) { $bubble_width/=1.5;$font_size/=1.5;} ?><? if(count( $answers) > return | false = count($names) > 0 ? 'title="'.htmlReady(implode(', ', $names)).'"' : '' |
title | else = round(100 * $hits / $countAnswers) |
title | _ = _("gespeichert") |
$options = $vote->questiondata['options'] |
< div class="progress"></div >< div class="progresstext"></div ></div ></div >< label style="cursor: pointer">< input type="file" id="fileupload" multiple onChange="STUDIP.Messages.upload_from_input(this)" style="display: none"><?=Icon::create( 'upload', 'clickable', [ 'title'=> _ = _("gespeichert") |
title else = round(100 * $hits / $countAnswers) |
return false = count($names) > 0 ? 'title="'.htmlReady(implode(', ', $names)).'"' : '' |