Touch up share modal

Touching up the share modal.
This is in preparation to allow a field for a contact (dropdown) / email address input, so that the shared link can be quickly emailed to a client
This commit is contained in:
Marcus Hill
2023-02-25 22:53:14 +00:00
parent 9e813be823
commit 69063d8d01
3 changed files with 81 additions and 64 deletions

View File

@@ -142,7 +142,7 @@ if ($item_type == "Document") {
// Logging
$name = sanitizeInput($login_row['login_name']);
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Sharing', log_action = 'View', log_description = 'Viewed shared $item_type $name via link', log_client_id = $client_id, log_ip = '$ip', log_user_agent = '$user_agent', company_id = 1");
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Sharing', log_action = 'View', log_description = 'Viewed shared $item_type $name via link', log_client_id = $client_id, log_ip = '$ip', log_user_agent = '$ua', company_id = 1");
}