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:
@@ -27,7 +27,7 @@ function get_ceo($mandant_id){
|
||||
function get_contact($image, $name, $email, $phone_no, $role_name) {
|
||||
echo "<div class='group_container'>";
|
||||
if($image == ""){
|
||||
echo "<div class='img_container'><img class='img-fluid' src='/userdata/intranet/contact/platzhalter-mann-compressor.jpg'></div>";
|
||||
echo "<div class='img_container'><img class='img-fluid' src='/userdata/intranet/contact/platzhalter.png'></div>";
|
||||
}else {
|
||||
echo "<div class='img_container'><img class='img-fluid' src='/userdata/intranet/contact/".$image."'></div>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user