Exemplo n.º 1
0
                          <?php 
}
?>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="city"><?php 
_e('City', 'flatter');
?>
</label>
                        <div class="col-sm-8">
						  <?php 
if (osc_get_preference('location_input', 'flatter_theme') == '1') {
    ?>
                            <?php 
    ItemForm::city_select(osc_get_cities(), osc_user());
    ?>
                          <?php 
} else {
    ?>
                            <?php 
    ItemForm::city_text(osc_user());
    ?>
                          <?php 
}
?>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="cityArea"><?php 
_e('City Area', 'flatter');
Exemplo n.º 2
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());
Exemplo n.º 3
0
?>
</dd>
                                    <dt><?php 
_e('Region');
?>
</dt>
                                    <dd><?php 
ItemForm::region_select($regions, $item);
?>
</dd>
                                    <dt><?php 
_e('City');
?>
</dt>
                                    <dd><?php 
ItemForm::city_select($cities, $item);
?>
</dd>
                                    <dt><?php 
_e('City area');
?>
</dt>
                                    <dd><?php 
ItemForm::city_area_text($item);
?>
</dd>
                                    <dt><?php 
_e('Address');
?>
</dt>
                                    <dd><?php 
Exemplo n.º 4
0
                            <label class="control-label" for="city"><?php 
_e('City', 'pop');
?>
</label>
                            <div class="controls">
                                <?php 
if ($action == 'item_add_post') {
    ?>
                                <?php 
    ItemForm::city_select(osc_get_cities(osc_user_region_id()), osc_user());
    ?>
                                <?php 
} else {
    ?>
                                <?php 
    ItemForm::city_select(null, osc_item());
    ?>
                                <?php 
}
?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="cityArea"><?php 
_e('City Area', 'pop');
?>
</label>
                            <div class="controls">
                                <?php 
ItemForm::city_area_text(osc_user());
?>
Exemplo n.º 5
0
                                <div class="row">
                                    <label><?php 
_e('Region');
?>
</label>
                                    <?php 
ItemForm::region_select($regions, "NULL");
?>
                                </div>
                                <div class="row">
                                    <label><?php 
_e('City');
?>
</label>
                                    <?php 
ItemForm::city_select($cities, "NULL");
?>
                                </div>

                                <div class="row">
                                    <label for="catId"><?php 
_e('Category');
?>
:</label>
                                    <?php 
ItemForm::category_select($categories, null, null, true);
?>
                                </div>
                            </div>
                            <div class="" style="float:left;">
                                <fieldset>
Exemplo n.º 6
0
                                <div class="row">
                                    <label><?php 
_e('Region', 'modern');
?>
 *</label>
                                    <?php 
ItemForm::region_select();
?>
                                </div>
                                <div class="row">
                                    <label><?php 
_e('City', 'modern');
?>
 *</label>
                                    <?php 
ItemForm::city_select();
?>
                                </div>
                                <div class="row">
                                    <label><?php 
_e('City area', 'modern');
?>
</label>
                                    <?php 
ItemForm::city_area_text();
?>
                                </div>
                                <div class="row">
                                    <label><?php 
_e('Address', 'modern');
?>
Exemplo n.º 7
0
                                <div class="row">
                                    <label><?php 
_e('Region');
?>
</label>
                                    <?php 
ItemForm::region_select($regions, null);
?>
                                </div>
                                <div class="row">
                                    <label><?php 
_e('City');
?>
</label>
                                    <?php 
ItemForm::city_select($cities, null);
?>
                                </div>

                                <div class="row">
                                    <label for="catId"><?php 
_e('Category');
?>
:</label>
                                    <?php 
ItemForm::category_select($categories, null, null, true);
?>
                                </div>
                            </div>
                            <div class="" style="float:left;">
                                <fieldset>