Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/application/views/network/posts/delete_modal.php

22 lines
830 B
PHP
Raw Normal View History

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<form id="postDeleteForm">
<div class="alert alert-danger" role="alert">
<b>Bist du dir wirklich sicher, dass du diesen Post löschen willst?</b>
<ul class="comment-list" style="pointer-events: none">
<?php
$post['hideActionBtns'] = true;
$this->load->view('network/posts/post_item', $post) ?>
</ul>
<!-- --><?php //var_dump($post) ?>
</div>
<button type="reset" class="btn btn-sm btn-primary round float-right" data-dismiss="modal">
Nein, Post behalten
</button>
<button type="submit" class="btn btn-sm btn-red outline round float-right" onclick="deletePost('<?= $post['hashID'] ?>')">
Ja, endgültig löschen
</button>
</form>