pearweb_election
[ class tree: pearweb_election ] [ index: pearweb_election ] [ all elements ]

Source for file confirmed.tpl.php

Documentation is available at confirmed.tpl.php

  1. <?php response_header('Vote :: ' htmlspecialchars($info['purpose']))?>
  2. <h1>Vote in PEAR Election :: <?php echo htmlspecialchars($info['purpose'])?></h1>
  3.  
  4. <?php if (isset($error))?>
  5. <div class="errors"><?php echo $error?></div>
  6. <?php endif; // if (isset($error)): ?>
  7. <h2>Detail on the election</h2>
  8. <?php echo $info['detail']?>
  9. <h2>Your Vote:</h2>
  10. <table>
  11.  <tr>
  12.   <td class="form-input">
  13.    <table>
  14.     <?php foreach ($info['choices'as $choice)?>
  15.     <tr>
  16.      <?php if (in_array($choice['choice']$info['vote']true))?>
  17.      <td><strong>X</strong></td>
  18.      <?php else: // if (in_array($choice['choice'], $info['vote'], true)): ?>
  19.      <td>&nbsp;</td>
  20.      <?php endif; // if (in_array($choice['choice'], $info['vote'], true)): ?>
  21.     <td>
  22.      <?php echo htmlspecialchars($choice['summary'])?>
  23.     </td>
  24.    </tr>
  25.    <?php endforeach; // foreach ($info['choices'] as $choice): ?>
  26.    </table>
  27.   </td>
  28.  </tr>
  29. </table>
  30. <?php if ($info['abstain'])?>
  31. <p><strong>(ABSTAIN)</strong></p>
  32. <?php endif; // if ($info['abstain']): ?>
  33. <h2>IMPORTANT:</h2>
  34. <p>
  35.  Your vote serial number for this election is <strong><?php echo $salt?></strong>.
  36.  Please write this number down, as it is the only way to retrieve your vote from the database
  37.  and will not be stored to maintain the secret ballot.  If you lose this number, there is
  38.  no way to connect you to your actual vote.
  39. </p>
  40. <p>
  41.  The database does store a record of whether you have voted however, so you will not be
  42.  allowed to vote again in this election.  Thank you for voting!
  43. </p>
  44. <p>
  45.  <a href="/election/">Return to Elections</a>
  46. </p>

Documentation generated on Mon, 11 Mar 2019 15:34:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.