Author Topic: Bug: browse_search_parameter_form.tpl.php  (Read 1884 times)

doorknob

  • Jr. Member
  • **
  • Posts: 151
Bug: browse_search_parameter_form.tpl.php
« 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:
Code: [Select]
<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:
Code: [Select]
<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