mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-03 06:55:03 +03:00
25 lines
917 B
Smarty
25 lines
917 B
Smarty
{**
|
|
* Добавление изображения в фотосет при отключенном флеше
|
|
*
|
|
* @styles css/modals.css
|
|
*}
|
|
|
|
{extends file='modals/modal_base.tpl'}
|
|
|
|
{block name='modal_id'}modal-photoset-upload{/block}
|
|
{block name='modal_class'}js-modal-default{/block}
|
|
{block name='modal_title'}{$aLang.uploadimg}{/block}
|
|
|
|
{block name='modal_content'}
|
|
<form id="photoset-upload-form" method="POST" enctype="multipart/form-data" onsubmit="return false;">
|
|
<label>{$aLang.topic_photoset_choose_image}:</label>
|
|
<input type="file" id="photoset-upload-file" name="Filedata" />
|
|
|
|
<input type="hidden" name="is_iframe" value="true" />
|
|
<input type="hidden" name="topic_id" value="{$_aRequest.topic_id}" />
|
|
</form>
|
|
{/block}
|
|
|
|
{block name='modal_footer_begin'}
|
|
<button type="submit" class="button button-primary" onclick="ls.photoset.upload();">{$aLang.topic_photoset_upload_choose}</button>
|
|
{/block} |