Exemplo n.º 1
1
                        <div class="box location">
                            <h2><?php 
_e('Listing Location', 'bender');
?>
</h2>
                            <?php 
if (count(osc_get_countries()) > 1) {
    ?>
                            <div class="control-group">
                                <label class="control-label" for="country"><?php 
    _e('Country', 'bender');
    ?>
</label>
                                <div class="controls">
                                    <?php 
    ItemForm::country_select(osc_get_countries(), osc_user());
    ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="regionId"><?php 
    _e('Region', 'bender');
    ?>
</label>
                                <div class="controls">
                                    <?php 
    if (bender_default_location_show_as() == 'dropdown') {
        ItemForm::region_select(osc_get_regions(osc_user_field('fk_c_country_code')), osc_user());
    } else {
        ItemForm::region_text(osc_user());
    }
Exemplo n.º 2
0
}
?>

                            <div class="location-post">
                                <!-- location info -->
                                <h2><?php 
_e('Location');
?>
</h2>
                                <dl>
                                    <dt><?php 
_e('Country');
?>
</dt>
                                    <dd><?php 
ItemForm::country_select($countries, $item);
?>
</dd>
                                    <dt><?php 
_e('Region');
?>
</dt>
                                    <dd><?php 
ItemForm::region_select($regions, $item);
?>
</dd>
                                    <dt><?php 
_e('City');
?>
</dt>
                                    <dd><?php 
Exemplo n.º 3
0
                            <?php 
}
?>

                            <div class="box location">
                                <h2><?php 
_e('Location', 'modern');
?>
</h2>
                                <div class="row">
                                    <label><?php 
_e('Country', 'modern');
?>
</label>
                                    <?php 
ItemForm::country_select();
?>
                                </div>
                                <div class="row">
                                    <label><?php 
_e('Region', 'modern');
?>
</label>
                                    <?php 
ItemForm::region_text();
?>
                                </div>
                                <div class="row">
                                    <label><?php 
_e('City', 'modern');
?>