[eluser]Dyllon[/eluser]
[quote author="shinokada" date="1263166837"]I want to add $this->lang->line('general_shopping_cart') instead of 'checkout'.
Can I do it inside the form_submit?
Code:
echo "<td colspan='2'>".form_submit('submit', 'checkout')."</td>\n";
or how to add lang in anchor?
$this->lang->line('general_go_back') instead of 'go back to your shopping cart'.
Code:
echo anchor("cecilieokada/cart", "go back to your shopping cart");
[/quote]
Use the language helper
Code:
echo "<td colspan='2'>".form_submit('submit', lang('general_shopping_cart') )."</td>\n";
Code:
echo anchor("cecilieokada/cart", lang('general_go_back') );