<?php echo displetretsidx_is_listing_agent_name_emphasized() ? 'displet-font-color' : 'displet-font-color-light'; ?> "> <?php displetretsidx_the_listing_agent(); ?> </span> <span class="<?php displetretsidx_the_listing_office_container_class(); ?> <?php displetretsidx_the_listing_office_class(); ?> <?php echo displetretsidx_is_listing_office_name_emphasized() ? 'displet-font-color' : 'displet-font-color-light'; ?> "> <?php displetretsidx_the_listing_office(); ?> </span> </div> <?php } ?> </div> </div> </a> <?php }
if (displetretsidx_has_listing_agent_name()) { $bold = displetretsidx_is_listing_agent_name_emphasized() ? 'displet-emphasize displet-font-color' : ''; $displet_pdp_other[] = '<tr class="displet-listing-agent-name"> <td class="displet-detail-title">Listing Agent:</td> <td class="displet-listing-agent-name-value ' . $bold . '">' . displetretsidx_get_listing_agent_name() . '</td> </tr>'; } if (displetretsidx_has_listing_agent_id()) { $bold = displetretsidx_is_listing_agent_id_emphasized() ? 'displet-emphasize displet-font-color' : ''; $displet_pdp_other[] = '<tr class="displet-listing-agent-id"> <td class="displet-detail-title">Listing Agent ID:</td> <td class="displet-listing-agent-id-value ' . $bold . '">' . displetretsidx_get_listing_agent_id() . '</td> </tr>'; } if (displetretsidx_has_listing_office_name()) { $bold = displetretsidx_is_listing_office_name_emphasized() ? 'displet-emphasize displet-font-color' : ''; $displet_pdp_other[] = '<tr class="displet-listing-office-name"> <td class="displet-detail-title">Listing Office:</td> <td class="displet-listing-office-name-value ' . $bold . '">' . displetretsidx_get_listing_office_name() . '</td> </tr>'; } if (displetretsidx_has_listing_office_id()) { $bold = displetretsidx_is_listing_office_id_emphasized() ? 'displet-emphasize displet-font-color' : ''; $displet_pdp_other[] = '<tr class="displet-listing-office-id"> <td class="displet-detail-title">Listing Office ID:</td> <td class="displet-listing-office-id-value ' . $bold . '">' . displetretsidx_get_listing_office_id() . '</td> </tr>'; } if (displetretsidx_has_longitude_display()) { $displet_pdp_other[] = '<tr class="displet-longitude"> <td class="displet-detail-title">Longitude:</td>
/** * @return: print: CSS classname */ function displetretsidx_the_listing_office_class() { $class = 'displet-listing-office-name-value'; if (displetretsidx_is_listing_office_name_emphasized()) { $class .= ' displet-emphasize'; } echo $class; }