| @@ -25,11 +25,8 @@ | ||
| 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 | - } | |
| 32 | 29 | |
| 33 | 30 | $effect = $this->getValue('effect_type'); |
| 34 | 31 | $style = $this->collection->getStyle(); |
| 35 | 32 | |
| @@ -51,11 +48,8 @@ | ||
| 51 | 48 | $labelsize = $layoutBlock->getValue('font_label_size'); |
| 52 | 49 | |
| 53 | 50 | $css = $style->addEffect($css, $effect, array('line_height' => $labelsize)); |
| 54 | 51 | break; |
| 55 | - case 'stretch': | |
| 56 | - $css = $style->addEffect($css, $effect, array('orientation' => $this->collection->orientation, 'is_static' => $this->collection->is_static)); | |
| 57 | - break; | |
| 58 | 52 | default: |
| 59 | 53 | $css = $style->addEffect($css, $effect); |
| 60 | 54 | break; |
| 61 | 55 | } |
| @@ -86,20 +80,14 @@ | ||
| 86 | 80 | |
| 87 | 81 | $shape_icons = array(); |
| 88 | 82 | |
| 89 | 83 | ?> |
| 90 | -<div class='help-side'> | |
| 91 | - <h3><?php _e('Effect Options', 'mbsocial'); ?></h3> | |
| 92 | 84 | |
| 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 | - | |
| 97 | 85 | <div class='options option-container style' id='effectBlock' data-refresh='previewBlock' > |
| 98 | 86 | <?php if (! Install::isPRO() ) : ?> |
| 99 | 87 | <div class='forpro overlay'><div><?php echo $admin->getProMessage(); ?></div></div> |
| 100 | 88 | <?php endif; ?> |
| 101 | - <div class='title'><?php _e('Hover Effects', 'mbsocial'); ?></div> | |
| 89 | + <div class='title'><?php _e('Effects', 'mbsocial'); ?></div> | |
| 102 | 90 | <div class='inside'> |
| 103 | 91 | <?php |
| 104 | 92 | |
| 105 | 93 | $etype = new maxField('option_select'); |