mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Let AJAX handle the model header
This commit is contained in:
@@ -40,12 +40,15 @@ if ($email_status == 0) {
|
||||
$email_status_display = "<div class='text-success'>Sent</div><small class='text-secondary'>$email_sent_at</small>";
|
||||
}
|
||||
|
||||
// Build the dynamic modal title
|
||||
$title = "<i class='fas fa-fw fa-envelope-open mr-2'></i><strong>$email_subject</strong>";
|
||||
|
||||
// Generate the HTML form content using output buffering.
|
||||
ob_start();
|
||||
?>
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title"><i class='fas fa-fw fa-envelope-open mr-2'></i><strong><?php echo $email_subject; ?></strong></h5>
|
||||
<button type="button" class="close text-white" data-dismiss="modal">
|
||||
<span>×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body bg-white">
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
|
||||
Reference in New Issue
Block a user