intotherainbow Posted April 1, 2010 Share Posted April 1, 2010 {capture name=path}{l s='Suppliers'}{/capture}这里面 l s 是什么?谢谢 Link to comment Share on other sites More sharing options...
intotherainbow Posted April 1, 2010 Author Share Posted April 1, 2010 补充一下,是在supplier-list.tpl中还有 这也有 l s {l s='Suppliers'} Link to comment Share on other sites More sharing options...
Star Posted April 1, 2010 Share Posted April 1, 2010 补充一下,是在supplier-list.tpl中还有 这也有 l s{l s='Suppliers'} It is being used for translation. If your use these code {l s=' xxxx '}, then the text can be translatable in the back office under translation tab. Link to comment Share on other sites More sharing options...
21846657 Posted April 2, 2010 Share Posted April 2, 2010 这里面 l s 是什么? 是smarty代码,代表SmaryTranslate function,其中s为$string;可以形象地理解为language string。用法参考上面D。 Link to comment Share on other sites More sharing options...
intotherainbow Posted April 2, 2010 Author Share Posted April 2, 2010 ok,thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now