aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/attach_edit.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-09 21:01:53 -0800
committerfriendica <info@friendica.com>2014-01-09 21:01:53 -0800
commitee2bea37e9a46e8dcd6b7df655fc56c1feb8132e (patch)
tree45a5e250f06f1eda3c0249c1784754721fed81a0 /view/tpl/attach_edit.tpl
parenta309bc0d478f5335853ed0cb7a0f0bfe41110643 (diff)
downloadvolse-hubzilla-ee2bea37e9a46e8dcd6b7df655fc56c1feb8132e.tar.gz
volse-hubzilla-ee2bea37e9a46e8dcd6b7df655fc56c1feb8132e.tar.bz2
volse-hubzilla-ee2bea37e9a46e8dcd6b7df655fc56c1feb8132e.zip
mod_filestorage: provide a URL for linking to webpages and other websites
Diffstat (limited to 'view/tpl/attach_edit.tpl')
-rw-r--r--view/tpl/attach_edit.tpl9
1 files changed, 5 insertions, 4 deletions
diff --git a/view/tpl/attach_edit.tpl b/view/tpl/attach_edit.tpl
index fa6f8914f..f9c6e96ce 100644
--- a/view/tpl/attach_edit.tpl
+++ b/view/tpl/attach_edit.tpl
@@ -22,10 +22,11 @@
</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>
+<input type="text" id="cutpasteinput" name="cutpastelink" value="[attachment]{{$file.hash}},{{$file.revision}}[/attachment]" onclick="this.select();" /><br />
+
+<div class="cut-paste-desc">{{$cpldesc}}</div>
+<input type="text" id="linkpasteinput" name="cutpasteextlink" value="{{$cloudpath}}" onclick="this.select();"/><br />
+
{{/if}}
<div id="attach-edit-perms" >