Ignore:
Timestamp:
Jul 27, 2009, 12:01:10 PM (15 years ago)
Author:
grum
Message:

Update AMM 2.1.1 - bug resolved + improvement
See main.inc.php file for details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/amm_pip.class.inc.php

    r3683 r3690  
    33  Plugin     : Advanced Menu Manager
    44  Author     : Grum
    5     email    : grum@grum.dnsalias.com
    6     website  : http://photos.grum.dnsalias.com
     5    email    : grum@piwigo.org
     6    website  : http://photos.grum.fr
    77    PWG user : http://forum.phpwebgallery.net/profile.php?id=3706
    88
     
    7878    {
    7979      $block->set_title(  base64_decode($this->my_config['amm_randompicture_title'][$user['language']]) );
    80       $block->data = array("delay" => $this->my_config['amm_randompicture_periodicchange']);
     80      $block->data = array(
     81        "delay" => $this->my_config['amm_randompicture_periodicchange'],
     82        "blockHeight" => $this->my_config['amm_randompicture_height'],
     83        "firstPicture" => $this->ajax_amm_get_random_picture()
     84      );
    8185      $block->template = dirname(__FILE__).'/menu_templates/menubar_randompic.tpl';
    8286    }
Note: See TracChangeset for help on using the changeset viewer.