Some wrongly rewritten quotes fixed
[core.git] / inc / classes / main / helper / web / forms / class_WebFormHelper.php
index b816c337ed2c9f57db4537ca59093fef2196e180..e20545f0d254246a2e90694eae6073aaed0be568 100644 (file)
@@ -114,7 +114,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
                // Check wether we shall open or close the form
                if (($this->formOpened === false) && ($this->formEnabled === true)) {
                        // Add HTML code
-                       $formContent = sprintf("<form name=\"%s\" class=\"forms\" action=\"%s/%s\" method=\"%s\" target=\"%s\'',
+                       $formContent = sprintf("<form name=\"%s\" class=\"forms\" action=\"%s/%s\" method=\"%s\" target=\"%s\"",
                                $formName,
                                $this->getConfigInstance()->readConfig('base_url'),
                                $this->getConfigInstance()->readConfig('form_action'),
@@ -123,7 +123,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
                        );
 
                        // Add form id as well
-                       $formContent .= sprintf(" id=\"%s_form\'',
+                       $formContent .= sprintf(" id=\"%s_form\"",
                                $formId
                        );
 
@@ -296,7 +296,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
                } // END - if
 
                // Set wether the check box is checked...
-               $checked = " checked=\"checked\'';
+               $checked = " checked=\"checked\"";
                if ($fieldChecked === false) $checked = " ";
 
                // Generate the content