We use OpenCart 1.5+ and find that our saved Admin username autofills into the search box on the shop side. Also does this on other form data.
This happens in Chrome and Firefox.
I have seen a VQMod being implemeted to help prevent this, any other ideas on how to fix
答案 0 :(得分:0)
使用VQmod修复
<file name="/catalog/view/theme/*/template/common/header.tpl">
<operation>
<search position="replace"><![CDATA[
<input type="text" name="search" placeholder="<?php echo $text_search; ?>" value="<?php echo $search; ?>" />
]]></search>
<add><![CDATA[
<input type="password" style="display:none;" /><input type="text" name="search" placeholder="<?php echo $text_search; ?>" value="<?php echo $search; ?>" />
]]></add>
</operation>
</file>