Changeset 10630


Ignore:
Timestamp:
04/26/11 21:50:01 (9 years ago)
Author:
grum
Message:

bug:2147 ; Compatibility with Piwigo 2.2

Location:
extensions/ColorStat
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • extensions/ColorStat/admin/cstat_config.tpl

    r6210 r10630  
    1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 
    2 {known_script id="jquery.ui.slider" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.slider.packed.js"} 
     1{combine_script id="jquery.ui" path="themes/default/js/ui/minified/jquery.ui.core.min.js"} 
     2{combine_script id="jquery.ui.slider" path="themes/default/js/ui/minified/jquery.ui.slider.min.js"} 
    33 
    44 
  • extensions/ColorStat/admin/cstat_database.tpl

    r6210 r10630  
    1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 
    2 {known_script id="jquery.ui.dialog" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.dialog.packed.js"} 
     1{combine_script id="jquery.ui" path="themes/default/js/ui/minified/jquery.ui.core.min.js"} 
     2{combine_script id="jquery.ui.dialog" path="themes/default/js/ui/minified/jquery.ui.dialog.min.js"} 
    33 
    44{literal} 
  • extensions/ColorStat/admin/cstat_install_page.tpl

    r6107 r10630  
    1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 
    2 {known_script id="jquery.tipTip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.tipTip.minified.js" } 
     1{combine_script id="jquery.ui" path="themes/default/js/ui/minified/jquery.ui.core.min.js"} 
     2{combine_script id="jquery.tipTip" path="themes/default/js/plugins/jquery.tipTip.minified.js" } 
    33 
    44{literal} 
  • extensions/ColorStat/admin/cstat_stat.tpl

    r6107 r10630  
    1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 
    2 {known_script id="jquery.tipTip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.tipTip.minified.js" } 
     1{combine_script id="jquery.ui" path="themes/default/js/ui/minified/jquery.ui.core.min.js"} 
     2{combine_script id="jquery.tipTip" path="themes/default/js/plugins/jquery.tipTip.minified.js" } 
    33 
    44{literal} 
  • extensions/ColorStat/cstat_install.class.inc.php

    r8544 r10630  
    1616  if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    1717 
    18   include_once('cstat_version.inc.php'); // => Don't forget to update this file !! 
    1918  include_once('cstat_root.class.inc.php'); 
    2019  include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCTables.class.inc.php'); 
  • extensions/ColorStat/cstat_root.class.inc.php

    r6210 r10630  
    1717 
    1818 
     19  include_once('cstat_version.inc.php'); // => Don't forget to update this file !! 
    1920  include_once('cstat_colorstat.class.inc.php'); 
    2021  include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php'); 
  • extensions/ColorStat/cstat_version.inc.php

    r8543 r10630  
    1515  if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    1616 
    17   define('CSTAT_VERSION',  '1.0.3'); 
    18   define('CSTAT_VERSION2', '01.00.03'); 
    19   define('CSTAT_GPC_NEEDED', '3.2.0'); 
     17  define('CSTAT_VERSION',  '1.1.0'); 
     18  define('CSTAT_VERSION2', '01.01.00'); 
     19  define('CSTAT_GPC_NEEDED', '3.5.0'); 
    2020?> 
  • extensions/ColorStat/main.inc.php

    r8543 r10630  
    22/* 
    33Plugin Name: ColorStat 
    4 Version: 1.0.3 
     4Version: 1.1.0 
    55Description: Allow to make stat on pictures colors 
    66Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=393 
     
    4040|         |            |   . No image are analyzed 
    4141|         |            | 
    42 |         |            | 
     42| 1.1.0   | 2011/04/26 | * mantis bug:2147 
     43|         |            |   . Compatibility with Piwigo 2.2 
    4344|         |            | 
    4445|         |            | 
  • extensions/ColorStat/maintain.inc.php

    r6976 r10630  
    2020//ini_set('display_errors', true); 
    2121 
     22include_once('cstat_version.inc.php'); // => Don't forget to update this file !! 
     23 
    2224global $gpcInstalled, $lang; //needed for plugin manager compatibility 
    2325 
     
    3133{ 
    3234  include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php'); 
    33   // need GPC release greater or equal than 3.2.0 
    34   if(CommonPlugin::checkGPCRelease(3,2,0)) 
     35  // need GPC release greater or equal than CSTAT_GPC_NEEDED 
     36  if(CommonPlugin::checkGPCRelease(CSTAT_GPC_NEEDED)) 
    3537  { 
    3638    include_once('cstat_install.class.inc.php'); 
  • extensions/ColorStat/templates/cstat_dialog_colors_choose.tpl

    r6176 r10630  
    1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 
    2 {known_script id="jquery.ui.dialog" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.dialog.packed.js"} 
    3 {known_script id="jquery.tipTip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.tipTip.minified.js"} 
     1{combine_script id="jquery.ui" path="themes/default/js/ui/minified/jquery.ui.core.min.js"} 
     2{combine_script id="jquery.ui.dialog" path="themes/default/js/ui/minified/jquery.ui.dialog.min.js"} 
     3{combine_script id="jquery.tipTip" path="themes/default/js/plugins/jquery.tipTip.minified.js"} 
    44 
    55 
Note: See TracChangeset for help on using the changeset viewer.