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,
|
'$isadir' => $is_a_dir,
|
||||||
'$cpdesc' => t('Copy/paste this code to attach file to a post'),
|
'$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'),
|
'$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;
|
echo $o;
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
<div id="attach-edit-tools-share" class="btn-group form-group">
|
<div id="attach-edit-tools-share" class="btn-group form-group">
|
||||||
{{if !$isadir}}
|
{{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>
|
<i class="icon-paperclip jot-icons"></i>
|
||||||
</a>
|
</a>
|
||||||
{{/if}}
|
{{/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>
|
<i class="icon-share jot-icons"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user