randompoll w3c bug
randompoll w3c bug
w3c says there is a wrong ending tag of an input field.
i checked the module and i found a little bug.
file:
root/modules/mod_randompoll/tmpl/default.php line 26
[code=php]<input
type="<?php echo $poll->type; ?>"
name="option_id[]"
id="cprp-option-<?php echo $cp_option->id; ?>"
value="<?php echo $cp_option->id; ?>">[/code]the ending should look like this /> instead this >
example:[code=php]<input type="submit" value="Submit" />[/code]
Update:
Next dirty closing bug is in the same file on line 33
now:[code=php]<img
id="cprp-loadingImg"
alt="<?php echo JText::_('LOADING'); ?>"
src="<?php echo JURI::base(true);?>/components/com_communitypolls/assets/images/loading.gif"
style="display: none; vertical-align: middle;">[/code]
should be:[code=php]<img id="" alt="" scr="" style="" />[/code]
i checked the module and i found a little bug.
file:
root/modules/mod_randompoll/tmpl/default.php line 26
[code=php]<input
type="<?php echo $poll->type; ?>"
name="option_id[]"
id="cprp-option-<?php echo $cp_option->id; ?>"
value="<?php echo $cp_option->id; ?>">[/code]the ending should look like this /> instead this >
example:[code=php]<input type="submit" value="Submit" />[/code]
Update:
Next dirty closing bug is in the same file on line 33
now:[code=php]<img
id="cprp-loadingImg"
alt="<?php echo JText::_('LOADING'); ?>"
src="<?php echo JURI::base(true);?>/components/com_communitypolls/assets/images/loading.gif"
style="display: none; vertical-align: middle;">[/code]
should be:[code=php]<img id="" alt="" scr="" style="" />[/code]
Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.