From 12c832d7fedfcc7f74f72ff8b8fdd288c7b624e5 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 23 Jun 2026 11:58:20 -0500 Subject: [PATCH] feat: comprehensive help modal for backup directory field Expanded the help modal with: - Absolute paths: starts with / or drive letter, used as-is - Relative paths: ./backups, ../backups, ../../backups with table showing URL-style conventions and resolved examples - Placeholder paths: detailed descriptions of each placeholder with current server values - Recommended configurations table: single site, multi-site, date-organized, per-profile, shared hosting - Security warnings for web-root-accessible paths - Help button uses JS click handler with Bootstrap 5 fallback (fixes non-working tooltip icon) --- .../src/Field/FolderPickerField.php | 150 +++++++++++++++--- 1 file changed, 128 insertions(+), 22 deletions(-) diff --git a/source/packages/com_mokosuitebackup/src/Field/FolderPickerField.php b/source/packages/com_mokosuitebackup/src/Field/FolderPickerField.php index 6244bc8..5a0797f 100644 --- a/source/packages/com_mokosuitebackup/src/Field/FolderPickerField.php +++ b/source/packages/com_mokosuitebackup/src/Field/FolderPickerField.php @@ -96,7 +96,7 @@ class FolderPickerField extends FormField Browse - @@ -124,36 +124,112 @@ class FolderPickerField extends FormField The default backup directory is inside the web root. Backup archives may be directly downloadable if .htaccess is not supported. For better security, use a path outside the web root.