Пример #1
0
                    <?php 
    echo Chtml::checkBox($menu['act'], in_array($menu['act'], $actions), array('class' => 'mainGroup', 'rel' => $menu['act'], 'value' => $menu['act']));
    ?>
                    <label for="<?php 
    echo $menu['act'];
    ?>
"><?php 
    echo $name;
    ?>
</label>
                </legend>
                    <?php 
    foreach ($menu['action'] as $k => $action) {
        ?>
                        <?php 
        echo Chtml::checkBox($action['act'], in_array($action['act'], $actions), array('rel' => $menu['act'], 'class' => 'sub_' . $menu['act'] . " subGroup", 'value' => $action['act']));
        ?>
                        <label for="<?php 
        echo $action['act'];
        ?>
"><?php 
        echo $action['name'];
        ?>
</label>
                    <?php 
    }
    ?>
                    </fieldset>
                <?php 
}
?>