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