| @@ -25,8 +25,11 @@ | ||
| 25 | 25 | //$is_active = isset($blockdata['use_effect']) && $blockdata['use_effect'] == 1 ? true : false; |
| 26 | 26 | |
| 27 | 27 | //if (! $is_active) |
| 28 | 28 | // return $css; |
| 29 | + if (false === Install::isPRO() ) { | |
| 30 | + return $css; | |
| 31 | + } | |
| 29 | 32 | |
| 30 | 33 | $effect = $this->getValue('effect_type'); |
| 31 | 34 | $style = $this->collection->getStyle(); |
| 32 | 35 | |
| @@ -48,8 +51,11 @@ | ||
| 48 | 51 | $labelsize = $layoutBlock->getValue('font_label_size'); |
| 49 | 52 | |
| 50 | 53 | $css = $style->addEffect($css, $effect, array('line_height' => $labelsize)); |
| 51 | 54 | break; |
| 55 | + case 'stretch': | |
| 56 | + $css = $style->addEffect($css, $effect, array('orientation' => $this->collection->orientation, 'is_static' => $this->collection->is_static)); | |
| 57 | + break; | |
| 52 | 58 | default: |
| 53 | 59 | $css = $style->addEffect($css, $effect); |
| 54 | 60 | break; |
| 55 | 61 | } |
| @@ -80,14 +86,20 @@ | ||
| 80 | 86 | |
| 81 | 87 | $shape_icons = array(); |
| 82 | 88 | |
| 83 | 89 | ?> |
| 90 | +<div class='help-side'> | |
| 91 | + <h3><?php _e('Effect Options', 'mbsocial'); ?></h3> | |
| 84 | 92 | |
| 93 | + <p><?php _e('These will modify the behavior when a user hovers the mouse cursor over the share buttons', 'mbsocial') ?></p> | |
| 94 | + | |
| 95 | +</div> | |
| 96 | + | |
| 85 | 97 | <div class='options option-container style' id='effectBlock' data-refresh='previewBlock' > |
| 86 | 98 | <?php if (! Install::isPRO() ) : ?> |
| 87 | 99 | <div class='forpro overlay'><div><?php echo $admin->getProMessage(); ?></div></div> |
| 88 | 100 | <?php endif; ?> |
| 89 | - <div class='title'><?php _e('Effects', 'mbsocial'); ?></div> | |
| 101 | + <div class='title'><?php _e('Hover Effects', 'mbsocial'); ?></div> | |
| 90 | 102 | <div class='inside'> |
| 91 | 103 | <?php |
| 92 | 104 | |
| 93 | 105 | $etype = new maxField('option_select'); |