Lines Matching refs:perm
149 foreach ($opt as $who => $perm) {
158 $lines[] = "$where\t$who\t$perm\n";
471 $perm = auth_aclcheck($check, $user, $groups);
475 if ($perm) {
477 if ($perm >= AUTH_DELETE) $names[] = $this->getLang('acl_perm16');
478 if ($perm >= AUTH_UPLOAD) $names[] = $this->getLang('acl_perm8');
479 if ($perm >= AUTH_CREATE) $names[] = $this->getLang('acl_perm4');
481 if ($perm >= AUTH_EDIT) $names[] = $this->getLang('acl_perm2');
482 if ($perm >= AUTH_READ) $names[] = $this->getLang('acl_perm1');
504 if ($perm == AUTH_ADMIN) {
655 echo '<th>' . $this->getLang('perm') . '<sup><a id="fnt__1" class="fn_top" href="#fn__1">1)</a></sup></th>';
659 foreach ($set as $who => $perm) {
680 echo $this->makeCheckboxes($perm, $ispage, 'acl[' . $where . '][' . $who . ']');
779 foreach ([AUTH_NONE, AUTH_READ, AUTH_EDIT, AUTH_CREATE, AUTH_UPLOAD, AUTH_DELETE] as $perm) {
787 'value' => $perm
790 if (!is_null($setperm) && $setperm == $perm) $atts['checked'] = 'checked';
791 if ($ispage && $perm > AUTH_EDIT) {
801 $ret .= $this->getLang('acl_perm' . $perm);