1234567891011 |
- <script type="text/html" id="photos-item-tpl">
- <li id="saved-image{id}">
- <input id="photo-{id}" type="hidden" name="photo_urls[]" value="{filepath}">
- <input class="form-control" id="photo-{id}-name" type="text" name="photo_names[]" value="{name}"
- style="width: 200px;" title="{:lang('IMAGE')}{:lang('NAME')}">
- <img id="photo-{id}-preview" src="{url}" style="height:36px;width: 36px;"
- onclick="imagePreviewDialog(this.src);">
- <a href="javascript:uploadOneImage('{:lang('IMAGE_UPLOAD')}','#photo-{id}');">{:lang('REPLACE')}</a>
- <a href="javascript:(function(){$('#saved-image{id}').remove();})();">{:lang('DELETE')}</a>
- </li>
- </script>
|