diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_filestorage.css | 4 | ||||
-rw-r--r-- | view/tpl/attach_edit.tpl | 9 |
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" > |