Lines Matching refs:perm
131 foreach($opt as $who => $perm){
133 $lines[] = "$where\t$who\t$perm\n";
372 $perm = auth_aclcheck($check,$user,$groups);
376 if($perm){
378 if($perm >= AUTH_DELETE) $names[] = $this->getLang('acl_perm16');
379 if($perm >= AUTH_UPLOAD) $names[] = $this->getLang('acl_perm8');
380 if($perm >= AUTH_CREATE) $names[] = $this->getLang('acl_perm4');
382 if($perm >= AUTH_EDIT) $names[] = $this->getLang('acl_perm2');
383 if($perm >= AUTH_READ) $names[] = $this->getLang('acl_perm1');
407 if($perm == AUTH_ADMIN){
557 foreach($set as $who => $perm){
582 echo $this->_html_checkboxes($perm,$ispage,'acl['.hsc($where).']['.hsc($who).']');
703 if($ispage && $setperm > AUTH_EDIT) $perm = AUTH_EDIT;
705 foreach(array(AUTH_NONE,AUTH_READ,AUTH_EDIT,AUTH_CREATE,AUTH_UPLOAD,AUTH_DELETE) as $perm){
712 'value' => $perm );
714 if(!is_null($setperm) && $setperm == $perm) $atts['checked'] = 'checked';
715 if($ispage && $perm > AUTH_EDIT){
723 … $ret .= '<label for="pbox'.$label.'" title="'.$this->getLang('acl_perm'.$perm).'"'.$class.'>';
725 $ret .= $this->getLang('acl_perm'.$perm);