mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 08:50:42 +00:00
Rename Functions: flash_alert, sanitizeFilename and display_folder_options using camelCase instead to match other custom php functions
This commit is contained in:
@@ -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');
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user