Ignore:
Timestamp:
Nov 19, 2009, 12:51:01 AM (14 years ago)
Author:
tiico
Message:

[Flash_Gallery] bug 1230 : Update JWImageRotator module with autostart option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Flash_Gallery/modules/JWImageRotator/admin/config.inc.php

    r3531 r4312  
    2727   'shuffle'  =>'false),Set this to true to playback the images in random order.
    2828   'volume'  =>'80', sets the startup volume of the MP3 background music.
     29   'autostart' => false, set to tre to autostart the slideshow
    2930*/
    3031
     
    5455   'repeat'                     => false,
    5556   'rotatetime'                 => '5',
    56    'shuffle'                    => false
     57   'shuffle'                    => false,
     58   'autostart'          => false
    5759);
    5860
     
    6668        {
    6769                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")
    6971                        $ext_datas[$key] = isset($_POST['JWIR_'.$key]);
    7072                else
     
    7779
    7880        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")
    8082                $template->assign(array( 'JWIR_'.$key => ($ext_datas[$key] ? 'checked="checked"': '')));
    8183        elseif ($key == "transition")
Note: See TracChangeset for help on using the changeset viewer.