Changeset 12221


Ignore:
Timestamp:
09/25/11 15:54:31 (8 years ago)
Author:
grum
Message:

feature:2151 - Compatibility with Piwigo 2.2

Location:
extensions/Histogram
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Histogram/hgram_version.inc.php

    r8509 r12221  
    1515  if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    1616 
    17   define('HGRAM_VERSION',  '0.1.0'); 
    18   define('HGRAM_VERSION2', '00.01.00'); 
    19   define('HGRAM_GPC_NEEDED', '3.2.0'); 
     17  define('HGRAM_VERSION',  '0.1.1'); 
     18  define('HGRAM_VERSION2', '00.01.01'); 
     19  define('HGRAM_GPC_NEEDED', '3.5.2'); 
    2020?> 
  • extensions/Histogram/js/histoLoad.js

    r8509 r12221  
    1  
     1/** 
     2 * ----------------------------------------------------------------------------- 
     3 * file: histoLoad.js 
     4 * file version: 1.0.0 
     5 * date: 
     6 */ 
    27function HistoLoad() 
    38{ 
  • extensions/Histogram/main.inc.php

    r8509 r12221  
    22/* 
    33Plugin Name: Histogram 
    4 Version: 0.1.0 
     4Version: 0.1.1 
    55Description: Allow to make stat on pictures colors 
    66Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=393 
     
    2424| 0.1.0   | 2011/01/07 | * start to coding 
    2525|         |            | 
    26 |         |            | 
     26| 0.1.1   | 2011/09/25 | * mantis feature:2151 
     27|         |            |   . compatibility with Piwigo 2.2 
    2728|         |            | 
    2829|         |            | 
  • extensions/Histogram/templates/hgram_picture_histo.tpl

    r8509 r12221  
    1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 
     1{combine_script id="jquery" path="themes/default/js/jquery.min.js"} 
    22 
    33 
    44<div id='iHistoContent' style='text-align:center;'> 
    55{if $histoImg==''} 
    6   {known_script id="histogram.histoLoad" src=$ROOT_URL|@cat:"plugins/Histogram/js/histoLoad.js"} 
     6  {combine_script id="histogram.histoLoad" path="plugins/Histogram/js/histoLoad.min.js" require="jquery"} 
    77  <span id='iHistoTxt'>{'hgram_loading_histo'|@translate}</span> 
    88  <script type='text/javascript'> 
Note: See TracChangeset for help on using the changeset viewer.