randompoll w3c bug

n00bster
n00bster
  • n00bster
  • 14 months ago
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);?>//cdn.shondalai.com/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.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai