diff options
author | community.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000> | 2009-05-30 02:57:39 +0000 |
---|---|---|
committer | community.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000> | 2009-05-30 02:57:39 +0000 |
commit | 2538da0568066676379b68e13278340147db76c7 (patch) | |
tree | 81a361d4191c451ca9c756c2188ba3afd19ab106 /motions.php | |
parent | f7e4cbc5105c8c33d61a1bbf8047ebc13d092913 (diff) | |
download | cacert-boardvoting-2538da0568066676379b68e13278340147db76c7.tar.gz cacert-boardvoting-2538da0568066676379b68e13278340147db76c7.tar.xz cacert-boardvoting-2538da0568066676379b68e13278340147db76c7.zip |
voting types now all implemented. majority and quorum removed from database
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@52 d4452222-2f33-11de-9270-010000000000
Diffstat (limited to 'motions.php')
-rw-r--r-- | motions.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/motions.php b/motions.php index f4ebdac..38fc34d 100644 --- a/motions.php +++ b/motions.php @@ -85,14 +85,13 @@ BODY; ?> </td> <td> - <i><a href="motions.php?id=<?php echo $row['tag'].'">'.$row['tag']; ?></a></i><br/> + <i><a href="motions.php?motion=<?php echo $row['tag'].'">'.$row['tag']; ?></a></i><br/> <b><?php echo htmlentities($row['title']); ?></b><br/> <pre><?php echo htmlspecialchars($row['content']); ?></pre> <br/> <i>Due: <?php echo($row['due']); ?> UTC</i><br/> <i>Proposed: <?php echo($row['proposer']); ?> (<?php echo($row['proposed']); ?> UTC)</i><br/> - <i>Required Votes: <?php echo($row['quorum']); ?></i><br/> - <i>Majority: <?php echo($row['majority']); ?>%</i><br/> + <i>Vote type: <?php echo(!$row['votetype']?'motion':'veto'); ?></i><br/> <i>Aye|Naye|Abstain: <?php echo($row['ayes']); ?>|<?php echo($row['nayes']); ?>|<?php echo($row['abstains']); ?></i><br/> <?php if ($row['status'] ==0 || $_REQUEST['showvotes']) { |