Database refactoring and improving blog comments, blog post history and more
This commit is contained in:
25
application/views/blog/delete_modal.php
Normal file
25
application/views/blog/delete_modal.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
|
||||
<form id="postDeleteForm">
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<p>
|
||||
<b>Bist du dir wirklich sicher, dass du deinen Kommentar löschen willst?</b>
|
||||
</p>
|
||||
<p>
|
||||
<i>Diese Aktion kann nicht rückgängig gemacht werden!</i>
|
||||
</p>
|
||||
<ul class="comment-list" style="pointer-events: none">
|
||||
<?php
|
||||
$this->load->view('network/blog/comment_item', ['data' => $author, 'c' => $comment, 'hideActionBtns' => true]) ?>
|
||||
</ul>
|
||||
<!-- --><?php //var_dump($post) ?>
|
||||
</div>
|
||||
<button type="reset" class="btn btn-sm btn-primary round float-right" data-dismiss="modal">
|
||||
Nein, Kommentar behalten
|
||||
</button>
|
||||
<button type="submit" class="btn btn-sm btn-red outline round float-right" onclick="deleteComment(<?= $comment['ID'] ?>)">
|
||||
Ja, endgültig löschen
|
||||
</button>
|
||||
</form>
|
Reference in New Issue
Block a user