provide some info for buttons
This commit is contained in:
parent
3e073f4b62
commit
0779e3ae53
@ -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;
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user