Changeset 169308
- Timestamp:
- 11/01/2009 05:56:39 PM (16 years ago)
- Location:
- frontpage-slideshow/trunk
- Files:
-
- 2 edited
-
frontpage-slideshow.php (modified) (7 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
frontpage-slideshow/trunk/frontpage-slideshow.php
r168841 r169308 4 4 Plugin URI: http://www.modulaweb.fr/blog/wp-plugins/frontside-slideshow/en/ 5 5 Description: Frontpage Slideshow provides a slide show like you can see on <a href="http://linux.com">linux.com</a> or <a href="http://modulaweb.fr/">modulaweb.fr</a> front page. <a href="options-general.php?page=frontpage-slideshow">Configuration Page</a> 6 Version: 0.7. 26 Version: 0.7.3 7 7 Author: Jean-François VIAL 8 8 Author URI: http://www.modulaweb.fr/ … … 24 24 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 25 25 */ 26 define ('FRONTPAGE_SLIDESHOW_VERSION', '0.7. 2');26 define ('FRONTPAGE_SLIDESHOW_VERSION', '0.7.3'); 27 27 $fs_already_displayed = false; // the slideshow dont have been displayed yet 28 28 function frontpageSlideshow($content,$force_display=false,$options=array()) { … … 75 75 $fscontent .= '<div id="fs-entry-title-'.$id.'" class="fs-title">'.$entry['title'].'</div>'; 76 76 $fscontent .= '<div id="fs-entry-button-comment-'.$id.'" class="fs-comment">'.$entry['button-comment'].'</div>'; 77 $fscontent .= '<img id="fs-entry-img-'.$id.'" class="fs-skip" src="'.$entry['image'].'"';77 $fscontent .= '<img id="fs-entry-img-'.$id.'" class="fs-skip" alt=" " src="'.$entry['image'].'"'; 78 78 if ($id == $fslast) $fscontent .= ' onload="fsDoSlide()"'; // put this to make another loop after the last image 79 79 $fscontent .= ' />'; … … 96 96 97 97 function frontpageSlideshow_header($force_display=false,$options=array()) { 98 if ( (!is_feed() && is_front_page())|| $force_display) {98 if (true || $force_display) { 99 99 if (!count($options)) $options = frontpageSlideshow_get_options(); 100 100 if (!$options['values']['fs_is_activated'] && !$force_display) return; … … 151 151 152 152 function frontpageSlideshow_CSS($options,$force_display=false) { 153 if ( (!is_feed() && is_front_page() && is_page())|| $force_display) {153 if (true || $force_display) { 154 154 /* 155 155 Here comes the CSS ruleset … … 314 314 ob_end_clean(); 315 315 ?> 316 <script type="text/javascript"> 317 /* <![CDATA[ */ 318 var frontpageSlideshow_CSS = document.createElement('style'); 319 frontpageSlideshow_CSS.innerHTML = "<?php echo str_replace("\n",' ',str_replace("\n\t",' ',str_replace('"','\"',$css))); ?>" 320 document.getElementsByTagName('head').item(0).appendChild(frontpageSlideshow_CSS); 321 /* ]]> */ 322 </script> 316 <style type="text/css"> 317 <?php echo str_replace("\n",' ',str_replace("\n\t",' ',str_replace('"','\"',$css))); ?> 318 319 </style> 323 320 <!-- /added by plugin FrontpageSlideshow --> 324 321 … … 341 338 $options['values'] = shortcode_atts($options['values'], $attributes); 342 339 $force_display_if_shortcode = true; 343 frontpageSlideshow_header(true,$options);340 // frontpageSlideshow_header(true,$options); 344 341 return frontpageSlideshow('',true,$options); 345 342 } -
frontpage-slideshow/trunk/readme.txt
r168816 r169308 45 45 * v 0.7.1 : changes made on the admin page ; adding the plugins unique ID system to allow faster troubleshoot ; possibility to view the complete shortcode string 46 46 * v 0.7.2 : uses javascript to include specific css rather than plain html allowing to validate to XHTML 47 * v 0.7.3 : fixing bug introduced in 0.7.2 that was messing up the slideshow display in IE + XHTML validation improvements 47 48 48 49 == Screenshots ==
Note: See TracChangeset
for help on using the changeset viewer.