Refactor contact management functions and remove phpinfo.php

- Updated formatting and structure of functions in edit_contact.inc.php for better readability and consistency.
- Added comments to clarify the purpose of certain code sections, especially regarding mandant handling.
- Removed the deprecated phpinfo.php file to clean up the codebase.
This commit is contained in:
2026-05-11 08:54:44 +02:00
parent 8749bc7994
commit 52ca9249c3
64 changed files with 13445 additions and 3562 deletions

View File

@@ -263,7 +263,7 @@ function getList($current_mandant) {
echo '<tr class="contact_row">';
echo '<td class="contact_img_new">';
if ($value_users['image'] == "") {
echo "<img class='img-fluid' src='/userdata/intranet/contact/platzhalter-mann-compressor.jpg'>";
echo "<img class='img-fluid' src='/userdata/intranet/contact/platzhalter.png'>";
} else {
echo "<a data-fslightbox=" . $value_users['id'] . " href='/userdata/intranet/contact/" . $value_users['image'] . "'><img class='img-fluid' src='/userdata/intranet/contact/" . $value_users['image'] . "'></a>";
}
@@ -276,7 +276,7 @@ function getList($current_mandant) {
echo '<td>
<div style="cursor:pointer; width:16px; height:16px;"
onclick="open_modal_visitcard(\'' .
($value_users['image'] != "" ? $value_users['image'] : "platzhalter-mann-compressor.jpg") . '\', \'' .
($value_users['image'] != "" ? $value_users['image'] : "platzhalter.png") . '\', \'' .
$value_users['name'] . '\', \'' .
$value_users['email'] . '\', \'' .
$value_users['cost_center'] . '\', \'' .