// 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'),
);
// Add form id as well
- $formContent .= sprintf(" id=\"%s_form\'',
+ $formContent .= sprintf(" id=\"%s_form\"",
$formId
);
} // END - if
// Set wether the check box is checked...
- $checked = " checked=\"checked\'';
+ $checked = " checked=\"checked\"";
if ($fieldChecked === false) $checked = " ";
// Generate the content