$L->g('Manage pages'), 'icon'=>'folder')); echo ' '; foreach($pagesParents as $parentKey=>$pageList) { foreach($pageList as $Page) { if($parentKey!==NO_PARENT_CHAR) { $parentTitle = $pages[$Page->parentKey()]->title(); } else { $parentTitle = ''; } echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } } echo '
'.$L->g('Title').' '.$L->g('Parent').' '.$L->g('Position').' '.$L->g('Friendly URL').'
'.($Page->parentKey()?NO_PARENT_CHAR:'').''.($Page->published()?'':''.$Language->g('Draft').' ').($Page->title()?$Page->title():''.$Language->g('Empty title').' ').''.$parentTitle.''.$Page->position().''.$Url->filters('page').'/'.$Page->key().'
';