"; echo Bootstrap::pageTitle(array('title'=>$L->g('Articles and pages'), 'icon'=>'archive')); echo "
'; echo $L->g('There are no pages at this moment.'); echo '
'; return false; } } elseif ($type=='draft') { $list = $drafts; if (empty($list)) { echo ''; echo $L->g('There are no draft pages at this moment.'); echo '
'; return false; } } elseif ($type=='scheduled') { $list = $scheduled; if (empty($list)) { echo ''; echo $L->g('There are no scheduled pages at this moment.'); echo '
'; return false; } } elseif ($type=='static') { $list = $static; if (empty($list)) { echo ''; echo $L->g('There are no static pages at this moment.'); echo '
'; return false; } } elseif ($type=='sticky') { $list = $sticky; if (empty($list)) { echo ''; echo $L->g('There are no sticky pages at this moment.'); echo '
'; return false; } } elseif ($type=='autosave') { $list = $autosave; } echo ''.$L->g('Title').' | '; if ($type=='published' || $type=='static' || $type=='sticky') { echo ''.$L->g('URL').' | '; } echo ''.$L->g('Actions').' |
---|---|---|
'.( ((ORDER_BY=='position') || ($type!='published'))?$L->g('Position').': '.$page->position():$page->date(MANAGE_CONTENT_DATE_FORMAT) ).' | ';
if ($type=='published' || $type=='static' || $type=='sticky') {
$friendlyURL = Text::isEmpty($url->filters('page')) ? '/'.$page->key() : '/'.$url->filters('page').'/'.$page->key();
echo ''.$friendlyURL.' | '; } echo ''.PHP_EOL; echo ''.$L->g('View').''.PHP_EOL; echo ''.$L->g('Edit').''.PHP_EOL; if (count($page->children())==0) { echo ''.$L->g('Delete').''.PHP_EOL; } echo ' | '; echo '
'.( ((ORDER_BY=='position') || ($type!='published'))?$L->g('Position').': '.$child->position():$child->date(MANAGE_CONTENT_DATE_FORMAT) ).' | ';
if ($type=='published' || $type=='static' || $type=='sticky') {
$friendlyURL = Text::isEmpty($url->filters('page')) ? '/'.$child->key() : '/'.$url->filters('page').'/'.$child->key();
echo ''.$friendlyURL.' | '; } echo ''.PHP_EOL; if ($type=='published' || $type=='static' || $type=='sticky') { echo ''.$L->g('View').''.PHP_EOL; } echo ''.$L->g('Edit').''.PHP_EOL; echo ''.$L->g('Delete').''.PHP_EOL; echo ' | '; echo '
'.( ($type=='scheduled')?$L->g('Scheduled').': '.$page->date(SCHEDULED_DATE_FORMAT):$page->date(MANAGE_CONTENT_DATE_FORMAT) ).' | ';
if ($type=='published' || $type=='static' || $type=='sticky') {
$friendlyURL = Text::isEmpty($url->filters('page')) ? '/'.$page->key() : '/'.$url->filters('page').'/'.$page->key();
echo ''.$friendlyURL.' | '; } echo ''.PHP_EOL; if ($type=='published' || $type=='static' || $type=='sticky') { echo ''.$L->g('View').''.PHP_EOL; } echo ''.$L->g('Edit').''.PHP_EOL; if (count($page->children())==0) { echo ''.$L->g('Delete').''.PHP_EOL; } echo ' | '; echo '