Exemplo n.º 1
0
      <? foreach ($groups as $group): ?>
      <th> <?php 
echo p::clean($group->name);
?>
 </th>
      <? endforeach ?>
    </tr>

    <? foreach ($permissions as $permission): ?>
    <tr>
      <td> <?php 
echo t($permission->display_name);
?>
 </td>
      <? foreach ($groups as $group): ?>
        <? $intent = access::group_intent($group, $permission->name, $item) ?>
        <? $allowed = access::group_can($group, $permission->name, $item) ?>
        <? $lock = access::locked_by($group, $permission->name, $item) ?>

        <? if ($lock): ?>
          <td class="gDenied">
            <img src="<?php 
echo url::file('themes/default/images/ico-denied.png');
?>
" title="<?php 
echo t('denied and locked through parent album');
?>
" alt="<?php 
echo t('denied icon');
?>
" />