word wrap
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Fri, 12 Jun 2009 04:55:32 +0000 (04:55 +0000)
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Fri, 12 Jun 2009 04:55:32 +0000 (04:55 +0000)
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@57 d4452222-2f33-11de-9270-010000000000

motions.php

index 6de0beb..4d96519 100644 (file)
@@ -87,7 +87,7 @@ BODY;
                                                <td>
                                                <i><a href="motions.php?motion=<?php echo $row['tag'].'">'.$row['tag']; ?></a></i><br/>
                                                <b><?php echo htmlspecialchars($row['title']); ?></b><br/>
-                                               <pre><?php echo htmlspecialchars($row['content']); ?></pre>
+                                               <pre><?php echo wordwrap(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/>