Changeset 9010


Ignore:
Timestamp:
Jan 31, 2011, 6:01:03 PM (10 years ago)
Author:
grum
Message:

release 3.0.1
bug:2157, bug:2158

Location:
extensions/AMenuManager
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/amm_version.inc.php

    r8962 r9010  
    1515  if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    1616
    17   define('AMM_VERSION',  '3.0.0');
    18   define('AMM_VERSION2', '03.00.00');
     17  define('AMM_VERSION',  '3.0.1');
     18  define('AMM_VERSION2', '03.00.01');
    1919  define('AMM_GPC_NEEDED', '3.4.0');
    2020?>
  • extensions/AMenuManager/js/amm_personalisedBlocks.js

    r8962 r9010  
    22 * userPersonnalisedBlockManage
    33 *
    4  * release 1.0.0
     4 * release 1.0.1
    55 */
    66function userPersonnalisedBlockManage(opt, keys, token, initValues)
     
    152152      // build datas
    153153      var langs=[],
    154           titles=$('#iamm_personalised_content').inputText('languagesValues'),
    155           contents=$('#iamm_personalised_title').inputText('languagesValues');
     154          titles=$('#iamm_personalised_title').inputText('languagesValues'),
     155          contents=$('#iamm_personalised_content').inputText('languagesValues');
    156156
    157157      for(var lang in titles)
  • extensions/AMenuManager/js/amm_personalisedBlocks.min.js

    r8962 r9010  
    1 /* file: amm_personalisedBlocks.js - v1.0.0 | minified on 2011/01/28 with http://jscompress.com/ */
     1/* file: amm_personalisedBlocks.js - v1.0.1 | minified on 2011/01/31 with http://jscompress.com/ */
    22function userPersonnalisedBlockManage(opt,keys,token,initValues)
    33{var options={ajaxUrl:'plugins/AMenuManager/amm_ajax.php'},translatedKeys={g002_ok:'g002_ok',g002_cancel:'g002_cancel',g002_loading:'g002_loading',g002_editofpersonalised:'g002_editofpersonalised',g002_createofpersonalised:'g002_createofpersonalised'},properties={id:'',token:token},load=function()
     
    1414{titles[lang]=tmp.langs[lang].title;contents[lang]=tmp.langs[lang].content;}
    1515$('#iamm_personalised_nfo').inputText('value',tmp.nfo);$('#iamm_personalised_title').inputText('languagesValues',titles);$('#iamm_personalised_content').inputText('languagesValues',contents);$('#iamm_personalised_visible').inputRadio('value',tmp.visible);}},doUpdate=function()
    16 {displayProcessing(true);var langs=[],titles=$('#iamm_personalised_content').inputText('languagesValues'),contents=$('#iamm_personalised_title').inputText('languagesValues');for(var lang in titles)
     16{displayProcessing(true);var langs=[],titles=$('#iamm_personalised_title').inputText('languagesValues'),contents=$('#iamm_personalised_content').inputText('languagesValues');for(var lang in titles)
    1717{langs.push({lang:lang,title:titles[lang],content:contents[lang]});}
    1818var datas={nfo:$('#iamm_personalised_nfo').inputText('value'),visible:$('#iamm_personalised_visible').inputRadio('value'),langs:langs};$.ajax({type:"POST",url:options.ajaxUrl,async:true,data:{ajaxfct:"admin.blocks.set",id:properties.id,token:properties.token,datas:datas},success:function(msg)
  • extensions/AMenuManager/main.inc.php

    r8970 r9010  
    22/*
    33Plugin Name: Advanced Menu Manager
    4 Version: 3.0.0
     4Version: 3.0.1
    55Description: Gestion avancée du menu / Advanced management of menu
    66Plugin URI: http://piwigo.org
     
    141141|         |            | * plugin core rewrited
    142142|         |            |
     143| 3.0.1   | 2011/01/31 | * mantis: feature 2157
     144|         |            |   . Personalised blocks : title & content are inverted
     145|         |            |
     146|         |            | * mantis: feature 2158
     147|         |            |   . Album to menu : error message about number of
     148|         |            |     pictures
    143149|         |            |
    144150|         |            |
  • extensions/AMenuManager/menu_templates/menubar_album.tpl

    r8962 r9010  
    2424  {'</li></ul>'|@str_repeat:$ref_level}
    2525
    26   {if $data.nbPictures!=''}
     26  {if $block->data.nbPictures!=''}
    2727    <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.nbPictures)}</p>
    2828  {/if}
Note: See TracChangeset for help on using the changeset viewer.