aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/filestorage.php4
-rw-r--r--view/tpl/attach_edit.tpl4
2 files changed, 5 insertions, 3 deletions
diff --git a/mod/filestorage.php b/mod/filestorage.php
index 6b731e440..0a25617f0 100644
--- a/mod/filestorage.php
+++ b/mod/filestorage.php
@@ -147,7 +147,9 @@ function filestorage_content(&$a) {
'$isadir' => $is_a_dir,
'$cpdesc' => t('Copy/paste this code to attach file to a post'),
'$cpldesc' => t('Copy/paste this URL to link file from a web page'),
- '$submit' => t('Submit')
+ '$submit' => t('Submit'),
+ '$attach_btn_title' => t('Attach this file to a new post'),
+ '$link_btn_title' => t('Show URL to this file'),
));
echo $o;
diff --git a/view/tpl/attach_edit.tpl b/view/tpl/attach_edit.tpl
index 82f2a7628..0147d35ba 100644
--- a/view/tpl/attach_edit.tpl
+++ b/view/tpl/attach_edit.tpl
@@ -6,11 +6,11 @@
<div id="attach-edit-tools-share" class="btn-group form-group">
{{if !$isadir}}
- <a href="/rpost?body=[attachment]{{$file.hash}},{{$file.revision}}[/attachment]" id="attach-btn" class="btn btn-default btn-xs">
+ <a href="/rpost?body=[attachment]{{$file.hash}},{{$file.revision}}[/attachment]" id="attach-btn" class="btn btn-default btn-xs" title="{{$attach_btn_title}}">
<i class="icon-paperclip jot-icons"></i>
</a>
{{/if}}
- <button id="link-btn" class="btn btn-default btn-xs" type="button" onclick="openClose('link-code');">
+ <button id="link-btn" class="btn btn-default btn-xs" type="button" onclick="openClose('link-code');" title="{{$link_btn_title}}">
<i class="icon-share jot-icons"></i>
</button>
</div>