Changeset 469 for trunk/dns.cgi
- Timestamp:
- 03/12/13 16:12:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r468 r469 312 312 my $flag = 0; 313 313 foreach (@viewablegroups) { 314 $flag = 1 if isParent($dbh, $_, 'group', $webvar{id}, 'domain');314 $flag = 1 if $dnsdb->isParent(, $_, 'group', $webvar{id}, 'domain'); 315 315 } 316 316 if ($flag && ($permissions{admin} || $permissions{domain_edit})) { … … 416 416 my $flag = 0; 417 417 foreach (@viewablegroups) { 418 $flag = 1 if isParent($dbh, $_, 'group', $webvar{id}, 'revzone');418 $flag = 1 if $dnsdb->isParent(, $_, 'group', $webvar{id}, 'revzone'); 419 419 } 420 420 if ($flag && ($permissions{admin} || $permissions{domain_edit})) { … … 1092 1092 my $flag = 0; 1093 1093 foreach (@viewablegroups) { 1094 $flag = 1 if isParent($dbh, $_, 'group', $webvar{id}, 'user');1094 $flag = 1 if $dnsdb->isParent(, $_, 'group', $webvar{id}, 'user'); 1095 1095 } 1096 1096 if ($flag && ($permissions{admin} || $permissions{user_edit} || … … 1775 1775 $row{whereami} = $uri_self; 1776 1776 $row{curgrp} = ($_ == $cur); 1777 $row{expanded} = isParent($dbh, $_, 'group', $cur, 'group');1777 $row{expanded} = $dnsdb->isParent(, $_, 'group', $cur, 'group'); 1778 1778 $row{expanded} = 1 if $_ == $cur; 1779 1779 $row{subs} = fill_grptree($_,$cur,$indent.' '); … … 2337 2337 } else { 2338 2338 foreach (@viewablegroups) { 2339 return 1 if isParent($dbh, $_, 'group', $entity, $entype);2339 return 1 if $dnsdb->isParent(, $_, 'group', $entity, $entype); 2340 2340 } 2341 2341 }
Note:
See TracChangeset
for help on using the changeset viewer.