0) { $participation = $total / $active_tus; } else { $participation = 0; } if ($yes > $active_tus / 2) { $vote_accepted = true; } elseif ($participation > $quorum && $yes > $no) { $vote_accepted = true; } else { $vote_accepted = false; } ?>
= __("This vote is still running.") ?>
= __("User") ?>:
= $row['User'] ?>
N/A
= __("Submitted: %s by %s", date("Y-m-d H:i", $row['Submitted']), html_format_username(username_from_id($row['SubmitterID']))) ?>
= __("End") ?>:
= date("Y-m-d H:i", $row['End']) ?>
= __("Result") ?>:
= __("unknown") ?>
= __("Accepted") ?>
= __("Rejected") ?>
= str_replace("\n", "
\n", htmlspecialchars($row['Agenda'])) ?>
= __("Yes") ?> | = __("No") ?> | = __("Abstain") ?> | = __("Total") ?> | = __('Voted') ?> | = __('Participation') ?> | |
---|---|---|---|---|---|---|
= $yes ?> | = $no ?> | = $abstain ?> | = $total ?> | = __("No") ?> = __("Yes") ?> | 0): ?>= number_format($participation * 100, 2) ?>% | = __("unknown") ?> |