diff options
author | zotlabs <mike@macgirvin.com> | 2017-05-02 12:46:50 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-05-02 12:46:50 -0700 |
commit | 80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc (patch) | |
tree | 484f2101b78ae16f397310470b7e30f2c03d7b57 /view/tpl/photos_upload.tpl | |
parent | 83c4dd6bda1677a3441d06247ea076094394703e (diff) | |
download | volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.tar.gz volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.tar.bz2 volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.zip |
Revert "move theme specific files to theme dir"
This reverts commit e332d1074f1b663ec66d37b0f575df2e41d5535c.
Diffstat (limited to 'view/tpl/photos_upload.tpl')
-rwxr-xr-x | view/tpl/photos_upload.tpl | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/view/tpl/photos_upload.tpl b/view/tpl/photos_upload.tpl new file mode 100755 index 000000000..d52bad5a2 --- /dev/null +++ b/view/tpl/photos_upload.tpl @@ -0,0 +1,61 @@ +<div id="photo-upload-form"> + <div class="section-content-tools-wrapper"> + <form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" class="acl-form" data-form_id="photos-upload-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'> + <input type="hidden" id="photos-upload-source" name="source" value="photos" /> + + <div class="form-group"> + <label for="photos-upload-album">{{$newalbum_label}}</label> + <input type="text" class="form-control" id="photos-upload-album" name="newalbum" placeholder="{{$newalbum_placeholder}}" value="{{$selname}}" list="dl-photo-upload"> + <datalist id="dl-photo-upload"> + {{foreach $albums as $al}} + {{if $al.text}} + <option value="{{$al.text}}" /> + {{/if}} + {{/foreach}} + </datalist> + </div> + {{if $default}} + <div class="form-group"> + <input id="photos-upload-choose" type="file" name="userfile" /> + </div> + {{include file="field_input.tpl" field=$caption}} + {{include file="field_checkbox.tpl" field=$visible}} + <div id="body-textarea"> + {{include file="field_textarea.tpl" field=$body}} + </div> + <div class="pull-right btn-group"> + <div class="btn-group"> + {{if $lockstate}} + <button id="dbtn-acl" class="btn btn-outline-secondary btn-sm" data-toggle="modal" data-target="#aclModal" onclick="return false;"> + <i id="jot-perms-icon" class="fa fa-{{$lockstate}}"></i> + </button> + {{/if}} + <button id="dbtn-submit" class="btn btn-primary btn-sm" type="submit" name="submit" >{{$submit}}</button> + </div> + + </div> + {{/if}} + <div class="clear"></div> + + {{if $uploader}} + {{include file="field_input.tpl" field=$caption}} + {{include file="field_checkbox.tpl" field=$visible}} + <div id="body-textarea"> + {{include file="field_textarea.tpl" field=$body}} + </div> + <div id="photos-upload-perms" class="btn-group pull-right"> + {{if $lockstate}} + <button class="btn btn-outline-secondary btn-sm" data-toggle="modal" data-target="#aclModal" onclick="return false;"> + <i id="jot-perms-icon" class="fa fa-{{$lockstate}}"></i> + </button> + {{/if}} + <div class="pull-right"> + {{$uploader}} + </div> + </div> + {{/if}} + </form> + </div> + {{$aclselect}} + <div id="photos-upload-end" class="clear"></div> +</div> |