Bug Fixed #589
This commit is contained in:
parent
2097847b7a
commit
c42f1e7683
|
@ -136,11 +136,10 @@
|
||||||
<ul class="uk-list">
|
<ul class="uk-list">
|
||||||
<?php
|
<?php
|
||||||
$scheduledPages = $dbPages->getScheduledDB(true);
|
$scheduledPages = $dbPages->getScheduledDB(true);
|
||||||
if( empty($scheduledPages) ) {
|
if (empty($scheduledPages)) {
|
||||||
echo '<li>'.$Language->g('There are no scheduled content').'</li>';
|
echo '<li>'.$Language->g('There are no scheduled content').'</li>';
|
||||||
}
|
} else {
|
||||||
else {
|
foreach ($scheduledPages as $key) {
|
||||||
foreach($keys as $key) {
|
|
||||||
$page = buildPage($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>';
|
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>';
|
||||||
}
|
}
|
||||||
|
@ -154,11 +153,10 @@
|
||||||
<ul class="uk-list">
|
<ul class="uk-list">
|
||||||
<?php
|
<?php
|
||||||
$draftPages = $dbPages->getDraftDB(true);
|
$draftPages = $dbPages->getDraftDB(true);
|
||||||
if( empty($draftPages) ) {
|
if (empty($draftPages)) {
|
||||||
echo '<li>'.$Language->g('There are no draft content').'</li>';
|
echo '<li>'.$Language->g('There are no draft content').'</li>';
|
||||||
}
|
} else {
|
||||||
else {
|
foreach ($draftPages as $key) {
|
||||||
foreach($keys as $key) {
|
|
||||||
$page = buildPage($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>';
|
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