예제 #1
0
                                        <span class="glyphicon glyphicon-ok-sign text-success"></span>
                                    <?php 
        }
        ?>
                                    <input type="checkbox" <?php 
        echo $checked ? "checked" : '';
        ?>
 id="category_<?php 
        echo $rootCategory->entity_id;
        ?>
" name="category_ids[]" value="<?php 
        echo $rootCategory->entity_id;
        ?>
" />
                                    <span class="root-category"><?php 
        echo MigrateSteps::getMage1CategoryName($rootCategory->entity_id);
        ?>
( <?php 
        echo Yii::t('frontend', 'Root category');
        ?>
 )</span>
                                <?php 
        if ($categoryTree) {
            ?>
                                <ul>
                                    <?php 
            foreach ($categoryTree as $category) {
                ?>
                                        <li>
                                            <?php 
                if ($checked = in_array($category->entity_id, $migrated_category_ids)) {