isEmpty()): ?>
= $this->translate('No roles found.') ?>
= $this->translate('Create a New Role') ?>
= $this->translate('Name') ?> | //= $this->translate('Permissions') ?> //= $this->translate('Restrictions') ?>= $this->translate('Users') ?> | = $this->translate('Groups') ?> | |
---|---|---|---|
= $this->qlink( $name, 'roles/update', array('role' => $name), array('title' => sprintf($this->translate('Edit role %s'), $name)) ); ?> | //= $this->escape($role->permissions, 0, 50) ?> without(...) or $role->shift(...) would be nice! // $restrictions = clone $role; // unset($restrictions['users']); // unset($restrictions['groups']); // unset($restrictions['permissions']); // ?> $restriction): ?> //= $this->escape($restrictionName) ?> //= $this->escape($restriction) ?>= $this->escape($role->users) ?> | = $this->escape($role->groups) ?> | = $this->qlink( '', 'roles/remove', array('role' => $name), array( 'icon' => 'trash', 'title' => sprintf($this->translate('Remove role %s'), $name) ) ); ?> |