Exemplo n.º 1
0
" />
                    <?php 
}
?>
                        <h2><?php 
_e('General Information', 'bender');
?>
</h2>
                        <div class="control-group">
                            <label class="control-label" for="select_1"><?php 
_e('Category', 'bender');
?>
</label>
                            <div class="controls">
                                <?php 
ItemForm::category_select(null, null, __('Select a category', 'bender'));
?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="title[<?php 
echo osc_current_user_locale();
?>
]"><?php 
_e('Title', 'bender');
?>
</label>
                            <div class="controls">
                                <?php 
ItemForm::title_input('title', osc_current_user_locale(), osc_esc_html(bender_item_title()));
?>
Exemplo n.º 2
0
?>
</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>
                    
                    <strong><?php 
_e('Status');
?>
</strong>
                    
                    <div class="input-line">
                        <label><?php 
_e('Premium');
?>
</label>
                        <div class="input">
Exemplo n.º 3
0
?>
                <div class="generalbox">
                <h2><?php 
_e('General information', 'flatter');
//_e('Publish a listing', 'flatter');
?>
</h2>
                <ul id="error_list"></ul>
                    <div class="form-group">
                        <label class="col-sm-3 control-label"><?php 
_e('Category', 'flatter');
?>
</label>
                        <div class="col-sm-8">
                          <?php 
ItemForm::category_select(null, null, __('Select a category', 'flatter'));
?>
                        </div>
                    </div>
                    <?php 
osc_goto_first_locale();
?>
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="title[<?php 
echo osc_locale_code();
?>
]"><?php 
_e('Title', 'flatter');
?>
</label>
                        <div  class="col-sm-8">
Exemplo n.º 4
0
                        <input type="hidden" name="secret" value="<?php 
echo osc_item_secret();
?>
" />
                            <div class="box general_info">
                                <h2><?php 
_e('General Information', 'modern');
?>
</h2>
                                <div class="row">
                                    <label><?php 
_e('Category', 'modern');
?>
 *</label>
                                    <?php 
ItemForm::category_select(null, null, __('Select a category', 'modern'));
?>
                                </div>
                                <div class="row">
                                    <?php 
ItemForm::multilanguage_title_description(osc_get_locales());
?>
                                </div>
                                <?php 
if (osc_price_enabled_at_items()) {
    ?>
                                <div class="row price">
                                    <label><?php 
    _e('Price', 'modern');
    ?>
</label>
Exemplo n.º 5
0
ItemForm::contact_email_text($item);
?>
                                </div>
                            </div>
                            <h2>
                                <?php 
_e('General information');
?>
                            </h2>
                            <label for="catId">
                                <?php 
_e('Category');
?>
:
                                <?php 
ItemForm::category_select($categories, $item);
?>
                            </label>

                            <?php 
ItemForm::multilanguage_title_description($locales, $item);
?>

                            <?php 
if (osc_price_enabled_at_items()) {
    ?>
                                <div>
                                    <h2><?php 
    _e('Price');
    ?>
</h2>
Exemplo n.º 6
0
                    <ul id="error_list"></ul>
                    
                        <input type="hidden" name="action" value="item_add_post" />
                        <input type="hidden" name="page" value="item" />
                        <h5><?php 
_e('General Information', 'classified');
?>
</h5>
                            <div class="form-group control-group">
                                <div class="controls">    
                                    <label for="catId"><?php 
_e('Category', 'classified');
?>
 *</label>    
                                    <?php 
ItemForm::category_select(null, null, __('Select a category', 'classified'));
?>
                                </div>
                            </div>
                            <div class="form-group control-group">
                                <div class="controls">
                                    <?php 
ItemForm::multilanguage_title_description();
?>
                                </div>
                            </div>
                     <?php 
if (osc_price_enabled_at_items()) {
    ?>
               
                </div>
Exemplo n.º 7
0
" method="post" enctype="multipart/form-data">
            			<div class="row">
		                <input type="hidden" name="action" value="item_add_post" />
		                <input type="hidden" name="page" value="item" />
		                <h2><?php 
_e('General Information', 'nepcoders');
?>
</h2>
		                    <div class="form-group control-group">
		                        <div class="controls">    
		                            <label for="catId"><?php 
_e('Category', 'nepcoders');
?>
 *</label>    
		                            <?php 
ItemForm::category_select(null, null, __('Select a category', 'nepcoders'));
?>
		                        </div>
		                    </div>
		                        <div class="form-group control-group">
		                            <div class="controls">
		                                <?php 
ItemForm::multilanguage_title_description();
?>
		                            </div>
		                        </div>
		                    <div class="col-sm-4">
		                    <?php 
if (osc_price_enabled_at_items()) {
    ?>
		                    <div class="form-group control-group">
Exemplo n.º 8
0
?>
                            </div>
                        </div>
                        <h2>
                            <?php 
_e('General information');
?>
                        </h2>
                        <label for="catId">
                            <?php 
_e('Category');
?>
:
                        </label>
                        <?php 
ItemForm::category_select();
?>

                        <?php 
ItemForm::multilanguage_title_description(osc_get_locales());
?>

                        <?php 
if (osc_price_enabled_at_items()) {
    ?>
                            <div class="_200 auto">
                                <h2><?php 
    _e('Price');
    ?>
</h2>
                                <?php 
Exemplo n.º 9
0
" />
                    <?php 
}
?>
                        <h2><?php 
_e('General Information', 'osclassclsx');
?>
</h2>
                        <div class="control-group">
                            <label class="control-label" for="select_1"><?php 
_e('Category', 'osclassclsx');
?>
</label>
                            <div class="controls">
                                <?php 
ItemForm::category_select(null, null, __('Select a category', 'osclassclsx'));
?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="title[<?php 
echo osc_current_user_locale();
?>
]"><?php 
_e('Title', 'osclassclsx');
?>
</label>
                            <div class="controls">
                                <?php 
ItemForm::title_input('title', osc_current_user_locale(), osc_esc_html(osclassclsx_item_title()));
?>
Exemplo n.º 10
0
            <div class="controls">
              <?php 
if (osc_count_categories()) {
    ?>
			<?php 
    if (osc_get_preference('category_multiple_selects', 'osclasswizards_theme') == '1') {
        ?>
			  <div class="cat_multiselect"><?php 
        ItemForm::category_multiple_selects(null, null, null, __('Select a category', OSCLASSWIZARDS_THEME_FOLDER));
        ?>
</div>
			<?php 
    } else {
        ?>
              <?php 
        ItemForm::category_select(null, null, __('Select a category', OSCLASSWIZARDS_THEME_FOLDER));
        ?>
			<?php 
    }
    ?>
              <?php 
}
?>
            </div>
          </div>
          <div class="form-group">
            <label class="control-label" for="title[<?php 
echo osc_current_user_locale();
?>
]">
              <?php 
" />
                    <input type="hidden" name="secret" value="<?php 
    echo osc_item_secret();
    ?>
" />
<?php 
}
?>
                <div class="control-group">
                    <label class="control-label" for="select_1"><?php 
_e('Category', 'pop');
?>
</label>
                    <div class="controls">
<?php 
ItemForm::category_select(null, null, __('Select a category', 'pop'));
?>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="title[<?php 
echo osc_current_user_locale();
?>
]"><?php 
_e('Title', 'pop');
?>
</label>
                    <div class="controls">
<?php 
ItemForm::title_input('title', osc_current_user_locale(), osc_esc_html(pop_item_title()));
?>
Exemplo n.º 12
0
                <span for="showEmail" class="ui-label-check"><?php 
    _e('Show e-mail on the item page', 'realestate');
    ?>
</span>
            </div>
            <?php 
}
?>

            <div class="row">
                <label for="catId"><?php 
_e('Category', 'realestate');
?>
 *</label>
                <?php 
ItemForm::category_select(null, null, __('Select a category', 'realestate'));
?>
            </div>
            <div class="row ui-row-text">
                <?php 
if ($locales == null) {
    $locales = osc_get_locales();
}
$value = array();
foreach ($locales as $locale) {
    $title = isset($item) && isset($item['locale'][$locale['pk_c_code']]) && isset($item['locale'][$locale['pk_c_code']]['s_title']) ? $item['locale'][$locale['pk_c_code']]['s_title'] : '';
    if (Session::newInstance()->_getForm('title') != "") {
        $title_ = Session::newInstance()->_getForm('title');
        if ($title_[$locale['pk_c_code']] != "") {
            $title = $title_[$locale['pk_c_code']];
        }