<div class="panel-body"> <?php echo HHtml::link(Yii::t('PagesModule.base', 'Create new Folder'), $this->createUrl('edit'), array('class' => 'btn btn-primary')); ?> <p /> <p /> <?php if (count($pages) != 0) { ?> <?php $classes = Page::getNavigationClasses(); $types = Page::getPageTypes(); ?> <table class="table"> <tr> <th><?php echo Yii::t('PagesModule.base', 'Title'); ?> </th> <th> </th> </tr> <?php foreach ($pages as $page) { ?> <tr> <td><?php echo HHtml::link($page->name, $this->createUrl('edit', array('id' => $page->id)));