<?php if ($canEdit) { ?> <th width="5%"> </th><?php } ?> <?php if ($canDelete) { ?> <th width="5%"> </th><?php } ?> </tr> </thead> <?php foreach (erLhcoreClassRole::getRoleList() as $departament) { ?> <tr> <td><?php echo $departament['id']; ?> </td> <td><?php echo htmlspecialchars($departament['name']); ?> </td> <?php if ($canEdit) { ?> <td nowrap><a class="btn btn-default btn-xs" href="<?php echo erLhcoreClassDesign::baseurl('permission/editrole');