Version Notes
Upgraded Version for supporting Pinterest Fanbox
- Display your followers from Pinterest in your Magento website with several options.
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Miragedesign_Pinterest |
| Version | 1.1.3 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.2 to 1.1.3
- app/code/community/Miragedesign/Pinterest/Block/Fanbox.php +132 -0
- app/code/community/Miragedesign/Pinterest/Lib/PinterestApi.php +17 -0
- app/code/community/Miragedesign/Pinterest/etc/config.xml +10 -2
- app/code/community/Miragedesign/Pinterest/etc/system.xml +103 -3
- app/design/frontend/base/default/layout/miragedesign/pinterest.xml +20 -2
- app/design/frontend/base/default/template/miragedesign/pinterest_left_fanbox.phtml +52 -0
- app/design/frontend/base/default/template/miragedesign/pinterest_left_feed.phtml +1 -1
- app/design/frontend/base/default/template/miragedesign/pinterest_right_fanbox.phtml +52 -0
- app/design/frontend/base/default/template/miragedesign/pinterest_right_feed.phtml +2 -2
- package.xml +8 -7
- skin/frontend/base/default/css/miragedesign/pinterest.css +21 -1
app/code/community/Miragedesign/Pinterest/Block/Fanbox.php
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Miragedesign Web Development
|
| 4 |
+
*
|
| 5 |
+
* @category Miragedesign
|
| 6 |
+
* @package Miragedesign_Pinterest
|
| 7 |
+
* @copyright Copyright (c) 2011 Mirage Design (http://miragedesign.net)
|
| 8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 9 |
+
*/
|
| 10 |
+
require_once (Mage::getModuleDir('', 'Miragedesign_Pinterest') . DIRECTORY_SEPARATOR . 'Lib' . DIRECTORY_SEPARATOR . 'PinterestApi.php');
|
| 11 |
+
|
| 12 |
+
class Miragedesign_Pinterest_Block_Fanbox extends Miragedesign_Pinterest_Block_Base
|
| 13 |
+
{
|
| 14 |
+
protected $_isFanboxEnabled;
|
| 15 |
+
protected $_fanboxPosition;
|
| 16 |
+
protected $_pinterestUsername;
|
| 17 |
+
protected $_followerMaximumNumber;
|
| 18 |
+
protected $_followerThumbnailWidth;
|
| 19 |
+
protected $_followerThumbnailHeight;
|
| 20 |
+
protected $_isPinterestButtonEnabled;
|
| 21 |
+
protected $_pinterestImageSrc;
|
| 22 |
+
protected $_pinterestImageAlt;
|
| 23 |
+
|
| 24 |
+
/**
|
| 25 |
+
* Constructor
|
| 26 |
+
* Set up private variables
|
| 27 |
+
*/
|
| 28 |
+
protected function _construct()
|
| 29 |
+
{
|
| 30 |
+
parent::_construct();
|
| 31 |
+
|
| 32 |
+
if ($this->getIsEnabled()) {
|
| 33 |
+
$this->_isFanboxEnabled = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/enable_fanbox');
|
| 34 |
+
$this->_fanboxPosition = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/fanbox_position');
|
| 35 |
+
$this->_fanboxTitle = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/fanbox_title');
|
| 36 |
+
$this->_pinterestUsername = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/pinterest_username');
|
| 37 |
+
$this->_followerMaximumNumber = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/pinterest_followers_number');
|
| 38 |
+
$this->_followerThumbnailWidth = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/pinterest_thumbnail_width');
|
| 39 |
+
$this->_followerThumbnailHeight = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/pinterest_thumbnail_height');
|
| 40 |
+
$this->_isPinterestButtonEnabled = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/pinterest_button_enable');
|
| 41 |
+
$this->_pinterestImageSrc = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/pinterest_follow_button');
|
| 42 |
+
$this->_pinterestImageAlt = Mage::getStoreConfig('miragedesign_pinterest/fanbox_option/pinterest_button_alt');
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
protected function getFanboxPosition() {
|
| 47 |
+
return $this->_fanboxPosition;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
protected function getFanboxTitle() {
|
| 51 |
+
return $this->_fanboxTitle;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
protected function getPinterestUsername() {
|
| 55 |
+
return $this->_pinterestUsername;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
protected function getPinterestBoardSlug() {
|
| 59 |
+
return $this->_pinterestBoardSlug;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
protected function getFollowerMaximumNumber() {
|
| 63 |
+
return $this->_followerMaximumNumber;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
protected function getFollowerThumbnailWidth() {
|
| 67 |
+
return $this->_followerThumbnailWidth;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
protected function getFollowerThumbnailHeight() {
|
| 71 |
+
return $this->_followerThumbnailHeight;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
protected function getIsFanboxEnabled() {
|
| 75 |
+
return (($this->_isFanboxEnabled) && ($this->getPinterestUsername() != ''));
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
protected function getIsPinterestButtonEnabled() {
|
| 79 |
+
return $this->_isPinterestButtonEnabled;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
protected function getPinterestImageSrc() {
|
| 83 |
+
return $this->_pinterestImageSrc;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
protected function getPinterestImageAlt() {
|
| 87 |
+
return $this->_pinterestImageAlt;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
public function getUserUrl($username = '') {
|
| 91 |
+
if ($username)
|
| 92 |
+
return PinterestApi::getUserUrl($username);
|
| 93 |
+
else {
|
| 94 |
+
if ($this->_pinterestUsername) {
|
| 95 |
+
return PinterestApi::getUserUrl($this->_pinterestUsername);
|
| 96 |
+
}
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
return PinterestApi::PINTEREST_UNSECURE_URL;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
public function getUserInfo($username = '') {
|
| 103 |
+
$username = ($username) ? $username : $this->_pinterestUsername;
|
| 104 |
+
|
| 105 |
+
$objPApi = new PinterestApi();
|
| 106 |
+
$data = null;
|
| 107 |
+
|
| 108 |
+
if ($username) {
|
| 109 |
+
$data = $objPApi->getUserInfo($username);
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
return $data;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
public function getFollowersOf($username = '', $maxiumNumber = 0, $page = 1) {
|
| 116 |
+
$maxiumNumber = ($maxiumNumber) ? $maxiumNumber : $this->_pinMaximumNumber;
|
| 117 |
+
$username = ($username) ? $username : $this->_pinterestUsername;
|
| 118 |
+
|
| 119 |
+
$params = array('limit' => $maxiumNumber,
|
| 120 |
+
'page' => $page);
|
| 121 |
+
|
| 122 |
+
$objPApi = new PinterestApi();
|
| 123 |
+
$data = null;
|
| 124 |
+
|
| 125 |
+
if ($username) {
|
| 126 |
+
$data = $objPApi->getFollowersOf($username, $params);
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
return $data;
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
?>
|
app/code/community/Miragedesign/Pinterest/Lib/PinterestApi.php
CHANGED
|
@@ -19,6 +19,12 @@
|
|
| 19 |
|
| 20 |
return $this->get($endpoint);
|
| 21 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
public function getPinsOf($username, $params = array()) {
|
| 24 |
$params = self::filterParams($params, array(
|
|
@@ -51,6 +57,17 @@
|
|
| 51 |
return $this->get($endpoint, $params);
|
| 52 |
}
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
static function getUserUrl($username) {
|
| 55 |
return self::PINTEREST_UNSECURE_URL . '/' . $username;
|
| 56 |
}
|
| 19 |
|
| 20 |
return $this->get($endpoint);
|
| 21 |
}
|
| 22 |
+
|
| 23 |
+
public function getUserInfo($username) {
|
| 24 |
+
$endpoint = '/users/' . $username . '/';
|
| 25 |
+
|
| 26 |
+
return $this->get($endpoint);
|
| 27 |
+
}
|
| 28 |
|
| 29 |
public function getPinsOf($username, $params = array()) {
|
| 30 |
$params = self::filterParams($params, array(
|
| 57 |
return $this->get($endpoint, $params);
|
| 58 |
}
|
| 59 |
|
| 60 |
+
public function getFollowersOf($username, $params = array()) {
|
| 61 |
+
$params = self::filterParams($params, array(
|
| 62 |
+
'limit' => self::RECORDS_PER_PAGE,
|
| 63 |
+
'page' => 1
|
| 64 |
+
));
|
| 65 |
+
|
| 66 |
+
$endpoint = '/users/' . $username . '/followers/';
|
| 67 |
+
|
| 68 |
+
return $this->get($endpoint);
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
static function getUserUrl($username) {
|
| 72 |
return self::PINTEREST_UNSECURE_URL . '/' . $username;
|
| 73 |
}
|
app/code/community/Miragedesign/Pinterest/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Miragedesign_Pinterest>
|
| 5 |
-
<version>1.1.
|
| 6 |
</Miragedesign_Pinterest>
|
| 7 |
</modules>
|
| 8 |
<frontend>
|
|
@@ -74,7 +74,15 @@
|
|
| 74 |
<pinterest_thumbnail_height>75</pinterest_thumbnail_height>
|
| 75 |
<pinterest_follow_button>images/miragedesign/pinterest/follow-on-pinterest-button.png</pinterest_follow_button>
|
| 76 |
<pinterest_button_alt>Pinterest Follow Image</pinterest_button_alt>
|
| 77 |
-
</feeds_option>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
<!-- <other_social_config>-->
|
| 79 |
<!-- <pinterest_twitter_account>Pinteresttuto</pinterest_twitter_account> -->
|
| 80 |
<!-- </other_social_config>-->
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Miragedesign_Pinterest>
|
| 5 |
+
<version>1.1.3</version>
|
| 6 |
</Miragedesign_Pinterest>
|
| 7 |
</modules>
|
| 8 |
<frontend>
|
| 74 |
<pinterest_thumbnail_height>75</pinterest_thumbnail_height>
|
| 75 |
<pinterest_follow_button>images/miragedesign/pinterest/follow-on-pinterest-button.png</pinterest_follow_button>
|
| 76 |
<pinterest_button_alt>Pinterest Follow Image</pinterest_button_alt>
|
| 77 |
+
</feeds_option>
|
| 78 |
+
<fanbox_option>
|
| 79 |
+
<fanbox_title>Pinterest Fanbox</fanbox_title>
|
| 80 |
+
<pinterest_followers_number>12</pinterest_followers_number>
|
| 81 |
+
<pinterest_thumbnail_width>48</pinterest_thumbnail_width>
|
| 82 |
+
<pinterest_thumbnail_height>48</pinterest_thumbnail_height>
|
| 83 |
+
<pinterest_follow_button>images/miragedesign/pinterest/follow-on-pinterest-button.png</pinterest_follow_button>
|
| 84 |
+
<pinterest_button_alt>Pinterest Follow Image</pinterest_button_alt>
|
| 85 |
+
</fanbox_option>
|
| 86 |
<!-- <other_social_config>-->
|
| 87 |
<!-- <pinterest_twitter_account>Pinteresttuto</pinterest_twitter_account> -->
|
| 88 |
<!-- </other_social_config>-->
|
app/code/community/Miragedesign/Pinterest/etc/system.xml
CHANGED
|
@@ -157,7 +157,7 @@
|
|
| 157 |
<layout_option translate="label" module="pinterest">
|
| 158 |
<label>Layout Options</label>
|
| 159 |
<frontend_type>text</frontend_type>
|
| 160 |
-
<sort_order>
|
| 161 |
<show_in_default>1</show_in_default>
|
| 162 |
<show_in_website>1</show_in_website>
|
| 163 |
<show_in_store>1</show_in_store>
|
|
@@ -282,11 +282,111 @@
|
|
| 282 |
<show_in_store>1</show_in_store>
|
| 283 |
</pinterest_button_alt>
|
| 284 |
</fields>
|
| 285 |
-
</feeds_option>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 286 |
<author_information translate="label">
|
| 287 |
<label>Author</label>
|
| 288 |
<frontend_type>text</frontend_type>
|
| 289 |
-
<sort_order>
|
| 290 |
<show_in_default>1</show_in_default>
|
| 291 |
<show_in_website>1</show_in_website>
|
| 292 |
<show_in_store>1</show_in_store>
|
| 157 |
<layout_option translate="label" module="pinterest">
|
| 158 |
<label>Layout Options</label>
|
| 159 |
<frontend_type>text</frontend_type>
|
| 160 |
+
<sort_order>5</sort_order>
|
| 161 |
<show_in_default>1</show_in_default>
|
| 162 |
<show_in_website>1</show_in_website>
|
| 163 |
<show_in_store>1</show_in_store>
|
| 282 |
<show_in_store>1</show_in_store>
|
| 283 |
</pinterest_button_alt>
|
| 284 |
</fields>
|
| 285 |
+
</feeds_option>
|
| 286 |
+
<fanbox_option translate="label" module="pinterest">
|
| 287 |
+
<label>Fanbox Options</label>
|
| 288 |
+
<frontend_type>text</frontend_type>
|
| 289 |
+
<sort_order>4</sort_order>
|
| 290 |
+
<show_in_default>1</show_in_default>
|
| 291 |
+
<show_in_website>1</show_in_website>
|
| 292 |
+
<show_in_store>1</show_in_store>
|
| 293 |
+
<fields>
|
| 294 |
+
<enable_fanbox translate="label" module="pinterest">
|
| 295 |
+
<label>Enable Fanbox</label>
|
| 296 |
+
<frontend_type>select</frontend_type>
|
| 297 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 298 |
+
<sort_order>1</sort_order>
|
| 299 |
+
<show_in_default>1</show_in_default>
|
| 300 |
+
<show_in_website>1</show_in_website>
|
| 301 |
+
<show_in_store>1</show_in_store>
|
| 302 |
+
<comment>Enable this option to get the followers from Pinterest</comment>
|
| 303 |
+
</enable_fanbox>
|
| 304 |
+
<fanbox_title translate="label" module="pinterest">
|
| 305 |
+
<label>Fanbox Title</label>
|
| 306 |
+
<frontend_type>text</frontend_type>
|
| 307 |
+
<sort_order>2</sort_order>
|
| 308 |
+
<show_in_default>1</show_in_default>
|
| 309 |
+
<show_in_website>1</show_in_website>
|
| 310 |
+
<show_in_store>1</show_in_store>
|
| 311 |
+
<comment>The title of the block fanbox</comment>
|
| 312 |
+
</fanbox_title>
|
| 313 |
+
<fanbox_position translate="label" module="pinterest">
|
| 314 |
+
<label>Fanbox Position</label>
|
| 315 |
+
<frontend_type>select</frontend_type>
|
| 316 |
+
<source_model>pinterest/feedposition</source_model>
|
| 317 |
+
<sort_order>3</sort_order>
|
| 318 |
+
<show_in_default>1</show_in_default>
|
| 319 |
+
<show_in_website>1</show_in_website>
|
| 320 |
+
<show_in_store>1</show_in_store>
|
| 321 |
+
<comment></comment>
|
| 322 |
+
</fanbox_position>
|
| 323 |
+
<pinterest_username translate="label" module="pinterest">
|
| 324 |
+
<label>Pinterest Username</label>
|
| 325 |
+
<frontend_type>text</frontend_type>
|
| 326 |
+
<sort_order>4</sort_order>
|
| 327 |
+
<show_in_default>1</show_in_default>
|
| 328 |
+
<show_in_website>1</show_in_website>
|
| 329 |
+
<show_in_store>1</show_in_store>
|
| 330 |
+
<comment>Put your Pinterest Username here, if it is blank, then we will not display the Fanbox block</comment>
|
| 331 |
+
</pinterest_username>
|
| 332 |
+
<pinterest_followers_number translate="label" module="pinterest">
|
| 333 |
+
<label>Followers Maximum Number</label>
|
| 334 |
+
<frontend_type>text</frontend_type>
|
| 335 |
+
<sort_order>6</sort_order>
|
| 336 |
+
<show_in_default>1</show_in_default>
|
| 337 |
+
<show_in_website>1</show_in_website>
|
| 338 |
+
<show_in_store>1</show_in_store>
|
| 339 |
+
<comment>The maximum number of pins to display</comment>
|
| 340 |
+
</pinterest_followers_number>
|
| 341 |
+
<pinterest_thumbnail_width translate="label" module="pinterest">
|
| 342 |
+
<label>Follower's thumbnail width</label>
|
| 343 |
+
<frontend_type>text</frontend_type>
|
| 344 |
+
<sort_order>7</sort_order>
|
| 345 |
+
<show_in_default>1</show_in_default>
|
| 346 |
+
<show_in_website>1</show_in_website>
|
| 347 |
+
<show_in_store>1</show_in_store>
|
| 348 |
+
<comment>The number that will set the width in pixels of the Follower's thumbnail</comment>
|
| 349 |
+
</pinterest_thumbnail_width>
|
| 350 |
+
<pinterest_thumbnail_height translate="label" module="pinterest">
|
| 351 |
+
<label>Follower's Thumbnail height</label>
|
| 352 |
+
<frontend_type>text</frontend_type>
|
| 353 |
+
<sort_order>8</sort_order>
|
| 354 |
+
<show_in_default>1</show_in_default>
|
| 355 |
+
<show_in_website>1</show_in_website>
|
| 356 |
+
<show_in_store>1</show_in_store>
|
| 357 |
+
<comment>The number that will set the height in pixels of the Follower's thumbnail</comment>
|
| 358 |
+
</pinterest_thumbnail_height>
|
| 359 |
+
<pinterest_button_enable translate="label" module="pinterest">
|
| 360 |
+
<label>Enable Pinterest Follow Button</label>
|
| 361 |
+
<frontend_type>select</frontend_type>
|
| 362 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 363 |
+
<sort_order>9</sort_order>
|
| 364 |
+
<show_in_default>1</show_in_default>
|
| 365 |
+
<show_in_website>1</show_in_website>
|
| 366 |
+
<show_in_store>1</show_in_store>
|
| 367 |
+
</pinterest_button_enable>
|
| 368 |
+
<pinterest_follow_button translate="label" module="pinterest">
|
| 369 |
+
<label>Pinterest Follow Image Src</label>
|
| 370 |
+
<frontend_type>text</frontend_type>
|
| 371 |
+
<sort_order>10</sort_order>
|
| 372 |
+
<show_in_default>1</show_in_default>
|
| 373 |
+
<show_in_website>1</show_in_website>
|
| 374 |
+
<show_in_store>1</show_in_store>
|
| 375 |
+
</pinterest_follow_button>
|
| 376 |
+
<pinterest_button_alt translate="label" module="pinterest">
|
| 377 |
+
<label>Pinterest Follow Image Alt</label>
|
| 378 |
+
<frontend_type>text</frontend_type>
|
| 379 |
+
<sort_order>11</sort_order>
|
| 380 |
+
<show_in_default>1</show_in_default>
|
| 381 |
+
<show_in_website>1</show_in_website>
|
| 382 |
+
<show_in_store>1</show_in_store>
|
| 383 |
+
</pinterest_button_alt>
|
| 384 |
+
</fields>
|
| 385 |
+
</fanbox_option>
|
| 386 |
<author_information translate="label">
|
| 387 |
<label>Author</label>
|
| 388 |
<frontend_type>text</frontend_type>
|
| 389 |
+
<sort_order>6</sort_order>
|
| 390 |
<show_in_default>1</show_in_default>
|
| 391 |
<show_in_website>1</show_in_website>
|
| 392 |
<show_in_store>1</show_in_store>
|
app/design/frontend/base/default/layout/miragedesign/pinterest.xml
CHANGED
|
@@ -22,10 +22,28 @@
|
|
| 22 |
</action>
|
| 23 |
</reference>
|
| 24 |
<reference name="left">
|
| 25 |
-
<block type="pinterest/feed" name="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
</reference>
|
| 27 |
<reference name="right">
|
| 28 |
-
<block type="pinterest/feed" name="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
</reference>
|
| 30 |
</default>
|
| 31 |
</layout>
|
| 22 |
</action>
|
| 23 |
</reference>
|
| 24 |
<reference name="left">
|
| 25 |
+
<block type="pinterest/feed" name="pinterest_left_feed" before="left.permanent.callout">
|
| 26 |
+
<action method="setTemplate" ifconfig="miragedesign_pinterest/configuration/pinterest_enabled">
|
| 27 |
+
<template>miragedesign/pinterest_left_feed.phtml</template>
|
| 28 |
+
</action>
|
| 29 |
+
</block>
|
| 30 |
+
<block type="pinterest/fanbox" name="pinterest_left_fanbox" before="left.permanent.callout">
|
| 31 |
+
<action method="setTemplate" ifconfig="miragedesign_pinterest/configuration/pinterest_enabled">
|
| 32 |
+
<template>miragedesign/pinterest_left_fanbox.phtml</template>
|
| 33 |
+
</action>
|
| 34 |
+
</block>
|
| 35 |
</reference>
|
| 36 |
<reference name="right">
|
| 37 |
+
<block type="pinterest/feed" name="pinterest_right_feed" template="miragedesign/pinterest_right_feed.phtml" before="right.permanent.callout">
|
| 38 |
+
<action method="setTemplate" ifconfig="miragedesign_pinterest/configuration/pinterest_enabled">
|
| 39 |
+
<template>miragedesign/pinterest_right_feed.phtml</template>
|
| 40 |
+
</action>
|
| 41 |
+
</block>
|
| 42 |
+
<block type="pinterest/fanbox" name="pinterest_right_fanbox" before="right.permanent.callout">
|
| 43 |
+
<action method="setTemplate" ifconfig="miragedesign_pinterest/configuration/pinterest_enabled">
|
| 44 |
+
<template>miragedesign/pinterest_right_fanbox.phtml</template>
|
| 45 |
+
</action>
|
| 46 |
+
</block>
|
| 47 |
</reference>
|
| 48 |
</default>
|
| 49 |
</layout>
|
app/design/frontend/base/default/template/miragedesign/pinterest_left_fanbox.phtml
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Miragedesign Web Development
|
| 4 |
+
*
|
| 5 |
+
* @category Miragedesign
|
| 6 |
+
* @package Miragedesign_Pinterest
|
| 7 |
+
* @copyright Copyright (c) 2011 Mirage Design (http://miragedesign.net)
|
| 8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 9 |
+
*/
|
| 10 |
+
?>
|
| 11 |
+
<?php if ($this->getIsFanboxEnabled()) :?>
|
| 12 |
+
<?php if ($this->getFanboxPosition() == 1):?>
|
| 13 |
+
<?php
|
| 14 |
+
$thumbnailWidth = $this->getFollowerThumbnailWidth();
|
| 15 |
+
$thumbnailHeight = $this->getFollowerThumbnailHeight();
|
| 16 |
+
|
| 17 |
+
$data = $this->getFollowersOf();
|
| 18 |
+
$objFollowers = json_decode($data);
|
| 19 |
+
$userData = $this->getUserInfo();
|
| 20 |
+
$userInfo = json_decode($userData);
|
| 21 |
+
$arrFollowers = $objFollowers->people;
|
| 22 |
+
|
| 23 |
+
if (count($arrFollowers)) {
|
| 24 |
+
?>
|
| 25 |
+
<div class="block pin-fanbox">
|
| 26 |
+
<div class="block-title follower-title"><strong><?php echo $this->getFanboxTitle(); ?></strong></div>
|
| 27 |
+
<?php
|
| 28 |
+
$i = 0;
|
| 29 |
+
|
| 30 |
+
foreach ($arrFollowers as $follower) {
|
| 31 |
+
if ($i >= $this->getFollowerMaximumNumber()) break;
|
| 32 |
+
|
| 33 |
+
$followerImage = $follower->image_url;
|
| 34 |
+
?>
|
| 35 |
+
<div class="follower-wrap <?php if (!($i%3)) :?>new-line<?php endif;?>">
|
| 36 |
+
<a title="<?php echo $follower->full_name; ?>" target="_blank" href="<?php echo $this->getUserUrl($follower->username); ?>"><img src="<?php echo $followerImage; ?>" alt="<?php echo $follower->full_name; ?>" style="width:<?php echo $thumbnailWidth; ?>px; height=<?php echo $thumbnailHeight; ?>px" /></a>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
<?php
|
| 40 |
+
$i++;
|
| 41 |
+
}
|
| 42 |
+
?>
|
| 43 |
+
<div class="follower-total"><strong><?php echo $userInfo->user->stats->followers_count;?></strong> <span>followers</span></div>
|
| 44 |
+
<?php if ($this->getIsPinterestButtonEnabled()) : ?>
|
| 45 |
+
<div class="follower-footer"><a target="_blank" href="<?php echo $this->getUserUrl(); ?>"><img src="<?php echo $this->getSkinUrl($this->getPinterestImageSrc()); ?>" alt="<?php echo $this->getPinterestImageAlt(); ?>" /></a></div>
|
| 46 |
+
<?php endif; ?>
|
| 47 |
+
</div>
|
| 48 |
+
<?php
|
| 49 |
+
}
|
| 50 |
+
?>
|
| 51 |
+
<?php endif; ?>
|
| 52 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/miragedesign/pinterest_left_feed.phtml
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 9 |
*/
|
| 10 |
?>
|
| 11 |
-
<?php if ($this->
|
| 12 |
<?php if ($this->getFeedsPosition() == 1):?>
|
| 13 |
<?php
|
| 14 |
$thumbnailWidth = $this->getPinThumbnailWidth();
|
| 8 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 9 |
*/
|
| 10 |
?>
|
| 11 |
+
<?php if ($this->getIsFeedEnabled()) :?>
|
| 12 |
<?php if ($this->getFeedsPosition() == 1):?>
|
| 13 |
<?php
|
| 14 |
$thumbnailWidth = $this->getPinThumbnailWidth();
|
app/design/frontend/base/default/template/miragedesign/pinterest_right_fanbox.phtml
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Miragedesign Web Development
|
| 4 |
+
*
|
| 5 |
+
* @category Miragedesign
|
| 6 |
+
* @package Miragedesign_Pinterest
|
| 7 |
+
* @copyright Copyright (c) 2011 Mirage Design (http://miragedesign.net)
|
| 8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 9 |
+
*/
|
| 10 |
+
?>
|
| 11 |
+
<?php if ($this->getIsFanboxEnabled()) :?>
|
| 12 |
+
<?php if ($this->getFanboxPosition() == 2):?>
|
| 13 |
+
<?php
|
| 14 |
+
$thumbnailWidth = $this->getFollowerThumbnailWidth();
|
| 15 |
+
$thumbnailHeight = $this->getFollowerThumbnailHeight();
|
| 16 |
+
|
| 17 |
+
$data = $this->getFollowersOf();
|
| 18 |
+
$objFollowers = json_decode($data);
|
| 19 |
+
$userData = $this->getUserInfo();
|
| 20 |
+
$userInfo = json_decode($userData);
|
| 21 |
+
$arrFollowers = $objFollowers->people;
|
| 22 |
+
|
| 23 |
+
if (count($arrFollowers)) {
|
| 24 |
+
?>
|
| 25 |
+
<div class="block pin-fanbox">
|
| 26 |
+
<div class="block-title follower-title"><strong><?php echo $this->getFanboxTitle(); ?></strong></div>
|
| 27 |
+
<?php
|
| 28 |
+
$i = 0;
|
| 29 |
+
|
| 30 |
+
foreach ($arrFollowers as $follower) {
|
| 31 |
+
if ($i >= $this->getFollowerMaximumNumber()) break;
|
| 32 |
+
|
| 33 |
+
$followerImage = $follower->image_url;
|
| 34 |
+
?>
|
| 35 |
+
<div class="follower-wrap <?php if (!($i%3)) :?>new-line<?php endif;?>">
|
| 36 |
+
<a title="<?php echo $follower->full_name; ?>" target="_blank" href="<?php echo $this->getUserUrl($follower->username); ?>"><img src="<?php echo $followerImage; ?>" alt="<?php echo $follower->full_name; ?>" style="width:<?php echo $thumbnailWidth; ?>px; height=<?php echo $thumbnailHeight; ?>px" /></a>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
<?php
|
| 40 |
+
$i++;
|
| 41 |
+
}
|
| 42 |
+
?>
|
| 43 |
+
<div class="follower-total"><strong><?php echo $userInfo->user->stats->followers_count;?></strong> <span>followers</span></div>
|
| 44 |
+
<?php if ($this->getIsPinterestButtonEnabled()) : ?>
|
| 45 |
+
<div class="follower-footer"><a target="_blank" href="<?php echo $this->getUserUrl(); ?>"><img src="<?php echo $this->getSkinUrl($this->getPinterestImageSrc()); ?>" alt="<?php echo $this->getPinterestImageAlt(); ?>" /></a></div>
|
| 46 |
+
<?php endif; ?>
|
| 47 |
+
</div>
|
| 48 |
+
<?php
|
| 49 |
+
}
|
| 50 |
+
?>
|
| 51 |
+
<?php endif; ?>
|
| 52 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/miragedesign/pinterest_right_feed.phtml
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 9 |
*/
|
| 10 |
?>
|
| 11 |
-
<?php if ($this->
|
| 12 |
<?php if ($this->getFeedsPosition() == 2):?>
|
| 13 |
<?php
|
| 14 |
$thumbnailWidth = $this->getPinThumbnailWidth();
|
|
@@ -42,7 +42,7 @@
|
|
| 42 |
<div class="pin-footer"><a target="_blank" href="<?php echo $this->getUserUrl(); ?>"><img src="<?php echo $this->getSkinUrl($this->getPinterestImageSrc()); ?>" alt="<?php echo $this->getPinterestImageAlt(); ?>" /></a></div>
|
| 43 |
<?php endif; ?>
|
| 44 |
</div>
|
| 45 |
-
|
| 46 |
}
|
| 47 |
?>
|
| 48 |
<?php endif; ?>
|
| 8 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 9 |
*/
|
| 10 |
?>
|
| 11 |
+
<?php if ($this->getIsFeedEnabled()) :?>
|
| 12 |
<?php if ($this->getFeedsPosition() == 2):?>
|
| 13 |
<?php
|
| 14 |
$thumbnailWidth = $this->getPinThumbnailWidth();
|
| 42 |
<div class="pin-footer"><a target="_blank" href="<?php echo $this->getUserUrl(); ?>"><img src="<?php echo $this->getSkinUrl($this->getPinterestImageSrc()); ?>" alt="<?php echo $this->getPinterestImageAlt(); ?>" /></a></div>
|
| 43 |
<?php endif; ?>
|
| 44 |
</div>
|
| 45 |
+
<?php
|
| 46 |
}
|
| 47 |
?>
|
| 48 |
<?php endif; ?>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Miragedesign_Pinterest</name>
|
| 4 |
-
<version>1.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -23,19 +23,20 @@
|
|
| 23 |
11. Support vertical scrollbar layout for sharing buttons <br />
|
| 24 |
<strong>12. Support you to show Pinterest Feeds on your site with several options</strong> <br />
|
| 25 |
13. Support Open-Graph tags for full social support in all your product pages <br />
|
|
|
|
| 26 |
And much more features are comming!
|
| 27 |
<br />
|
| 28 |
-
Version Status: 1.1.
|
| 29 |
<br /><br />
|
| 30 |
Developped by <a href="http://miragedesign.net">Mirage Design</a>
|
| 31 |
<br />
|
| 32 |
Feel free to ask any question at <a href="http://miragedesign.net/newss/pinterest-magento-linker/">our site</a></description>
|
| 33 |
-
<notes>Upgraded Version for supporting
|
| 34 |
-
-
|
| 35 |
<authors><author><name>Miragedesign</name><user>auto-converted</user><email>contact@miragedesign.net</email></author></authors>
|
| 36 |
-
<date>2012-
|
| 37 |
-
<time>
|
| 38 |
-
<contents><target name="magecommunity"><dir name="Miragedesign"><dir name="Pinterest"><dir name="Block"><file name="Base.php" hash="23704dbfb6ccfaa4b7999baa6a401bc7"/><file name="Button.php" hash="3dbc03daf9755dd71ccf3fd755b1134e"/><file name="Feed.php" hash="693338cb348e82882e8b259556c11af2"/></dir><dir name="Helper"><file name="Data.php" hash="b1e241f5a9fb4b875a401a999f9932cc"/></dir><dir name="Lib"><file name="PinterestApi.php" hash="
|
| 39 |
<compatible/>
|
| 40 |
<dependencies/>
|
| 41 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Miragedesign_Pinterest</name>
|
| 4 |
+
<version>1.1.3</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
|
| 7 |
<channel>community</channel>
|
| 23 |
11. Support vertical scrollbar layout for sharing buttons <br />
|
| 24 |
<strong>12. Support you to show Pinterest Feeds on your site with several options</strong> <br />
|
| 25 |
13. Support Open-Graph tags for full social support in all your product pages <br />
|
| 26 |
+
<strong>14. Support you to show Pinterest Fanbox on your site with several options</strong> <br />
|
| 27 |
And much more features are comming!
|
| 28 |
<br />
|
| 29 |
+
Version Status: 1.1.3, Stable
|
| 30 |
<br /><br />
|
| 31 |
Developped by <a href="http://miragedesign.net">Mirage Design</a>
|
| 32 |
<br />
|
| 33 |
Feel free to ask any question at <a href="http://miragedesign.net/newss/pinterest-magento-linker/">our site</a></description>
|
| 34 |
+
<notes>Upgraded Version for supporting Pinterest Fanbox
|
| 35 |
+
- Display your followers from Pinterest in your Magento website with several options.</notes>
|
| 36 |
<authors><author><name>Miragedesign</name><user>auto-converted</user><email>contact@miragedesign.net</email></author></authors>
|
| 37 |
+
<date>2012-04-07</date>
|
| 38 |
+
<time>06:09:30</time>
|
| 39 |
+
<contents><target name="magecommunity"><dir name="Miragedesign"><dir name="Pinterest"><dir name="Block"><file name="Base.php" hash="23704dbfb6ccfaa4b7999baa6a401bc7"/><file name="Button.php" hash="3dbc03daf9755dd71ccf3fd755b1134e"/><file name="Fanbox.php" hash="657da37dd53d2483ec7c839c72c7564f"/><file name="Feed.php" hash="693338cb348e82882e8b259556c11af2"/></dir><dir name="Helper"><file name="Data.php" hash="b1e241f5a9fb4b875a401a999f9932cc"/></dir><dir name="Lib"><file name="PinterestApi.php" hash="e8079d8e5b600344e23bb2b9cb475830"/></dir><dir name="Model"><file name="Feedposition.php" hash="9ac67bac7b68ab739d7f5fb502b7668f"/><file name="Pincount.php" hash="e405b72545cabc196630ce099a82eb10"/><file name="Pindescription.php" hash="58779fe60953310bb82ff836d2ff390e"/><file name="Price.php" hash="c61c75334b6410649a92d33f22c60bd6"/></dir><dir name="etc"><file name="adminhtml.xml" hash="6ec7da759768d8ba1bceeffa15a5ff8d"/><file name="config.xml" hash="de70d150ace93992fbfcb45429747471"/><file name="system.xml" hash="861f618d1756c8ca2999b653aa1e2941"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="miragedesign"><file name="pinterest.xml" hash="fce83fe5e8d525f2131e670ae6687972"/></dir></dir><dir name="template"><dir name="miragedesign"><file name="head.phtml" hash="4adf6e2670342c5daba68ee8296a4bdf"/><file name="pinterest_button.phtml" hash="ba21428f790c9b2fdc032ab6447f61b5"/><file name="pinterest_left_fanbox.phtml" hash="e93de216b846907ea26474552fddefe0"/><file name="pinterest_left_feed.phtml" hash="051045ec50b6e31db3ab1de64fa61258"/><file name="pinterest_panel.phtml" hash="ecd8c45327c9b4d78cc930026a3c44c3"/><file name="pinterest_right_fanbox.phtml" hash="1a54383ee7dbb995a36a0ce052cc8273"/><file name="pinterest_right_feed.phtml" hash="a008ccb32d87f79aee0c4e7c4a4caa22"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="miragedesign"><file name="pinterest.css" hash="0022f5d89e751654082e76ee7167f2dd"/></dir></dir><dir name="images"><dir name="miragedesign"><dir name="pinterest"><file name="feed-icon.png" hash="997d37ed0159ac43b2862af0d66c6770"/><file name="follow-on-pinterest-button.png" hash="6b3da71de3bb885a3b17f22af8fdecbb"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Miragedesign_Pinterest.csv" hash="f80229646ce5a4bf8951f4d9243cad2e"/></dir></target><target name="mageetc"><dir name="modules"><file name="Miragedesign_Pinterest.xml" hash="3448b63aef6988ef012fecfec37c6c53"/></dir></target></contents>
|
| 40 |
<compatible/>
|
| 41 |
<dependencies/>
|
| 42 |
</package>
|
skin/frontend/base/default/css/miragedesign/pinterest.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
.pin-feed {
|
| 2 |
-
float:left;
|
|
|
|
| 3 |
}
|
| 4 |
.pin-feed .pin-title strong {
|
| 5 |
padding-left:21px;
|
|
@@ -25,4 +26,23 @@
|
|
| 25 |
border-top: 1px solid #CCC;
|
| 26 |
text-align: center;
|
| 27 |
padding: 5px 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
| 1 |
.pin-feed {
|
| 2 |
+
float:left;
|
| 3 |
+
width:100%;
|
| 4 |
}
|
| 5 |
.pin-feed .pin-title strong {
|
| 6 |
padding-left:21px;
|
| 26 |
border-top: 1px solid #CCC;
|
| 27 |
text-align: center;
|
| 28 |
padding: 5px 0;
|
| 29 |
+
}
|
| 30 |
+
.pin-fanbox {
|
| 31 |
+
float:left;
|
| 32 |
+
width:100%;
|
| 33 |
+
}
|
| 34 |
+
.pin-fanbox .pin-title strong {
|
| 35 |
+
padding-left:21px;
|
| 36 |
+
background: url(../../images/miragedesign/pinterest/feed-icon.png) 0 0 no-repeat;
|
| 37 |
+
}
|
| 38 |
+
.pin-fanbox .follower-total {
|
| 39 |
+
margin: 5px 10px 5px 10px;
|
| 40 |
+
}
|
| 41 |
+
.pin-fanbox .follower-wrap {float:left;margin:8px 6px 6px 6px;}
|
| 42 |
+
.pin-fanbox .new-line {margin-left:10px; clear:both;}
|
| 43 |
+
.pin-fanbox .follower-footer {
|
| 44 |
+
clear: both;
|
| 45 |
+
border-top: 1px solid #CCC;
|
| 46 |
+
text-align: center;
|
| 47 |
+
padding: 5px 0;
|
| 48 |
}
|
