2012-08-04 38 views
0

的H1 HTML代碼,客戶登錄頁面我的Magento模板的奇怪的東西?

<h1 class="translate-inline" 
translate="[{shown:'Create an Account',translated:'Create an Account',original:'Create an Account',location:'Heading level 1',scope:'Mage_Customer'}]"> 
Create an Account 
</h1> 

並有

<span class="translate-inline-title translate-inline" 
translate="[{shown:'Create New Customer Account',translated:'Create New Customer Account',original:'Create New Customer Account',location:'Page title',scope:'Mage_Customer'}]"> 
TITLE 
</span> 

body的html代碼下。

我發現所有這些將有那些無用的代碼,如果它是由echo $this->__()生成的。我如何刪除無用的代碼?

回答

2

看起來像Magento的inline translations已啓用。您可以在管理員下禁用它System > Configuration > Developer > Translate Inline > Enabled for frontend