Changeset 4312
- Timestamp:
- Nov 19, 2009, 12:51:01 AM (14 years ago)
- Location:
- extensions/Flash_Gallery/modules/JWImageRotator
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Flash_Gallery/modules/JWImageRotator/JWImageRotator.tpl
r3531 r4312 9 9 10 10 // XML GALLERY OPTIONS 11 fo.addVariable("{$block.FLASHVARXML}", "{$block.XMLFEED} ");11 fo.addVariable("{$block.FLASHVARXML}", "{$block.XMLFEED}{if $block.autostart=='true'}&autostart=true{/if}"); 12 12 // Ajout de toutes les variables necessaires 13 13 fo.addVariable("height", "{$block.height}"); -
extensions/Flash_Gallery/modules/JWImageRotator/admin/config.inc.php
r3531 r4312 27 27 'shuffle' =>'false),Set this to true to playback the images in random order. 28 28 'volume' =>'80', sets the startup volume of the MP3 background music. 29 'autostart' => false, set to tre to autostart the slideshow 29 30 */ 30 31 … … 54 55 'repeat' => false, 55 56 'rotatetime' => '5', 56 'shuffle' => false 57 'shuffle' => false, 58 'autostart' => false 57 59 ); 58 60 … … 66 68 { 67 69 if ($key == "overstretch" or $key == "showicons" OR $key == "shownavigation" OR $key == "usefullscreen" 68 OR $key == "linkfromdisplay" OR $key == "repeat" OR $key == "shuffle" )70 OR $key == "linkfromdisplay" OR $key == "repeat" OR $key == "shuffle" OR $key == "autostart") 69 71 $ext_datas[$key] = isset($_POST['JWIR_'.$key]); 70 72 else … … 77 79 78 80 if ($key == "showicons" OR $key == "shownavigation" OR $key == "usefullscreen" 79 OR $key == "linkfromdisplay" OR $key == "repeat" OR $key == "shuffle" )81 OR $key == "linkfromdisplay" OR $key == "repeat" OR $key == "shuffle" OR $key == "autostart") 80 82 $template->assign(array( 'JWIR_'.$key => ($ext_datas[$key] ? 'checked="checked"': ''))); 81 83 elseif ($key == "transition") -
extensions/Flash_Gallery/modules/JWImageRotator/admin/config.tpl
r3531 r4312 99 99 <td colspan="2"><input type="checkbox" name="JWIR_shuffle" {$JWIR_shuffle}/></td> 100 100 </tr> 101 <tr> 102 <td>{'JWIR_autostart'|@translate}</td> 103 <td colspan="2"><input type="checkbox" name="JWIR_autostart" {$JWIR_autostart}/></td> 104 </tr> 101 105 102 106 </table> -
extensions/Flash_Gallery/modules/JWImageRotator/language/fr_FR/module.lang.php
r3531 r4312 43 43 $lang['JWIR_fit_label'] = 'Non proportionnel'; 44 44 45 $lang['JWIR_autostart'] = 'Démarrer automatiquement le diaporame'; 45 46 46 47 ?> -
extensions/Flash_Gallery/modules/JWImageRotator/main.inc.php
r3531 r4312 17 17 { 18 18 if ($key == "showicons" OR $key == "shownavigation" OR $key == "usefullscreen" 19 OR $key == "linkfromdisplay" OR $key == "repeat" OR $key == "shuffle" )19 OR $key == "linkfromdisplay" OR $key == "repeat" OR $key == "shuffle" OR $key == "autostart") 20 20 $block[$key] = ($value ? "true" : "false"); 21 21 else
Note: See TracChangeset
for help on using the changeset viewer.