<h3 class="list-group-item-heading"> <?php if ($step->status == MigrateSteps::STATUS_DONE) { ?> <span class="glyphicon glyphicon-ok-sign text-success"></span> <?php } ?> <?php echo Yii::t('frontend', 'Product Attributes'); ?> (<?php echo Mage1Attribute::model()->count("entity_type_id = 4"); ?> attributes. There are <?php echo MigrateSteps::getTotalVisibleProductsAttr(); ?> attributes visible in back-end.) </h3> </li> </ul> <!-- Form Buttons--> <div class="step-controls"> <?php if ($step->status == MigrateSteps::STATUS_NOT_DONE) { ?> <button type="submit" class="btn btn-primary"><?php echo Yii::t('frontend', 'Start'); ?> </button>