Commit 7bf21223 authored by John Punzalan's avatar John Punzalan

Update cart translation

parent 300036dd
...@@ -164,7 +164,7 @@ $totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals(); //Tot ...@@ -164,7 +164,7 @@ $totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals(); //Tot
$key_name_i = 0; $key_name_i = 0;
foreach ($totals as $total) { foreach ($totals as $total) {
echo '<div><span class="label-price">'; echo '<div><span class="label-price">';
echo str_replace('_', ' ', $key_name[$key_name_i]); echo $this->__(str_replace('_', ' ', $key_name[$key_name_i]));
echo '</span>'; echo '</span>';
echo '<span class="js-' . $key_name[$key_name_i] . '">'; echo '<span class="js-' . $key_name[$key_name_i] . '">';
echo Mage::helper('checkout')->formatPrice($total->getValue(), true, true); echo Mage::helper('checkout')->formatPrice($total->getValue(), true, true);
......
...@@ -35,12 +35,13 @@ ...@@ -35,12 +35,13 @@
<?php echo Mage::getStoreConfig('general/store_information/phone'); ?> <?php echo Mage::getStoreConfig('general/store_information/phone'); ?>
</a> </a>
</li> </li>
<li><a href="#">Contact</a></li>
<li> <li>
<?php <?php
if (!Mage::getSingleton('customer/session')->isLoggedIn()) { if (!Mage::getSingleton('customer/session')->isLoggedIn()) {
echo '<a href="' . "#" . '" class="js-authenticate">' . $this->__('Login') . '</a>'; echo '<a href="' . "#" . '" class="js-authenticate">' . $this->__('Log in') . '</a>';
} else { } else {
echo '<a href="' . Mage::helper('customer')->getLogoutUrl() . '">' . $this->__('Logout') . '</a>'; echo '<a href="' . Mage::helper('customer')->getLogoutUrl() . '">' . $this->__('Log out') . '</a>';
} }
?> ?>
</li> </li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment