From ea4bee9a277053dd15f86d6119d553214056108b Mon Sep 17 00:00:00 2001 From: "community.cacert.org" Date: Wed, 27 May 2009 07:14:23 +0000 Subject: [PATCH] php functions for escaping git-svn-id: http://svn.cacert.cl/Software/Voting/vote@42 d4452222-2f33-11de-9270-010000000000 --- motion.php | 16 +++++----------- motions.php | 4 ++-- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/motion.php b/motion.php index 4672cf7..71fe4b7 100644 --- a/motion.php +++ b/motion.php @@ -16,12 +16,6 @@ } $db->getStatement("stats")->execute(); $stats = $db->getStatement("stats")->fetch(); - function htmlesc($string) { - $string = preg_replace('/&/',"&",$string); - $string = preg_replace('//',">",$string); - echo $string; - } ?> @@ -179,11 +173,11 @@ BODY; } ?> - - - - - + + + + +
ID:
Proponent:
Proposed: UTC
Title:
Text:
ID:
Proponent:
Proposed: UTC
Title:
Text:
Quorum: '.$row['tag']; ?>
-
-
+
+

Due: UTC
Proposed: ( UTC)