From c2b65f2b7bffeed46a2981f4eeb04e063c379ac0 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Wed, 23 May 2012 15:22:51 -0400 Subject: action_form.php: Pull out DB code * Create new functions in pkgfuncs.inc.php with SQL queries from action_form.php * Centralization of DB code important in a future transition to PDO interface * Flip logic of vote and notify XHTML button to use function return rather than a more confusing NOT (!) logical operator statement Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/template/actions_form.php | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) (limited to 'web/template') diff --git a/web/template/actions_form.php b/web/template/actions_form.php index 59a6e7a..e5ab7c2 100644 --- a/web/template/actions_form.php +++ b/web/template/actions_form.php @@ -3,33 +3,17 @@
- - " /> - + + " /> - + + " /> - - " title="" /> - + + " title="" /> - + + " title="" /> -- cgit v1.2.3-54-g00ecf