Пример #1
0
//ItemForm::category_select(null, null, __('Select a category', 'osclasswizards'));
?>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label" for="title[<?php 
echo osc_locale_code();
?>
]">
                            <?php 
_e('Title', 'osclasswizards');
?>
                        </label>
                        <div class="controls">
                            <?php 
ItemForm::title_input('title', osc_locale_code(), osc_esc_html(osclasswizards_item_title()));
?>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label" for="description[<?php 
echo osc_locale_code();
?>
]">
                            <?php 
_e('Description', 'osclasswizards');
?>
                        </label>
                        <div class="controls">
                            <?php 
ItemForm::description_textarea('description', osc_locale_code(), osc_esc_html(osclasswizards_item_description()));
Пример #2
0
}
?>
            </div>
          </div>
          <div class="form-group">
            <label class="control-label" for="title[<?php 
echo osc_current_user_locale();
?>
]">
              <?php 
_e('Title', OSCLASSWIZARDS_THEME_FOLDER);
?>
            </label>
            <div class="controls">
              <?php 
ItemForm::title_input('title', osc_current_user_locale(), osc_esc_html(osclasswizards_item_title()));
?>
            </div>
          </div>
          <div class="form-group">
            <label class="control-label" for="description[<?php 
echo osc_current_user_locale();
?>
]">
              <?php 
_e('Description', OSCLASSWIZARDS_THEME_FOLDER);
?>
            </label>
            <div class="controls">
              <?php 
ItemForm::description_textarea('description', osc_current_user_locale(), osc_esc_html(osclasswizards_item_description()));