Last change
on this file since 8436 was
8436,
checked in by rub, 13 years ago
|
Add share icon on picture and album page
Rename footer.lang.php to common.lang.php
Remove use of target to open a new window
|
-
Property svn:eol-style set to
LF
|
File size:
720 bytes
|
Line | |
---|
1 | {if $FBP_SHARE_LI}<li>{/if} |
---|
2 | {* method 1 *} |
---|
3 | {* |
---|
4 | <a name="fb_share" type="icon" share_url="{$fbp_page.url}" title="{'Share on Facebook'|@translate}"></a> |
---|
5 | <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" |
---|
6 | type="text/javascript"> |
---|
7 | </script> |
---|
8 | *} |
---|
9 | {* method 2 *} |
---|
10 | <a href="http://www.facebook.com/sharer.php?u={$fbp_page.url|@urlencode}" title="{'Share on Facebook'|@translate}" rel="nofollow" onclick="window.open(this.href, 'Facebook','width=550,height=350,location=no,status=no,toolbar=no,scrollbars=no,menubar=no'); return false;"><img src="{$FBP_PATH|@cat:'/icon/share.png'}" class="button" alt="{'Share on Facebook'|@translate}"></a> |
---|
11 | {* method 2 *} |
---|
12 | {* TODO Try with UI *} |
---|
13 | {if $FBP_SHARE_LI}</li>{/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.