$L->g('Manage content'), 'icon'=>'folder')); echo ' '.$L->g('Add new content').''; echo ' '; foreach($pages as $page) { $status = false; if($page->scheduled()) { $status = $Language->g('Scheduled'); } elseif(!$page->published()) { $status = $Language->g('Draft'); } echo ''; echo ''; echo ''; $friendlyURL = Text::isEmpty($Url->filters('page')) ? '/'.$page->key() : '/'.$Url->filters('page').'/'.$page->key(); echo ''; echo ''; } echo '
'.$L->g('Title').' '.$L->g('Position').' '.$L->g('URL').'
'.($status?''.$status.'':'').($page->title()?$page->title():''.$Language->g('Empty title').' ').''.$page->dateRaw().''.$friendlyURL.'
';