aboutsummaryrefslogtreecommitdiffstats
path: root/view
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
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')
-rw-r--r--view/css/mod_filestorage.css4
-rw-r--r--view/tpl/attach_edit.tpl9
2 files changed, 7 insertions, 6 deletions
diff --git a/view/css/mod_filestorage.css b/view/css/mod_filestorage.css
index 19e8ddd42..98fa8e93d 100644
--- a/view/css/mod_filestorage.css
+++ b/view/css/mod_filestorage.css
@@ -1,4 +1,4 @@
-#attach-edit-backlink, #cut-paste-link {
+#attach-edit-backlink, #cutpasteinput, #linkpasteinput {
margin-bottom: 10px;
}
@@ -6,6 +6,6 @@
margin-top: 20px;
}
-#cutpasteinput {
+#cutpasteinput, #linkpasteinput {
width: 600px;
} \ No newline at end of file
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" >