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

Source for file pending.tpl.php

Documentation is available at pending.tpl.php

  1. <?php response_header('Results')?>
  2. <h2>Pending Election for <?php echo $info['purpose'?>:</h2>
  3. <table>
  4.  <tr>
  5.   <th class="form-label_left">Election Issue</td>
  6.   <td class="form-input"><?php echo $info['detail'?></td>
  7.  </tr>
  8.  <tr>
  9.   <th class="form-label_left">Eligible Voters</td>
  10.   <td class="form-input"><?php echo $info['eligiblevoters'== 1 ? 
  11.     'PEAR Developers' 'General PHP Public' ?></td>
  12.  </tr>
  13.  <tr>
  14.   <th class="form-label_left">Election dates</th>
  15.   <td class="form-input"><?php echo $info['votestart'' until ' .
  16.     $info['voteend']?></td>
  17.  </tr>
  18.  <tr>
  19.   <th class="form-label_left">Choices</th>
  20.   <td class="form-input">
  21.    <table>
  22.     <tr><th>Choice</th><th>More Info</th></td></tr>
  23.    <?php
  24.   foreach ($info['choices'as $choice{
  25.       echo '<tr><td>' htmlspecialchars($choice['summary']'</td><td><a href="' ,
  26.            $choice['summary_link''">'htmlspecialchars($choice['summary_link'],
  27.            '</a></td></tr>';
  28.   }
  29.    ?>
  30.    </table>
  31.   </td>
  32.  </tr>
  33. </table>
  34. <a href="/election/"><< Back to elections list</a>
  35. <?php response_footer();

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