diff options
author | friendica <info@friendica.com> | 2014-01-06 19:43:54 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-06 19:43:54 -0800 |
commit | 2f27d58dfea06485abbb772297bcd875fe6779da (patch) | |
tree | 54a25d9a85ccd7cae3dafccf75dabb3b6074e2dc /view/tpl/attach_edit.tpl | |
parent | e49e6c0d2a409b71937b126ebd3d0bbd6be6d676 (diff) | |
download | volse-hubzilla-2f27d58dfea06485abbb772297bcd875fe6779da.tar.gz volse-hubzilla-2f27d58dfea06485abbb772297bcd875fe6779da.tar.bz2 volse-hubzilla-2f27d58dfea06485abbb772297bcd875fe6779da.zip |
filestorage re-org and cleanup
Diffstat (limited to 'view/tpl/attach_edit.tpl')
-rw-r--r-- | view/tpl/attach_edit.tpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/view/tpl/attach_edit.tpl b/view/tpl/attach_edit.tpl index 1483336ff..fa6f8914f 100644 --- a/view/tpl/attach_edit.tpl +++ b/view/tpl/attach_edit.tpl @@ -14,11 +14,18 @@ <input type="hidden" name="uid" value="{{$uid}}" /> <input type="hidden" name="fileid" value="{{$file.id}}" /> + {{if $isadir}} <div id="attach-edit-recurse" > <label id="attach-edit-recurse-text" for="attach-recurse-input" >{{$recurse}}</label> <input id="attach-recurse-input" type="checkbox" name="recurse" value="1" /> </div> +{{else}} +<div class="cut-paste-desc">{{$cpdesc}}</div> +<div id="cut-paste-link"> +<input type="text" id="cutpasteinput" name="cutpastelink" value="[attachment]{{$file.hash}},{{$file.revision}}[/attachment]" /> +<script>$('#cutpasteinput').select();</script> +</div> {{/if}} <div id="attach-edit-perms" > @@ -26,7 +33,7 @@ </div> <div class="clear"></div> -<input type="submit" name="submit" value="{{$submit}}" /> +<input id="attach-edit-submit" type="submit" name="submit" value="{{$submit}}" /> </form> |