Browse Source

drafts support

Added partial draft support
pull/51/head
BlackCodec 11 years ago
parent
commit
5d1d0fbada
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      system/admin/views/user-posts.html.php

+ 2
- 2
system/admin/views/user-posts.html.php View File

@ -20,7 +20,7 @@
<td><a target="_blank" href="<?php echo $p->url ?>"><?php echo $p->title ?></a></td>
<td><?php echo date('d F Y', $p->date) ?></td>
<td><?php echo $p->tag ?></td>
<td><a href="<?php echo $p->url ?>/edit?destination=admin/mine">Edit</a> <a href="<?php echo $p->url ?>/delete?destination=admin/mine">Delete</a></td>
<td><a href="<?php echo $p->url ?>/edit?destination=admin/mine<?php if ($draft) { echo 'drafts'; } ?>">Edit</a> <a href="<?php echo $p->url ?>/delete?destination=admin/mine<?php if ($draft) { echo 'drafts'; } ?>">Delete</a></td>
</tr>
<?php endforeach;?>
</table>
@ -34,4 +34,4 @@
<?php endif;?>
</div>
<?php endif;?>
<?php } else { echo 'No posts found!'; }?>
<?php } else { echo 'No posts found!'; }?>

Loading…
Cancel
Save