Changeset 1290482
- Timestamp:
- 11/20/2015 07:31:46 AM (10 years ago)
- Location:
- genoo/trunk
- Files:
-
- 3 edited
-
Genoo.php (modified) (1 diff)
-
libs/Genoo/WidgetCTA.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
genoo/trunk/Genoo.php
r1289849 r1290482 6 6 Author URI: http://www.genoo.com/ 7 7 Author Email: info@genoo.com 8 Version: 3.0. 78 Version: 3.0.8 9 9 License: GPLv2 10 10 Text Domain: genoo -
genoo/trunk/libs/Genoo/WidgetCTA.php
r1289849 r1290482 270 270 if($this->cta->isLink){ 271 271 $blank = $this->cta->isNewWindow ? 'target="_blank"' : ''; 272 $hidden = (isset($instance['hideButton']) && $instance['hideButton'] == TRUE) ? 'style="display:none"' : ''; 272 273 $r .= '<form '. $blank .' method="POST" action="'. $this->cta->link .'">'; 273 $r .= '<span id="'. $bid .'">';274 $r .= '<input type="submit" value="'. $this->cta->linkText .'" />';275 $r .= '</span>';274 $r .= '<span id="'. $bid .'" '. $hidden .'>'; 275 $r .= '<input type="submit" value="'. $this->cta->linkText .'" />'; 276 $r .= '</span>'; 276 277 $r .= '</form>'; 277 278 if($this->cta->isImage && (!empty($this->cta->image) || !empty($this->cta->imageHover))){ … … 282 283 } 283 284 $r .= isset($args['after_widget']) ? $args['after_widget'] : ''; 285 if(isset($instance['hideButton']) && $instance['hideButton'] == TRUE){ 286 $r .= WidgetForm::getModalFullScrollJavascript($bid, (int)$instance['hideButtonTIME']); 287 } 284 288 } 285 289 } -
genoo/trunk/readme.txt
r1289849 r1290482 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html 8 Stable tag: 3.0. 78 Stable tag: 3.0.8 9 9 10 10 Combine the flexibility of WordPress with the power of Genoo and experience amazing results!
Note: See TracChangeset
for help on using the changeset viewer.