Changeset 4499


Ignore:
Timestamp:
Dec 15, 2009, 11:09:38 PM (14 years ago)
Author:
grum
Message:

[AMM] feature 1331 (a small bug about the random picture)

Location:
extensions/AMenuManager
Files:
2 edited

Legend:

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

    r4395 r4499  
    303303  public function applyJS()
    304304  {
    305     global $user, $template;
    306 
    307     if($this->displayRandomImageBlock)
     305    global $user, $template, $page;
     306
     307    if($this->displayRandomImageBlock && $page['body_id'] == 'theCategoryPage')
    308308    {
    309309      $local_tpl = new Template(AMM_PATH."admin/", "");
  • extensions/AMenuManager/main.inc.php

    r4395 r4499  
    22/*
    33Plugin Name: Advanced Menu Manager
    4 Version: 2.1.4
     4Version: 2.1.5
    55Description: Gestion avancée du menu / Advanced management of menu
    66Plugin URI: http://piwigo.org
     
    6565|         |            |   AMM don't works properly if a block 'menu' or
    6666|         |            |   'specials' is hidden
     67| 2.1.5   | 2009/12/15 | * mantis: feature 1331
     68|         |            |   JS code used to manage the random picture is always
     69|         |            |   loaded even if there is no menubar
     70|         |            | * adding new translations
     71|         |            |    - zh_CN (thx mzs777)
     72|         |            | * update translations
     73|         |            |    - hu_HU (thx to sámli)
     74|         |            |
     75|         |            |
     76|         |            |
     77|         |            |
     78|         |            |
     79|         |            |
     80|         |            |
    6781|         |            |
    6882|         |            |
     
    90104define('AMM_PATH' , PHPWG_PLUGINS_PATH . AMM_DIR . '/');
    91105
    92 define('AMM_VERSION' , '2.1.4'); //=> ne pas oublier la version dans l'entête !!
     106define('AMM_VERSION' , '2.1.5'); //=> ne pas oublier la version dans l'entête !!
    93107
    94108global $prefixeTable, $page;
Note: See TracChangeset for help on using the changeset viewer.