function sfhiv_service_draw_service_hour_form($data = array())
{
    echo '<div class="service_hour">';
    sfhiv_draw_services_hours_op_meta($data['days'], 'hours[position]');
    sfhiv_draw_service_hours_time_meta($data['start'], $data['end'], 'hours[position]');
    sfhiv_location_location_list_draw(array($data['location']), array('field_name' => 'hours[position][sfhiv_location]'));
    echo '</div>';
}
function sfhiv_location_location_list($post, $args = array())
{
    $connected_location = new WP_Query(array('connected_type' => 'related_location', 'connected_items' => $post->ID));
    $connected_ids = array();
    foreach ($connected_location->posts as $location) {
        $connected_ids[] = $location->ID;
    }
    sfhiv_location_location_list_draw($connected_ids, $args);
}