Monday, April 2, 2012

Change toolbar select to label magento


  <div style="float:left;width: 54%;">
    <div class="amount" style="float: left; ">
            <?php if($this->getLastPageNum()>1): ?>
                <?php echo $this->__('Viewing Items %s-%s of %s ', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
            <?php else: ?>
<?php echo $this->__('Viewing Items %s-%s of %s ', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
            <?php endif; ?>
        </div>

        <div class="limiter" style="float: right; padding-right: 34px;">
            <label><?php echo $this->__('View') ?></label> &nbsp;&nbsp;
           <?php $cnt=1;?>
            <?php foreach ($this->getAvailableLimit() as  $_key=>$_limit): ?>
                <a href="<?php echo $this->getLimitUrl($_key) ?>">
                    <?php echo $_limit ?>
                </a><?php echo ($cnt==4?'':'&nbsp;|&nbsp')?>
<?php $cnt++; ?>
  <?php endforeach; ?>
           &nbsp; <?php //echo $this->__('per page') ?>
        </div>

    </div>

No comments:

Post a Comment