예제 #1
0
    }
    ?>
                                </div>
                            </div>
                            <?php 
}
?>

                            <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');
예제 #2
0
_e('Show location input as:', 'bender');
?>
</div>
                <div class="form-controls">
                    <select name="defaultLocationShowAs">
                        <option value="dropdown" <?php 
if (bender_default_location_show_as() == 'dropdown') {
    echo 'selected="selected"';
}
?>
><?php 
_e('Dropdown', 'bender');
?>
</option>
                        <option value="autocomplete" <?php 
if (bender_default_location_show_as() == 'autocomplete') {
    echo 'selected="selected"';
}
?>
><?php 
_e('Autocomplete', 'bender');
?>
</option>
                    </select>
                </div>
            </div>
        </div>
    </fieldset>

    <h2 class="render-title"><?php 
_e('Ads management', 'bender');