From 3bf5951bf582419f9a29943c7b8e55352bbdfadf Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 27 Nov 2012 23:39:18 -0800 Subject: [PATCH] Gui fixes in poll plugin --- e107_plugins/poll/poll_class.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/e107_plugins/poll/poll_class.php b/e107_plugins/poll/poll_class.php index bc94496e8..d0084c5f8 100644 --- a/e107_plugins/poll/poll_class.php +++ b/e107_plugins/poll/poll_class.php @@ -576,7 +576,7 @@ class poll $text .= "
"; } - $text .="
+ $text .="
@@ -624,11 +624,13 @@ class poll if (isset($_POST['preview']) || varset($_POST['edit'])) { - $text .= " "; + // $text .= " "; + $text .= $frm->admin_button('preview',POLLAN_24,'other'); if (POLLACTION == 'edit') { - $text .= " + $text .= $frm->admin_button('submit',POLLAN_22,'submit')." + "; } else @@ -639,7 +641,7 @@ class poll } else { - $text .= $frm->admin_button('preview','no-value','preview',POLLAN_24); + $text .= $frm->admin_button('preview','no-value','other',POLLAN_24); // $text .= " "; }