Source for file confirm.tpl.php
Documentation is available at confirm.tpl.php
<h1>Vote in PEAR Election :: <?php echo htmlspecialchars($info['purpose']); ?></h1>
<?php if (isset ($error)): ?>
<div class="errors"> <?php echo $error; ?></div>
<?php endif; // if (isset($error)): ?>
<h2>Detail on the election</h2>
<?php echo $info['detail']; ?>
<h2>Your Vote (PLEASE CONFIRM BELOW, YOUR VOTE IS NOT SAVED):</h2>
<form action="/election/info.php" method="post">
<input type="hidden" name="election" value=" <?php echo $info['id']; ?>" />
<?php foreach ($info['choices'] as $choice): ?>
<?php if (in_array($choice['choice'], $info['vote'], true )): ?>
<input type="hidden" name="vote[]" value=" <?php echo $choice['choice']; ?>" />
<td><strong>X</strong></td>
<?php else: // if (in_array($choice['choice'], $info['vote'], true)): ?>
<?php endif; // if (in_array($choice['choice'], $info['vote'], true)): ?>
<?php endforeach; // foreach ($info['choices'] as $choice): ?>
<?php if ($info['abstain']): ?>
<p><strong>(ABSTAIN)</strong></p>
<input type="hidden" name="abstain" value="1" />
<h1>are you SURE you wish to abstain?</h1>
<table border="0" width="400">
<td><input type="submit" name="finalvote" value=" <?php echo $info['abstain'] ? 'Abstain' : 'Confirm Vote'; ?>" /></td>
<td align="center"><input type="button" name="abstain" value="<< Back" onclick="javascript:back()"/></td>
Documentation generated on Mon, 11 Mar 2019 15:34:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|