Pages without title fixes
This commit is contained in:
parent
ab23bf28d6
commit
4260863b9b
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
|
||||
echo '<tr>';
|
||||
echo '<td>'.($Page->parentKey()?NO_PARENT_CHAR:'').'<a href="'.HTML_PATH_ADMIN_ROOT.'edit-page/'.$Page->key().'">'.($Page->published()?'':'[DRAFT] ').$Page->title().'</a></td>';
|
||||
echo '<td>'.($Page->parentKey()?NO_PARENT_CHAR:'').'<a href="'.HTML_PATH_ADMIN_ROOT.'edit-page/'.$Page->key().'">'.($Page->published()?'':'[DRAFT] ').($Page->title()?$Page->title():'[Empty title] ').'</a></td>';
|
||||
echo '<td>'.$parentTitle.'</td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue