Exemplo n.º 1
0
                            <div class="control-group">
                                <label class="control-label" for="city"><?php 
_e('City', 'bender');
?>
</label>
                                <div class="controls">
                                    <?php 
if (bender_default_location_show_as() == 'dropdown') {
    if (Params::getParam('action') != 'item_edit') {
        ItemForm::city_select(array(array('pk_i_id' => '', 's_name' => __("Select a city..."))), osc_item());
    } else {
        // add new item
        ItemForm::city_select(osc_get_cities(osc_user_region_id()), osc_user());
    }
} else {
    ItemForm::city_text(osc_user());
}
?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="cityArea"><?php 
_e('City Area', 'bender');
?>
</label>
                                <div class="controls">
                                    <?php 
ItemForm::city_area_text(osc_user());
?>
                                </div>
                            </div>
Exemplo n.º 2
0
?>
</label>
                        <div class="input">
                            <?php 
ItemForm::region_text();
?>
                        </div>
                    </div>
                    <div class="input-line">
                        <label><?php 
_e('City');
?>
</label>
                        <div class="input">
                            <?php 
ItemForm::city_text();
?>
                        </div>
                    </div>
                    <div class="input-line">
                        <label><?php 
_e('Category');
?>
</label>
                        <div class="input">
                            <?php 
ItemForm::category_select($categories, null, null, true);
?>
                        </div>
                    </div>