mirror of
https://github.com/itflow-org/itflow
synced 2026-11-26 14:27:27 +00:00
QoL 46: one More menu icon, one icon each for Delete Restore and Export, plain required stars, the incident response window in the standard header, itflowConfirm shared by confirm-link and script with the confirm button taking the link label, the app confirm and toast in place of browser confirm and alert, the timer reset no longer marking a running timer stopped on cancel, and list search boxes reading Search with field hints in the tooltip
This commit is contained in:
@@ -139,7 +139,7 @@ $ms_text = function ($ms) {
|
||||
<div class="row g-2 align-items-center">
|
||||
<div class="col-lg-4 col-md-12">
|
||||
<div class="input-group">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) { echo stripslashes(escapeHtml($q)); } ?>" placeholder="Search AI usage" title="Model, provider, feature, who, client or what went wrong">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) { echo stripslashes(escapeHtml($q)); } ?>" placeholder="Search AI usage..." title="Model, provider, feature, who, client or what went wrong">
|
||||
<button class="btn btn-dark" title="Search"><i class="fa fa-search"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -98,7 +98,7 @@ $filters_url = function ($modal) use ($dtf, $dtt, $view, $category_filter) {
|
||||
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-label="More"></button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<a class="dropdown-item text-danger ajax-modal" href="#" data-modal-url="<?= $filters_url('modals/app_log/app_log_clear.php') ?>" data-app-log-clear>
|
||||
<i class="fas fa-fw fa-trash-alt me-2"></i>Clear
|
||||
<i class="fas fa-fw fa-trash me-2"></i>Clear
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="settings_logs.php">
|
||||
@@ -117,7 +117,7 @@ $filters_url = function ($modal) use ($dtf, $dtt, $view, $category_filter) {
|
||||
<div class="row g-2 align-items-center">
|
||||
<div class="col-lg-5 col-md-12">
|
||||
<div class="input-group">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) { echo stripslashes(escapeHtml($q)); } ?>" placeholder="Search the app logs" title="The category or what it says">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) { echo stripslashes(escapeHtml($q)); } ?>" placeholder="Search the app logs..." title="The category or what it says">
|
||||
<button class="btn btn-dark" title="Search"><i class="fa fa-search"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -128,7 +128,7 @@ $view_empty = [
|
||||
<div class="row g-2 align-items-center">
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="input-group">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) { echo stripslashes(escapeHtml($q)); } ?>" placeholder="Search the audit log" title="What was done, who did it, the client, the IP address or the browser">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) { echo stripslashes(escapeHtml($q)); } ?>" placeholder="Search the audit log..." title="What was done, who did it, the client, the IP address or the browser">
|
||||
<button class="btn btn-outline-secondary <?= $more_filters ? 'active' : '' ?>" title="More filters" type="button" data-bs-toggle="collapse" data-bs-target="#auditMoreFilters"><i class="fas fa-filter"></i></button>
|
||||
<button class="btn btn-dark" title="Search"><i class="fa fa-search"></i></button>
|
||||
</div>
|
||||
|
||||
@@ -111,7 +111,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<i class="fas fa-fw fa-file-upload text-secondary me-2"></i>Import
|
||||
</a>
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/canned_response/canned_response_export.php">
|
||||
<i class="fas fa-fw fa-file-download text-secondary me-2"></i>Export
|
||||
<i class="fas fa-fw fa-download text-secondary me-2"></i>Export
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="/agent/reports/canned_responses.php">
|
||||
@@ -222,7 +222,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<i class="fas fa-fw fa-copy text-secondary me-2"></i><?= $owner_id ? 'Copy as shared' : 'Copy' ?>
|
||||
</a>
|
||||
<a class="dropdown-item" href="post.php?export_canned_response=<?= $canned_response_id ?>&csrf_token=<?= $csrf ?>" title="A file of it, to import into another ITFlow">
|
||||
<i class="fas fa-fw fa-file-download text-secondary me-2"></i>Export
|
||||
<i class="fas fa-fw fa-download text-secondary me-2"></i>Export
|
||||
</a>
|
||||
<?php if ($owner_id) { ?>
|
||||
<a class="dropdown-item confirm-link" href="post.php?share_canned_response=<?= $canned_response_id ?>&csrf_token=<?= $csrf ?>"
|
||||
@@ -233,7 +233,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($row['canned_response_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_canned_response=<?= $canned_response_id ?>&csrf_token=<?= $csrf ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_canned_response=<?= $canned_response_id ?>&csrf_token=<?= $csrf ?>" title="Not offered on tickets">
|
||||
|
||||
@@ -142,7 +142,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
</a>
|
||||
<?php if ($show_archived) { ?>
|
||||
<button class="dropdown-item" type="submit" form="bulkActions" name="bulk_restore_categories">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</button>
|
||||
<?php } else { ?>
|
||||
<button class="dropdown-item" type="submit" form="bulkActions" name="bulk_archive_categories">
|
||||
@@ -244,7 +244,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($row['category_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_category=<?= $category_id ?>&csrf_token=<?= $csrf ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_category=<?= $category_id ?>&csrf_token=<?= $csrf ?>" title="It stays on its records, but isn't offered for new ones">
|
||||
|
||||
@@ -178,7 +178,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<a class="dropdown-item" href="post.php?copy_contract_template=<?= $id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-copy text-secondary me-2"></i>Copy</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($archived) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_contract_template=<?= $id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore</a>
|
||||
<a class="dropdown-item" href="post.php?restore_contract_template=<?= $id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_contract_template=<?= $id ?>&csrf_token=<?= $csrf ?>" title="Kept, but not offered on a new contract"><i class="fas fa-fw fa-archive me-2"></i>Archive</a>
|
||||
<?php } ?>
|
||||
|
||||
@@ -190,7 +190,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($row['custom_link_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_custom_link=<?= $custom_link_id ?>&csrf_token=<?= $csrf ?>" title="Back at the end of the <?= escapeHtml($location_config['label']) ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_custom_link=<?= $custom_link_id ?>&csrf_token=<?= $csrf ?>" title="Kept, but no longer shown">
|
||||
|
||||
@@ -95,10 +95,10 @@ $required_url = "modals/document_template/document_template_required.php?id=$doc
|
||||
<?php } ?>
|
||||
<button type="button" class="btn btn-outline-secondary ajax-modal" data-modal-size="xl" data-modal-url="<?= $edit_url ?>"><i class="fas fa-fw fa-edit me-2"></i>Edit</button>
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-outline-secondary" title="More actions" type="button" data-bs-toggle="dropdown"><i class="fas fa-fw fa-ellipsis-h"></i></button>
|
||||
<button class="btn btn-outline-secondary" title="More actions" type="button" data-bs-toggle="dropdown"><i class="fas fa-fw fa-ellipsis-v"></i></button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<a class="dropdown-item" href="post.php?copy_document_template=<?= $document_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-copy me-2"></i>Copy</a>
|
||||
<a class="dropdown-item" href="post.php?export_document_template=<?= $document_template_id ?>&csrf_token=<?= $csrf ?>" title="A file to import into another ITFlow"><i class="fas fa-fw fa-file-download me-2"></i>Export</a>
|
||||
<a class="dropdown-item" href="post.php?export_document_template=<?= $document_template_id ?>&csrf_token=<?= $csrf ?>" title="A file to import into another ITFlow"><i class="fas fa-fw fa-download me-2"></i>Export</a>
|
||||
<a class="dropdown-item" href="#" onclick="window.print(); return false;"><i class="fas fa-fw fa-print me-2"></i>Print</a>
|
||||
<?php if ($archived) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_document_template=<?= $document_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-redo me-2"></i>Restore</a>
|
||||
@@ -270,7 +270,7 @@ $required_url = "modals/document_template/document_template_required.php?id=$doc
|
||||
data-confirm-title="Reset <?= escapeHtml($fill_in['name']) ?>?" data-confirm-text="It is still in what it says, so it stays asked for - as plain, optional text." data-confirm-button="Reset"><i class="fas fa-fw fa-undo me-2"></i>Reset</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger confirm-link" href="post.php?delete_document_template_fill_in=<?= $fill_in['id'] ?>&csrf_token=<?= $csrf ?>"
|
||||
data-confirm-title="Remove <?= escapeHtml($fill_in['name']) ?>?" data-confirm-text="It is no longer asked for." data-confirm-button="Remove"><i class="fas fa-fw fa-trash-alt me-2"></i>Remove</a>
|
||||
data-confirm-title="Remove <?= escapeHtml($fill_in['name']) ?>?" data-confirm-text="It is no longer asked for." data-confirm-button="Remove"><i class="fas fa-fw fa-trash me-2"></i>Remove</a>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
@@ -107,7 +107,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<i class="fas fa-fw fa-file-upload text-secondary me-2"></i>Import
|
||||
</a>
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/document_template/document_template_export.php">
|
||||
<i class="fas fa-fw fa-file-download text-secondary me-2"></i>Export
|
||||
<i class="fas fa-fw fa-download text-secondary me-2"></i>Export
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="/agent/reports/document_templates.php">
|
||||
@@ -224,7 +224,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($row['document_template_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_document_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_document_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>" title="Not offered for new documents - the documents made from it stay">
|
||||
|
||||
@@ -174,7 +174,7 @@ $size = function ($mb) {
|
||||
<?php } ?>
|
||||
<button type="button" class="btn btn-light ajax-modal" data-modal-url="modals/managed_instance/managed_instance_form.php?id=<?= $instance_id ?>"><i class="fas fa-fw fa-edit me-2"></i>Edit</button>
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-light" type="button" data-bs-toggle="dropdown" title="More"><i class="fas fa-fw fa-ellipsis-h"></i></button>
|
||||
<button class="btn btn-light" type="button" data-bs-toggle="dropdown" title="More"><i class="fas fa-fw fa-ellipsis-v"></i></button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<?php if ($can_act) { ?>
|
||||
<a class="dropdown-item" href="post.php?managed_command=check_updates&id=<?= $instance_id ?>&csrf_token=<?= $csrf ?>" title="It checks at its next check-in, and the answer comes with the one after"><i class="fas fa-fw fa-sync-alt text-secondary me-2"></i>Check for updates</a>
|
||||
|
||||
@@ -28,7 +28,7 @@ ob_start();
|
||||
?>
|
||||
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fas fa-fw fa-trash-alt me-2"></i>Clear App Logs</h5>
|
||||
<h5 class="modal-title"><i class="fas fa-fw fa-trash me-2"></i>Clear App Logs</h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
|
||||
@@ -67,7 +67,7 @@ ob_start();
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<?php if ($total) { ?>
|
||||
<button type="submit" name="clear_app_logs" class="btn btn-danger text-bold"><i class="fas fa-trash-alt me-2"></i>Clear</button>
|
||||
<button type="submit" name="clear_app_logs" class="btn btn-danger text-bold"><i class="fas fa-trash me-2"></i>Clear</button>
|
||||
<?php } ?>
|
||||
<button type="button" class="btn btn-light" data-bs-dismiss="modal"><i class="fas fa-times me-2"></i>Cancel</button>
|
||||
</div>
|
||||
|
||||
@@ -17,7 +17,7 @@ ob_start();
|
||||
?>
|
||||
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-file-download me-2"></i>Export canned responses</h5>
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-download me-2"></i>Export canned responses</h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
|
||||
@@ -16,7 +16,7 @@ ob_start();
|
||||
?>
|
||||
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-file-download me-2"></i>Export document templates</h5>
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-download me-2"></i>Export document templates</h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
|
||||
@@ -116,7 +116,7 @@ if (!officesReady()) { ?>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<?php if ($office) { ?>
|
||||
<a href="post.php?remove_office=<?= $office_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-outline-danger me-auto confirm-link" data-confirm-title="Remove this office?" data-confirm-text="Those who work there go back to the main office." data-confirm-button="Remove" data-office-remove><i class="fas fa-trash-alt me-2"></i>Remove</a>
|
||||
<a href="post.php?remove_office=<?= $office_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-outline-danger me-auto confirm-link" data-confirm-title="Remove this office?" data-confirm-text="Those who work there go back to the main office." data-confirm-button="Remove" data-office-remove><i class="fas fa-trash me-2"></i>Remove</a>
|
||||
<?php } ?>
|
||||
<button type="submit" name="save_office" class="btn btn-primary text-bold"><i class="fa fa-check me-2"></i><?= $office ? 'Save' : 'Create' ?></button>
|
||||
<button type="button" class="btn btn-light" data-bs-dismiss="modal"><i class="fa fa-times me-2"></i>Cancel</button>
|
||||
|
||||
@@ -16,7 +16,7 @@ ob_start();
|
||||
?>
|
||||
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-file-download me-2"></i>Export license templates</h5>
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-download me-2"></i>Export license templates</h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
|
||||
@@ -15,7 +15,7 @@ ob_start();
|
||||
?>
|
||||
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-file-download me-2"></i>Export ticket templates</h5>
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-download me-2"></i>Export ticket templates</h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
|
||||
@@ -120,7 +120,7 @@ ob_start();
|
||||
<?php if ($is_self) { ?>
|
||||
<a class="btn btn-primary" href="/agent/user/user_details.php"><i class="fas fa-user-cog me-2"></i>Your account</a>
|
||||
<?php } elseif ($is_archived) { ?>
|
||||
<button type="button" class="btn btn-primary ajax-modal" data-modal-url="modals/user/user_restore.php?id=<?= $user_id ?>"><i class="fas fa-redo-alt me-2"></i>Restore</button>
|
||||
<button type="button" class="btn btn-primary ajax-modal" data-modal-url="modals/user/user_restore.php?id=<?= $user_id ?>"><i class="fas fa-redo me-2"></i>Restore</button>
|
||||
<?php } else { ?>
|
||||
<button type="button" class="btn btn-primary ajax-modal" data-modal-size="lg" data-modal-url="modals/user/user_edit.php?id=<?= $user_id ?>"><i class="fas fa-user-edit me-2"></i>Edit</button>
|
||||
<?php } ?>
|
||||
|
||||
@@ -13,15 +13,15 @@ $agent_count = intval(mysqli_fetch_row(mysqli_query($mysqli, "SELECT COUNT(*) FR
|
||||
ob_start();
|
||||
|
||||
?>
|
||||
<div class="modal-header bg-danger">
|
||||
<h5 class="modal-title text-white"><i class="fas fa-fw fa-skull-crossbones me-2"></i>Incident response</h5>
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fas fa-fw fa-skull-crossbones me-2"></i>Incident response</h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
|
||||
<div class="modal-body">
|
||||
<p class="fw-semibold mb-2">Reset the password of every other agent - <?= $agent_count ?> of them.</p>
|
||||
<div class="alert alert-danger fw-semibold">Reset the password of every other agent - <?= $agent_count ?> of them.</div>
|
||||
<ul class="small mb-3 ps-3">
|
||||
<li>Each gets a new password, shown to you once on the next page - give them out by phone, not email, and have them changed.</li>
|
||||
<li>Their remembered browsers are forgotten, so anyone with MFA is asked for a code again.</li>
|
||||
|
||||
@@ -18,7 +18,7 @@ ob_start();
|
||||
|
||||
?>
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-redo-alt me-2"></i>Restore <?= escapeHtml($name) ?></h5>
|
||||
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-redo me-2"></i>Restore <?= escapeHtml($name) ?></h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
|
||||
@@ -17,7 +17,7 @@ ob_start();
|
||||
?>
|
||||
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-file-download me-2"></i>Export vendor templates</h5>
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-download me-2"></i>Export vendor templates</h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<form action="/admin/post.php" method="post" autocomplete="off" data-vendor-template-export>
|
||||
|
||||
@@ -32,7 +32,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
<div class="row g-2 align-items-center">
|
||||
<div class="col-md-4">
|
||||
<div class="input-group">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) {echo stripslashes(escapeHtml($q));} ?>" placeholder="Search Modules">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) {echo stripslashes(escapeHtml($q));} ?>" placeholder="Search modules...">
|
||||
<button class="btn btn-primary" title="Search"><i class="fa fa-search"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -207,7 +207,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($archived) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_payment_method=<?= $payment_method_id ?>&csrf_token=<?= $csrf ?>" title="Back in the pickers">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_payment_method=<?= $payment_method_id ?>&csrf_token=<?= $csrf ?>"
|
||||
|
||||
@@ -83,7 +83,7 @@ $archived = !empty($template['project_template_archived_at']);
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($archived) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_project_template=<?= $project_template_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_project_template=<?= $project_template_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>">
|
||||
|
||||
@@ -120,7 +120,7 @@ $sort_link = function ($column, $label) use ($url_query_strings_sort, $sort, $di
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($row['project_template_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_project_template=<?= $project_template_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_project_template=<?= $project_template_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>">
|
||||
|
||||
@@ -165,7 +165,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($row['role_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_role=<?= $role_id ?>&csrf_token=<?= $csrf ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } elseif ($archive_blocker !== '') { ?>
|
||||
<span class="dropdown-item disabled" title="<?= escapeHtml($archive_blocker) ?>"><i class="fas fa-fw fa-archive me-2"></i>Archive</span>
|
||||
|
||||
@@ -122,7 +122,7 @@ $signup_clients = $signup_ready ? portalSignupClients() : [];
|
||||
<td class="small"><?= escapeHtml(implode(' ', $when)) ?><div class="text-secondary">Posted by <?= escapeHtml($row['user_name'] ?: 'someone') ?></div></td>
|
||||
<td>
|
||||
<div class="dropdown dropstart text-center">
|
||||
<button class="btn btn-secondary btn-sm" title="More actions" data-bs-toggle="dropdown"><i class="fas fa-ellipsis-h"></i></button>
|
||||
<button class="btn btn-secondary btn-sm" title="More actions" data-bs-toggle="dropdown"><i class="fas fa-ellipsis-v"></i></button>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/portal_announcement/portal_announcement_edit.php?id=<?= $announcement_id ?>" data-modal-size="lg"><i class="fas fa-fw fa-edit me-2"></i>Edit</a>
|
||||
<?php if ($row['announcement_archived_at']) { ?>
|
||||
|
||||
@@ -87,7 +87,7 @@ echo settingsPageStart('company');
|
||||
'Click it to ' . ($logo_url !== '' ? 'change it' : 'add one') . ' - a PNG or JPG. A wide one prints best, and a PNG keeps a see-through background.');
|
||||
?>
|
||||
<?php if ($logo_url !== '') { ?>
|
||||
<a href="post.php?remove_company_logo&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-sm btn-outline-danger mt-2 confirm-link" data-settings-remove-logo><i class="fas fa-trash-alt me-2"></i>Take the logo off</a>
|
||||
<a href="post.php?remove_company_logo&csrf_token=<?= $_SESSION['csrf_token'] ?>" class="btn btn-sm btn-outline-danger mt-2 confirm-link" data-settings-remove-logo><i class="fas fa-trash me-2"></i>Take the logo off</a>
|
||||
<?php } ?>
|
||||
<?= settingsSectionEnd() ?>
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ $audit_url = function (array $query) use ($dates_query) {
|
||||
<div class="row g-2 align-items-center">
|
||||
<div class="col-lg-6 col-md-7">
|
||||
<div class="input-group">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) { echo stripslashes(escapeHtml($q)); } ?>" placeholder="Name, email or IP address">
|
||||
<input type="search" class="form-control" name="q" value="<?php if (isset($q)) { echo stripslashes(escapeHtml($q)); } ?>" placeholder="Search sign-ins..." title="Name, email or IP address">
|
||||
<button class="btn btn-dark" title="Search"><i class="fa fa-search"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -396,7 +396,7 @@ $pill_url = function ($view) use ($on_days) {
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="<?= $edit_url ?>"><i class="fas fa-fw fa-edit text-secondary me-2"></i>Edit</a>
|
||||
<?php if ($sla['sla_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?unarchive_sla=<?= $sla_id ?>&csrf_token=<?= $csrf ?>" data-sla-restore><i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore</a>
|
||||
<a class="dropdown-item" href="post.php?unarchive_sla=<?= $sla_id ?>&csrf_token=<?= $csrf ?>" data-sla-restore><i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore</a>
|
||||
<?php } else { ?>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_sla=<?= $sla_id ?>&csrf_token=<?= $csrf ?>">
|
||||
|
||||
@@ -130,11 +130,11 @@ $facts = array_filter([
|
||||
<?php } ?>
|
||||
<button type="button" class="btn btn-outline-secondary ajax-modal" data-modal-size="lg" data-modal-url="<?= $edit_url ?>"><i class="fas fa-fw fa-edit me-2"></i>Edit</button>
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-outline-secondary" title="More actions" type="button" data-bs-toggle="dropdown"><i class="fas fa-fw fa-ellipsis-h"></i></button>
|
||||
<button class="btn btn-outline-secondary" title="More actions" type="button" data-bs-toggle="dropdown"><i class="fas fa-fw fa-ellipsis-v"></i></button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="<?= $required_url ?>"><i class="fas fa-fw fa-clipboard-check me-2"></i>Who should have it</a>
|
||||
<a class="dropdown-item" href="post.php?copy_software_template=<?= $software_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-copy me-2"></i>Copy</a>
|
||||
<a class="dropdown-item" href="post.php?export_software_template=<?= $software_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-file-download me-2"></i>Export</a>
|
||||
<a class="dropdown-item" href="post.php?export_software_template=<?= $software_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-download me-2"></i>Export</a>
|
||||
<?php if ($archived) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_software_template=<?= $software_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-redo me-2"></i>Restore</a>
|
||||
<?php } else { ?>
|
||||
|
||||
@@ -122,7 +122,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<i class="fas fa-fw fa-file-upload text-secondary me-2"></i>Import
|
||||
</a>
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/software_template/software_template_export.php">
|
||||
<i class="fas fa-fw fa-file-download text-secondary me-2"></i>Export
|
||||
<i class="fas fa-fw fa-download text-secondary me-2"></i>Export
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="/agent/reports/license_templates.php">
|
||||
@@ -251,12 +251,12 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<i class="fas fa-fw fa-copy text-secondary me-2"></i>Copy
|
||||
</a>
|
||||
<a class="dropdown-item" href="post.php?export_software_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>" title="A file to import into another ITFlow">
|
||||
<i class="fas fa-fw fa-file-download text-secondary me-2"></i>Export
|
||||
<i class="fas fa-fw fa-download text-secondary me-2"></i>Export
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($row['software_template_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_software_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_software_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>" title="Not offered for new licenses - the licenses made from it stay">
|
||||
|
||||
@@ -211,7 +211,7 @@ if (!$total_missing) {
|
||||
data-confirm-title="Remove the demo data?"
|
||||
data-confirm-text="The demo clients go, with all of their contacts, assets, documentation, credentials, tickets, quotes, invoices and payments, and so do the demo suppliers, accounts, response targets and company expenses. This can't be undone."
|
||||
data-confirm-button="Remove it">
|
||||
<i class="fas fa-fw fa-trash-alt me-2"></i>Remove demo data
|
||||
<i class="fas fa-fw fa-trash me-2"></i>Remove demo data
|
||||
</button>
|
||||
</form>
|
||||
<?php } ?>
|
||||
|
||||
@@ -132,7 +132,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
</a>
|
||||
<?php if ($show_archived) { ?>
|
||||
<button class="dropdown-item" type="submit" form="bulkActions" name="bulk_restore_tags">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</button>
|
||||
<?php } else { ?>
|
||||
<button class="dropdown-item" type="submit" form="bulkActions" name="bulk_archive_tags">
|
||||
@@ -232,7 +232,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($tag['tag_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_tag=<?= $tag_id ?>&csrf_token=<?= $csrf ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_tag=<?= $tag_id ?>&csrf_token=<?= $csrf ?>" title="It stays on its <?= $kind['plural'] ?>, but isn't offered for tagging or in the filters">
|
||||
|
||||
@@ -158,7 +158,7 @@ $sort_link = function ($column, $label) use ($url_query_strings_sort, $sort, $di
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/tax/tax_edit.php?id=<?= $tax_id ?>" data-modal-size="lg"><i class="fas fa-fw fa-edit text-secondary me-2"></i>Edit</a>
|
||||
<?php if ($rate['tax_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_tax=<?= $tax_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>"><i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore</a>
|
||||
<a class="dropdown-item" href="post.php?restore_tax=<?= $tax_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>"><i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore</a>
|
||||
<?php } else { ?>
|
||||
<?php if (!$u['default']) { ?>
|
||||
<a class="dropdown-item" href="post.php?default_tax=<?= $tax_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>"><i class="fas fa-fw fa-star text-secondary me-2"></i>Make default</a>
|
||||
|
||||
@@ -127,10 +127,10 @@ $edit_url = "modals/ticket_template/ticket_template_edit.php?id=$ticket_template
|
||||
<?php } ?>
|
||||
<button type="button" class="btn btn-outline-secondary ajax-modal" data-modal-size="lg" data-modal-url="<?= $edit_url ?>"><i class="fas fa-fw fa-edit me-2"></i>Edit</button>
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-outline-secondary" title="More actions" type="button" data-bs-toggle="dropdown"><i class="fas fa-fw fa-ellipsis-h"></i></button>
|
||||
<button class="btn btn-outline-secondary" title="More actions" type="button" data-bs-toggle="dropdown"><i class="fas fa-fw fa-ellipsis-v"></i></button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<a class="dropdown-item" href="post.php?copy_ticket_template=<?= $ticket_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-copy me-2"></i>Copy</a>
|
||||
<a class="dropdown-item" href="post.php?export_ticket_template=<?= $ticket_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-file-download me-2"></i>Export</a>
|
||||
<a class="dropdown-item" href="post.php?export_ticket_template=<?= $ticket_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-download me-2"></i>Export</a>
|
||||
<?php if ($archived) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_ticket_template=<?= $ticket_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-redo me-2"></i>Restore</a>
|
||||
<?php } else { ?>
|
||||
@@ -204,7 +204,7 @@ $edit_url = "modals/ticket_template/ticket_template_edit.php?id=$ticket_template
|
||||
data-confirm-title="Reset <?= escapeHtml($fill_in['name']) ?>?" data-confirm-text="It is still in the text, so it stays asked for - as plain, optional text." data-confirm-button="Reset"><i class="fas fa-fw fa-undo me-2"></i>Reset</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger confirm-link" href="post.php?delete_ticket_template_fill_in=<?= $fill_in['id'] ?>&csrf_token=<?= $csrf ?>"
|
||||
data-confirm-title="Remove <?= escapeHtml($fill_in['name']) ?>?" data-confirm-text="It is no longer asked for. Tickets already raised keep their answers." data-confirm-button="Remove"><i class="fas fa-fw fa-trash-alt me-2"></i>Remove</a>
|
||||
data-confirm-title="Remove <?= escapeHtml($fill_in['name']) ?>?" data-confirm-text="It is no longer asked for. Tickets already raised keep their answers." data-confirm-button="Remove"><i class="fas fa-fw fa-trash me-2"></i>Remove</a>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
@@ -271,7 +271,7 @@ $edit_url = "modals/ticket_template/ticket_template_edit.php?id=$ticket_template
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/ticket_template/ticket_template_task_edit.php?id=<?= $task['id'] ?>"><i class="fas fa-fw fa-edit me-2"></i>Edit</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item text-danger confirm-link" href="post.php?delete_task_template=<?= $task['id'] ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-trash-alt me-2"></i>Delete</a>
|
||||
<a class="dropdown-item text-danger confirm-link" href="post.php?delete_task_template=<?= $task['id'] ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-trash me-2"></i>Delete</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -96,7 +96,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<i class="fas fa-fw fa-file-upload text-secondary me-2"></i>Import
|
||||
</a>
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/ticket_template/ticket_template_export.php">
|
||||
<i class="fas fa-fw fa-file-download text-secondary me-2"></i>Export
|
||||
<i class="fas fa-fw fa-download text-secondary me-2"></i>Export
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="/agent/reports/ticket_templates.php">
|
||||
@@ -221,7 +221,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($row['ticket_template_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_ticket_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_ticket_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>" title="Not offered for new tickets - recurring tickets and project templates that use it keep it">
|
||||
|
||||
@@ -786,7 +786,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<?php } elseif ($is_archived) { ?>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/user/user_restore.php?id=<?= $user_id ?>">
|
||||
<i class="fas fa-fw fa-redo-alt text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-size="lg" data-modal-url="modals/user/user_edit.php?id=<?= $user_id ?>">
|
||||
|
||||
@@ -156,11 +156,11 @@ foreach (vendorTemplateFieldLabels() as $field) {
|
||||
<?php } ?>
|
||||
<button type="button" class="btn btn-outline-secondary ajax-modal" data-modal-size="lg" data-modal-url="<?= $edit_url ?>"><i class="fas fa-fw fa-edit me-2"></i>Edit</button>
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-outline-secondary" title="More actions" type="button" data-bs-toggle="dropdown"><i class="fas fa-fw fa-ellipsis-h"></i></button>
|
||||
<button class="btn btn-outline-secondary" title="More actions" type="button" data-bs-toggle="dropdown"><i class="fas fa-fw fa-ellipsis-v"></i></button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="<?= $required_url ?>"><i class="fas fa-fw fa-clipboard-check me-2"></i>Who should have it</a>
|
||||
<a class="dropdown-item" href="post.php?copy_vendor_template=<?= $vendor_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-copy me-2"></i>Copy</a>
|
||||
<a class="dropdown-item" href="post.php?export_vendor_template=<?= $vendor_template_id ?>&csrf_token=<?= $csrf ?>" title="A file to import into another ITFlow - without account numbers or PINs"><i class="fas fa-fw fa-file-download me-2"></i>Export</a>
|
||||
<a class="dropdown-item" href="post.php?export_vendor_template=<?= $vendor_template_id ?>&csrf_token=<?= $csrf ?>" title="A file to import into another ITFlow - without account numbers or PINs"><i class="fas fa-fw fa-download me-2"></i>Export</a>
|
||||
<a class="dropdown-item" href="/agent/reports/vendor_templates.php" title="Reports > Vendor Templates"><i class="fas fa-fw fa-chart-bar me-2"></i>How they are used</a>
|
||||
<?php if ($archived) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_vendor_template=<?= $vendor_template_id ?>&csrf_token=<?= $csrf ?>"><i class="fas fa-fw fa-redo me-2"></i>Restore</a>
|
||||
|
||||
@@ -138,7 +138,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<i class="fas fa-fw fa-file-upload text-secondary me-2"></i>Import
|
||||
</a>
|
||||
<a class="dropdown-item ajax-modal" href="#" data-modal-url="<?= $export_url ?>">
|
||||
<i class="fas fa-fw fa-file-download text-secondary me-2"></i>Export
|
||||
<i class="fas fa-fw fa-download text-secondary me-2"></i>Export
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="/agent/reports/vendor_templates.php">
|
||||
@@ -283,12 +283,12 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<i class="fas fa-fw fa-copy text-secondary me-2"></i>Copy
|
||||
</a>
|
||||
<a class="dropdown-item" href="post.php?export_vendor_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>" title="A file to import into another ITFlow - without account numbers or PINs">
|
||||
<i class="fas fa-fw fa-file-download text-secondary me-2"></i>Export
|
||||
<i class="fas fa-fw fa-download text-secondary me-2"></i>Export
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($row['vendor_template_archived_at']) { ?>
|
||||
<a class="dropdown-item" href="post.php?restore_vendor_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>">
|
||||
<i class="fas fa-fw fa-box-open text-secondary me-2"></i>Restore
|
||||
<i class="fas fa-fw fa-redo text-secondary me-2"></i>Restore
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="dropdown-item text-danger" href="post.php?archive_vendor_template=<?= $template_id ?>&csrf_token=<?= $csrf ?>" title="Not offered for new vendors - the vendors made from it stay">
|
||||
|
||||
Reference in New Issue
Block a user