Refactor profile-edit, candidate-profile, proposed-candidates, and registration forms

- Added a new div container in profile-edit.php for better layout structure.
- Removed the back button from candidate-profile.php to streamline navigation.
- Updated proposed-candidates.php to open candidate links in a new tab for improved user experience.
- Modified registration forms to make the profile visibility checkbox optional, enhancing user flexibility.
This commit is contained in:
2025-06-12 00:35:15 +02:00
parent 6b7ad2a297
commit 43d74c60d5
10 changed files with 35 additions and 28 deletions

View File

@@ -382,7 +382,7 @@ class GlobelusUser
$regex = "-(<a[^>]+href\s*=\s*['\"])(((?!'|\"|https?://).)*)(['\"][^>]*>)-i";
$text = preg_replace( $regex, "$1" . $base . "://" . $_SERVER['SERVER_NAME'] . "$2$4", $text );
$send = \S::send_email( $email, $lang['potwierdzenie-aktywacji-konta-w-portalu'] . ' GLOBELUS.PL', $text );
// $send = \S::send_email( $email, $lang['potwierdzenie-aktywacji-konta-w-portalu'] . ' GLOBELUS.PL', $text );
}
return true;
}