コード例 #1
0
ファイル: index.php プロジェクト: jmcismail/tinyPHP
            <th class="text-center"><?php 
echo _t('Name');
?>
</th>
            <th class="text-center"><?php 
echo _t('Action');
?>
</th>
        </tr>
    </thead>
    <!-- // Table heading END -->
    
    <!-- Table body -->
    <tbody>
    <?php 
$listPerms = $perms->getAllPerms('full');
if ($listPerms != '') {
    foreach ($listPerms as $k => $v) {
        echo '<tr class="gradeX">';
        echo '<td>' . _h($v['ID']) . '</td>';
        echo '<td>' . _h($v['Key']) . '</td>';
        echo '<td>' . _h($v['Name']) . '</td>';
        echo '<td class="text-center"><a href="' . BASE_URL . 'permission/view/?permID=' . _h($v['ID']) . '">' . _t('Edit') . '</a></td>';
        echo '</tr>';
    }
}
?>
        
    </tbody>
    <!-- // Table body END -->