Bug Fixed #589
This commit is contained in:
parent
2097847b7a
commit
c42f1e7683
|
@ -138,9 +138,8 @@
|
|||
$scheduledPages = $dbPages->getScheduledDB(true);
|
||||
if (empty($scheduledPages)) {
|
||||
echo '<li>'.$Language->g('There are no scheduled content').'</li>';
|
||||
}
|
||||
else {
|
||||
foreach($keys as $key) {
|
||||
} else {
|
||||
foreach ($scheduledPages as $key) {
|
||||
$page = buildPage($key);
|
||||
echo '<li><span class="label-time">'.$page->dateRaw(SCHEDULED_DATE_FORMAT).'</span><a href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$page->key().'">'.($page->title()?$page->title():'['.$Language->g('Empty title').'] ').'</a></li>';
|
||||
}
|
||||
|
@ -156,9 +155,8 @@
|
|||
$draftPages = $dbPages->getDraftDB(true);
|
||||
if (empty($draftPages)) {
|
||||
echo '<li>'.$Language->g('There are no draft content').'</li>';
|
||||
}
|
||||
else {
|
||||
foreach($keys as $key) {
|
||||
} else {
|
||||
foreach ($draftPages as $key) {
|
||||
$page = buildPage($key);
|
||||
echo '<li><a href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$page->key().'">'.($page->title()?$page->title():'['.$Language->g('Empty title').'] ').'</a></li>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue