Manage Pages

$pageList) { foreach($pageList as $Page) { if($parentKey!==NO_PARENT_CHAR) { $parentTitle = $pages[$Page->parentKey()]->title(); } else { $parentTitle = ''; } echo ''; echo ''; echo ''; echo ''; } } ?>
Title Parent
'.($Page->parentKey()?NO_PARENT_CHAR:'').''.($Page->published()?'':'[DRAFT] ').($Page->title()?$Page->title():'[Empty title] ').''.$parentTitle.'