$L->g('Manage content'), 'icon'=>'folder')); echo ' '.$L->g('Add new content').''; // Fixed page list echo ' '; echo ''; echo ' '; function table($status, $icon='arrow-circle-o-down') { global $pages; global $Url; global $Language; $showLegend = true; foreach ($pages as $key=>$page) { if ($page->status()==$status) { if ($showLegend) { $showLegend = false; echo ''; } unset($pages[$key]); echo ''; echo ''; echo ''; $friendlyURL = Text::isEmpty($Url->filters('page')) ? '/'.$page->key() : '/'.$Url->filters('page').'/'.$page->key(); echo ''; echo ''; } } } table('draft', 'spinner'); table('scheduled', 'clock-o'); table('fixed', 'thumb-tack'); table('sticky', 'sticky-note-o'); table('published', 'check'); echo '
'.$L->g('Title').''.( (ORDER_BY=='date') ? $L->g('Date') : $L->g('Position') ).''.$L->g('URL').'
'.$status.'
' .($page->title()?$page->title():''.$Language->g('Empty title').' ') .' '.( (ORDER_BY=='date') ? $page->dateRaw() : $page->position() ).''.$friendlyURL.'
'; ?>