|
|
@@ -8,42 +8,37 @@
|
|
|
<img src="{file_icon}" class="bx-def-round-corners bx-base-general-icon bx-base-general-icon-{file_id}" />
|
|
|
</div>
|
|
|
<span class="bx-base-general-uploader-ghost">
|
|
|
- <b><bx_text:_bx_market_form_entry_input_files_name /></b><br />
|
|
|
+ <b><bx_text:_bx_market_form_entry_input_files_name /></b><br />
|
|
|
<input class="bx-def-font-inputs bx-form-input-text bx-def-margin-sec-bottom" type="text" value="{file_name}" readonly="1" /><br />
|
|
|
|
|
|
- <b><bx_text:_bx_market_form_entry_input_files_type /></b><br />
|
|
|
- <select class="bx-def-font-inputs bx-form-input-select bx-def-margin-sec-bottom" name="type-{file_id}" onchange="javascript:oBxMarketForm.changeFileType(this);">
|
|
|
- <option value="version"{file_type_version_selected}><bx_text:_bx_market_form_entry_input_files_type_version /></option>
|
|
|
- <option value="update"{file_type_update_selected}><bx_text:_bx_market_form_entry_input_files_type_update /></option>
|
|
|
- </select><br />
|
|
|
+ <b><bx_text:_bx_market_form_entry_input_files_type /></b><br />
|
|
|
+ <select class="bx-def-font-inputs bx-form-input-select bx-def-margin-sec-bottom" name="type-{file_id}" onchange="javascript:oBxMarketForm.changeFileType(this);">
|
|
|
+ <option value="version"{file_type_version_selected}><bx_text:_bx_market_form_entry_input_files_type_version /></option>
|
|
|
+ <option value="update"{file_type_update_selected}><bx_text:_bx_market_form_entry_input_files_type_update /></option>
|
|
|
+ </select><br />
|
|
|
|
|
|
- <span class="bx-uploader-ghost-type-rel bx-uploader-ghost-type-version"{file_type_version_elements}>
|
|
|
- <b><bx_text:_bx_market_form_entry_input_files_version /></b><br />
|
|
|
- <input class="bx-def-font-inputs bx-form-input-text bx-def-margin-sec-bottom" type="text" name="version-{file_id}" value="{file_version_attr}" /><br />
|
|
|
- </span>
|
|
|
+ <span class="bx-uploader-ghost-type-rel bx-uploader-ghost-type-version"{file_type_version_elements}>
|
|
|
+ <b><bx_text:_bx_market_form_entry_input_files_version /></b><br />
|
|
|
+ <input class="bx-def-font-inputs bx-form-input-text bx-def-margin-sec-bottom" type="text" name="version-{file_id}" value="{file_version_attr}" /><br />
|
|
|
+ </span>
|
|
|
|
|
|
- <span class="bx-uploader-ghost-type-rel bx-uploader-ghost-type-update"{file_type_update_elements}>
|
|
|
- <b><bx_text:_bx_market_form_entry_input_files_version_from /></b><br />
|
|
|
- <select class="bx-def-font-inputs bx-form-input-select bx-def-margin-sec-bottom" name="version-from-{file_id}">{file_version_from_options}</select><br />
|
|
|
- <b><bx_text:_bx_market_form_entry_input_files_version_to /></b><br />
|
|
|
- <select class="bx-def-font-inputs bx-form-input-select bx-def-margin-sec-bottom" name="version-to-{file_id}">{file_version_to_options}</select><br />
|
|
|
- </span>
|
|
|
-
|
|
|
- <span class="bx-base-general-intert-to-post-link" id="bx-base-general-intert-to-post-link-{file_id}" style="display:none;">
|
|
|
- <a class="bx-btn bx-btn-small bx-def-margin-sec-right" href="javascript:void(0);" onclick="bx_base_general_insert_to_post('{file_id}', '{file_url}', '__editor_id__');"><bx_text:_sys_txt_form_entry_input_picture_insert /></a>
|
|
|
- </span>
|
|
|
+ <span class="bx-uploader-ghost-type-rel bx-uploader-ghost-type-update"{file_type_update_elements}>
|
|
|
+ <b><bx_text:_bx_market_form_entry_input_files_version_from /></b><br />
|
|
|
+ <select class="bx-def-font-inputs bx-form-input-select bx-def-margin-sec-bottom" name="version-from-{file_id}">{file_version_from_options}</select><br />
|
|
|
+ <b><bx_text:_bx_market_form_entry_input_files_version_to /></b><br />
|
|
|
+ <select class="bx-def-font-inputs bx-form-input-select bx-def-margin-sec-bottom" name="version-to-{file_id}">{file_version_to_options}</select><br />
|
|
|
+ </span>
|
|
|
<a class="bx-btn bx-btn-small bx-def-margin-sec-right" href="javascript:void(0);" onclick="bx_base_general_delete_ghost('{file_id}', '{file_url}', '{file_icon}', ['__editor_id__'], {js_instance_name});"><bx_text:_sys_txt_form_entry_input_picture_delete /></a>
|
|
|
-
|
|
|
+
|
|
|
<bx_if:set_thumb>
|
|
|
<span class="bx-base-general-use-as-thumb bx-uploader-ghost-type-rel bx-uploader-ghost-type-version"{file_type_version_elements}>
|
|
|
<input type="checkbox" name="__name_thumb__[]" value="{file_id}" onclick="bx_base_general_select_thumb(this)" id="__name_thumb__-{file_id}" />
|
|
|
<label for="__name_thumb__-{file_id}"><bx_text:_bx_market_form_entry_input_files_use_as_main /></label>
|
|
|
</span>
|
|
|
</bx_if:set_thumb>
|
|
|
-
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<script type="text/javascript" language="javascript">
|
|
|
bx_market_ghost_init($('#bx-uploader-file-{storage_object}-{file_id}'), {file_id}, __thumb_id__);
|
|
|
-</script>
|
|
|
+</script>
|