Rename Functions: flash_alert, sanitizeFilename and display_folder_options using camelCase instead to match other custom php functions

This commit is contained in:
johnnyq
2026-07-14 17:41:41 -04:00
parent f1836c70cd
commit b8873039a4
82 changed files with 603 additions and 603 deletions

View File

@@ -25,7 +25,7 @@ if (isset($_POST['add_api_key'])) {
logAudit("API Key", "Create", "$session_name created API key $name set to expire on $expire", $client_id, $api_key_id);
flash_alert("API Key <strong>$name</strong> created");
flashAlert("API Key <strong>$name</strong> created");
redirect();
@@ -46,7 +46,7 @@ if (isset($_GET['revoke_api_key'])) {
logAudit("API Key", "Revoke", "$session_name revoked API key $name", $client_id);
flash_alert("API Key <strong>$name</strong> revoked", 'error');
flashAlert("API Key <strong>$name</strong> revoked", 'error');
redirect();
@@ -67,7 +67,7 @@ if (isset($_GET['delete_api_key'])) {
logAudit("API Key", "Delete", "$session_name deleted API key $name", $client_id);
flash_alert("API Key <strong>$name</strong> deleted", 'error');
flashAlert("API Key <strong>$name</strong> deleted", 'error');
redirect();
@@ -99,7 +99,7 @@ if (isset($_POST['bulk_delete_api_keys'])) {
logAudit("API Key", "Bulk Delete", "$session_name deleted $count API key(s)");
flash_alert("Deleted <strong>$count</strong> API keys(s)", 'error');
flashAlert("Deleted <strong>$count</strong> API keys(s)", 'error');
}