Minor changes
This commit is contained in:
parent
bc3a108578
commit
97c3cc8fce
@ -7,6 +7,8 @@
|
||||
<tr>
|
||||
<th><?php $Language->p('Title') ?></th>
|
||||
<th><?php $Language->p('Parent') ?></th>
|
||||
<th><?php $Language->p('Friendly URL') ?></th>
|
||||
<th class="text-centered"><?php $Language->p('Position') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -26,6 +28,8 @@
|
||||
echo '<tr>';
|
||||
echo '<td>'.($Page->parentKey()?NO_PARENT_CHAR:'').'<a href="'.HTML_PATH_ADMIN_ROOT.'edit-page/'.$Page->key().'">'.($Page->published()?'':'<span class="label label-outline label-red smaller">'.$Language->g('Draft').'</span> ').($Page->title()?$Page->title():'<span class="label label-outline label-blue smaller">'.$Language->g('Empty title').'</span> ').'</a></td>';
|
||||
echo '<td>'.$parentTitle.'</td>';
|
||||
echo '<td><a target="_blank" href="'.$Page->permalink().'">'.$Url->filters('page').'/'.$Page->key().'</a></td>';
|
||||
echo '<td class="text-centered">'.$Page->position().'</td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,8 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php $Language->p('Title') ?></th>
|
||||
<th><?php $Language->p('Published date') ?></th>
|
||||
<th class="text-centered"><?php $Language->p('Published date') ?></th>
|
||||
<th><?php $Language->p('Friendly URL') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -24,7 +25,8 @@
|
||||
|
||||
echo '<tr>';
|
||||
echo '<td><a href="'.HTML_PATH_ADMIN_ROOT.'edit-post/'.$Post->key().'">'.($status?'<span class="label label-outline label-red smaller">'.$status.'</span>':'').($Post->title()?$Post->title():'<span class="label label-outline label-blue smaller">'.$Language->g('Empty title').'</span> ').'</a></td>';
|
||||
echo '<td>'.$Post->date().'</td>';
|
||||
echo '<td class="text-centered">'.$Post->date().'</td>';
|
||||
echo '<td><a target="_blank" href="'.$Post->permalink().'">'.$Url->filters('post').'/'.$Post->key().'</a></td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user