mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
share buttons
This commit is contained in:
@@ -12,7 +12,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
|||||||
|
|
||||||
app.enterRoom('category_' + cid);
|
app.enterRoom('category_' + cid);
|
||||||
|
|
||||||
$('#twitter-intent').on('click', function () {
|
$('#twitter-share').on('click', function () {
|
||||||
window.open(twitterUrl, '_blank', 'width=550,height=420,scrollbars=no,status=no');
|
window.open(twitterUrl, '_blank', 'width=550,height=420,scrollbars=no,status=no');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<!-- IF !disableSocialButtons -->
|
<!-- IF !disableSocialButtons -->
|
||||||
<div class="inline-block pull-right">
|
<div class="inline-block pull-right">
|
||||||
<a href="#" id="facebook-share"><i class="fa fa-facebook-square fa-2x"></i></a>
|
<a href="#" id="facebook-share"><i class="fa fa-facebook-square fa-2x"></i></a>
|
||||||
<a href="#" id="twitter-intent"><i class="fa fa-twitter-square fa-2x"></i></a>
|
<a href="#" id="twitter-share"><i class="fa fa-twitter-square fa-2x"></i></a>
|
||||||
<a href="#" id="google-share"><i class="fa fa-google-plus-square fa-2x"></i></a>
|
<a href="#" id="google-share"><i class="fa fa-google-plus-square fa-2x"></i></a>
|
||||||
</div>
|
</div>
|
||||||
<!-- ENDIF !disableSocialButtons -->
|
<!-- ENDIF !disableSocialButtons -->
|
||||||
|
|||||||
@@ -101,9 +101,9 @@
|
|||||||
<button title="[[topic:share]]"class="btn btn-sm btn-default share" data-toggle="dropdown" href="#"><i class="fa fa-share-square-o"></i></button>
|
<button title="[[topic:share]]"class="btn btn-sm btn-default share" data-toggle="dropdown" href="#"><i class="fa fa-share-square-o"></i></button>
|
||||||
<ul class="dropdown-menu text-center pull-right" role="menu" aria-labelledby="dLabel">
|
<ul class="dropdown-menu text-center pull-right" role="menu" aria-labelledby="dLabel">
|
||||||
<!-- IF !disableSocialButtons -->
|
<!-- IF !disableSocialButtons -->
|
||||||
<li class="btn btn-sm btn-default facebook-share" type="button" title=""><i class="fa fa-facebook"></i></li>
|
<li class="btn btn-sm btn-default facebook-share" type="button" title=""><i class="fa fa-facebook fa-fw"></i></li>
|
||||||
<li class="btn btn-sm btn-default twitter-share" type="button" title=""><i class="fa fa-twitter"></i></li>
|
<li class="btn btn-sm btn-default twitter-share" type="button" title=""><i class="fa fa-twitter fa-fw"></i></li>
|
||||||
<li class="btn btn-sm btn-default google-share" type="button" title=""><i class="fa fa-google-plus"></i></li>
|
<li class="btn btn-sm btn-default google-share" type="button" title=""><i class="fa fa-google-plus fa-fw"></i></li>
|
||||||
<!-- ENDIF !disableSocialButtons -->
|
<!-- ENDIF !disableSocialButtons -->
|
||||||
<li>
|
<li>
|
||||||
<input type="text" id="post_{posts.pid}_link" value="" class="form-control pull-right post-link" style=""></input>
|
<input type="text" id="post_{posts.pid}_link" value="" class="form-control pull-right post-link" style=""></input>
|
||||||
|
|||||||
Reference in New Issue
Block a user