We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a59ec commit 8f1be69Copy full SHA for 8f1be69
admin/delete.php
views/admin/dashboard.view.php
@@ -15,7 +15,7 @@
15
$article = $cursor->getNext();?>
16
<tr>
17
<td><?php echo substr($article['title'], 0, 35) . '...'; ?></td>
18
- <td><?php print date('g:i a, F j', $article['saved_at']->sec);?></td>
+ <td><?php print date('M d/Y H:i', $article['saved_at']->sec);?></td>
19
<td width="9%">
20
<a href="../single.php?id=<?php echo $article['_id'];?>">View</a>
21
</td>
@@ -51,7 +51,7 @@ function confirmDelete(articleId) {
51
var deleteArticle = confirm('Are you sure you want to delete this article?');
52
53
if(deleteArticle){
54
- window.location.href = 'delete.php?id='+articleId;
+ window.location.href = 'index.php?status=delete&id='+articleId;
55
}
56
return;
57
0 commit comments