Skip to main content

randompoll w3c bug

1.1K Views
0 Replies
1 min read
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
<input
type="<?php echo $poll->type; ?>"
name="option_id"
id="cprp-option-<?php echo $cp_option->id; ?>"
value="<?php echo $cp_option->id; ?>">the ending should look like this /> instead this >

example:<input type="submit" value="Submit" />

Update:
Next dirty closing bug is in the same file on line 33
now:<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;">
should be:<img id="" alt="" scr="" style="" />

0 Replies

No Replies Yet

Topic Author

N

n00bster

@n00bster

Topic Stats

Created Friday, 15 October 2010 02:45
Last Updated Friday, 15 October 2010 02:45
Replies 0
Views 1.1K
Likes 0

Share This Topic