VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: doorknob on August 12, 2008, 15:01:33 PM

Title: Bug: browse_search_parameter_form.tpl.php
Post by: doorknob on August 12, 2008, 15:01:33 PM
The same text string is used for the value and the id of the submit button. This causes an error because a space is not permitted in the id.
I changed line 8 from:
<input type="submit" class="button" id="<?php echo $VM_LANG->_('PHPSHOP_PARAMETER_SEARCH_CHANGE_PARAMETERS'?>" name="edit" value="<?php echo $VM_LANG->_('PHPSHOP_PARAMETER_SEARCH_CHANGE_PARAMETERS'?>" />

to:
<input type="submit" class="button" id="change_parameters" name="edit" value="<?php echo $VM_LANG->_('PHPSHOP_PARAMETER_SEARCH_CHANGE_PARAMETERS'?>" />

Note: The ID value does not need to be in the language file.

Regards
Phil
using J1.5.3 with vm nightly update from 8th Aug