/** * Static function to display the data in detail view * @param integer $related_to_id * @param integer $idmodule_related_to * @param string $related_to_value * @param boolean $linked */ public static function display_value($related_to_id, $idmodule_related_to, $related_to_value = '', $linked = true) { if ($idmodule_related_to == 4) { return FieldType130::display_value($related_to_id, $related_to_value, $linked); } elseif ($idmodule_related_to == 6) { return FieldType131::display_value($related_to_id, $related_to_value, $linked); } elseif ($idmodule_related_to == 3) { return FieldType132::display_value($related_to_id, $related_to_value, $linked); } elseif ($idmodule_related_to == 5) { return FieldType133::display_value($related_to_id, $related_to_value, $linked); } }
<div class="controls"> <?php FieldType5::display_field("industry", 34, $leads_obj->industry); ?> </div> </div> <div style="margin-left:30px;margin-top:20px;"> <input type="radio" name="select_org" id="select_org"> <?php echo _('Select Organization'); ?> </div> <div id="org_select" style="margin-left:30px;margin-top:20px;display:none;"> <?php echo FieldType131::display_field("idorganization"); ?> </div> </div> </div> <!--/Organization section ends--> <hr class="form_hr"> <!--Contact section--> <div class="box_content" id="cont"> <input type="checkbox" name="cnt_convertion" id="cnt_convertion"> <?php echo _('Contact'); ?> <div id="cnt_section" style="display:none;"> <div style="margin-left:30px;margin-top:20px;"> <input type="radio" name="create_cnt" id="create_cnt" CHECKED> <?php