Revision 1973
Added by darkviper about 12 years ago
| SmallRawPageTree.php | ||
|---|---|---|
| 61 | 61 |
$iMinPosition = 1; |
| 62 | 62 |
while($aPage = $oPages->fetchRow(MYSQL_ASSOC)) |
| 63 | 63 |
{ // iterate through the current branch
|
| 64 |
if($this->_aReg['PAGE_LEVEL_LIMIT'] && ($aPage['level'] > $this->_aReg['PAGE_LEVEL_LIMIT'])) {
|
|
| 64 |
if($this->_oReg->PageLevelLimit && ($aPage['level'] > $this->_oReg->PageLevelLimit)) {
|
|
| 65 | 65 |
return ''; |
| 66 | 66 |
} |
| 67 | 67 |
$aPage['min_position'] = ($aPage['position'] < $iMinPosition ? $aPage['position'] : $iMinPosition); |
| ... | ... | |
| 70 | 70 |
if( $this->_oApp->ami_group_member($aPage['admin_users']) || |
| 71 | 71 |
$this->_oApp->is_group_match($this->_oApp->get_groups_id(), $aPage['admin_groups'])) |
| 72 | 72 |
{
|
| 73 |
if(($aPage['visibility'] == 'deleted' && $this->_aReg['PAGE_TRASH'] == 'inline') ||
|
|
| 73 |
if(($aPage['visibility'] == 'deleted' && $this->_oReg->PageTrash == 'inline') ||
|
|
| 74 | 74 |
($aPage['visibility'] != 'deleted')) |
| 75 | 75 |
{
|
| 76 | 76 |
$aPage['iswriteable'] = true; |
Also available in: Unified diff
/update-script.php last correction for loading PasswordHash packet and Typo fix line 87
/admin/pages/PageTree // SmallRawPageTree : adaption of Translate and WbAdapter