so I find the CreateInputCheckbox function in
\modules\Comments\action.default.php
Code: Select all
$this->smarty->assign_by_ref('inputnotify', $this->CreateInputCheckbox($id, 'authornotify', 1, $authornotify));\lib\classes\class.module.inc.php
Code: Select all
function CreateInputCheckbox($id, $name, $value='', $selectedvalue='', $addttext='')
{
$this->LoadFormMethods();
return cms_module_CreateInputCheckbox($this, $id, $name, $value, $selectedvalue, $addttext);
}\lib\classes\module_support\modform.inc.php
Code: Select all
function cms_module_CreateInputCheckbox(&$modinstance, $id, $name, $value='', $selectedvalue='', $addttext='')
{
$id = cms_htmlentities($id);
$name = cms_htmlentities($name);
$value = cms_htmlentities($value);
$selectedvalue = cms_htmlentities($selectedvalue);
$text = '<input type="checkbox" class="cms_checkbox" name="'.$id.$name.'" value="'.$value.'"';
if ($selectedvalue == $value)
{
$text .= ' ' . 'checked="checked"';
}
if ($addttext != '')
{
$text .= ' '.$addttext;
}
$text .= " />\n";
return $text;
}And I check the BO, all of the checkboxes are not assigned class either.
Is there anyone know about these problem?
thank you.


