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:
@@ -24,7 +24,7 @@ $input_collection_id = (isset($_REQUEST["input_collection_id"]) ? $_REQUEST["inp
|
||||
<input type="hidden" id="module_input_gallery_<?= $fieldSetup['id']; ?>" name="module_input_gallery_<?= $fieldSetup['id']; ?>" value="" />
|
||||
|
||||
<ul class="toolbar_menu">
|
||||
<?= button("new", $translation->get("new"), $formname, "openGallery('module_input_gallery_".$fieldSetup['id']."', 'null', 'collection')", "", FALSE); ?>
|
||||
<?= button("new", $translation->get("new"), $formname, "openGallery('module_input_gallery_".$fieldSetup['id']."', 'null', 'collection', 'multi')", "", FALSE); ?>
|
||||
<?= button("up", $translation->get("go_up"), $formname, "loadCard('moveup_line_gallery')", "", FALSE); ?>
|
||||
<?= button("down", $translation->get("go_down"), $formname, "loadCard('movedown_line_gallery')", "", FALSE); ?>
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ if ($messages !== null) {
|
||||
<td>
|
||||
<div class="label"><?php echo $translation->get("preview"); ?></div>
|
||||
<?php echo $input_line['preview']; ?>
|
||||
<input type="hidden" name="preview" value="<?php echo $input_line['preview']; ?>" />
|
||||
<input type="hidden" name="preview" value="<?php echo htmlspecialchars($input_line['preview'], ENT_QUOTES, 'UTF-8'); ?>" />
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -158,5 +158,5 @@ if($input_line["id"] == "") {
|
||||
}
|
||||
</script>
|
||||
<?php
|
||||
} // end $input_line['preview'] != ""
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user