$L->g('Manage content'), 'icon'=>'folder')); echo ' '.$L->g('Add new content').''; echo ' '; echo ''; 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').''.( (ORDER_BY=='date') ? $L->g('Date') : $L->g('Position') ).''.$L->g('URL').'
'.($status?''.$status.'':'').($page->title()?$page->title():''.$Language->g('Empty title').' ').''.( (ORDER_BY=='date') ? $page->dateRaw() : $page->position() ).''.$friendlyURL.'
';