Improves on Manage Content view
This commit is contained in:
parent
e17bc50bf2
commit
0de1f00d29
|
@ -52,7 +52,6 @@ function table($status, $icon='arrow-circle-o-down') {
|
|||
foreach ($list as $pageKey) {
|
||||
$page = buildPage($pageKey);
|
||||
if ($page) {
|
||||
if ($page->isParent()) {
|
||||
echo '<tr>
|
||||
<td>
|
||||
<a href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$page->key().'"><i class="fa fa-'.$icon.'"></i> '
|
||||
|
@ -65,6 +64,7 @@ function table($status, $icon='arrow-circle-o-down') {
|
|||
echo '<td><a target="_blank" href="'.$page->permalink().'">'.$friendlyURL.'</a></td>';
|
||||
echo '</tr>';
|
||||
|
||||
if ($page->isParent()) {
|
||||
foreach ($page->children() as $childKey) {
|
||||
$child = buildPage($childKey);
|
||||
echo '<tr>
|
||||
|
|
Loading…
Reference in New Issue