voting options and new motion links for board members only

git-svn-id: http://svn.cacert.cl/Software/Voting/vote@56 d4452222-2f33-11de-9270-010000000000
reality
community.cacert.org 16 years ago
parent 20b974bff2
commit 5db0fa272a

@ -109,7 +109,7 @@ BODY;
</td> </td>
<td class="actions"> <td class="actions">
<?php <?php
if ($row['status'] == 0) { if ($row['status'] == 0 && $user ) {
?> ?>
<ul> <ul>
<li><a href="vote.php?motion=<?php echo($row['id']); ?>&amp;vote=1">Aye</a></li> <li><a href="vote.php?motion=<?php echo($row['id']); ?>&amp;vote=1">Aye</a></li>
@ -137,9 +137,7 @@ BODY;
<?php if ($items>9) { ?><a href="?page=<?php echo($page+1); ?>">&gt;</a><?php } else { ?>&nbsp;<?php } ?> <?php if ($items>9) { ?><a href="?page=<?php echo($page+1); ?>">&gt;</a><?php } else { ?>&nbsp;<?php } ?>
</td> </td>
<td class="actions"> <td class="actions">
<ul> <?php if ($user) echo('<ul><li><a href="motion.php">New Motion</a></li></ul>'); ?>
<li><a href="motion.php">New Motion</a></li>
</ul>
</td> </td>
</tr> </tr>
<?php <?php

Loading…
Cancel
Save