<?php if($this->getCurrencyCount() > 1): ?>
<li class="lang">
<div class="block-language">
   <div class="block-title"><span><?php echo $this->__('Select Your Currency') ?></span></div>
      <div class="block-content dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-delay="1000" data-close-others="false" title="Select Your Currency"> <span class="icon-usd1"><?php echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol(); ?></span>  <span class="name"><?php echo Mage::app()->getStore()->getCurrentCurrencyCode(); ?></span> </a>  
           <ul class="dropdown-menu">
             <?php foreach ($this->getCurrencies() as $_code => $_name):?>
               <li>
                  <a href="<?php echo $this->getSwitchCurrencyUrl($_code) . '?___store='.$_code;?>" title="<?php echo $this->htmlEscape($_code) ?>" <?php if($_code==$this->getCurrentCurrencyCode()){?>
          class="currency_icon selected "<?php } else {?> class="currency_icon"<?php }?>> <?php echo $_code; ?> </a>
               </li>
             <?php endforeach; ?>
           </ul>
    </div> <!--block-content dropdown-->  
</div> <!--block-language-->
</li>
<?php endif; ?> 