Changeset 9066


Ignore:
Timestamp:
Feb 2, 2011, 7:49:29 PM (13 years ago)
Author:
grum
Message:

release 3.4.4
fix bug:2170, bug:2178, bug:2179

Location:
extensions/GrumPluginClasses
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/GrumPluginClasses/classes/GPCCore.class.inc.php

    r9034 r9066  
    33/* -----------------------------------------------------------------------------
    44  class name     : GPCCore
    5   class version  : 1.3.2
    6   plugin version : 3.4.0
    7   date           : 2011-01-28
     5  class version  : 1.3.3
     6  plugin version : 3.4.4
     7  date           : 2011-02-02
    88  ------------------------------------------------------------------------------
    99  author: grum at piwigo.org
     
    4242|         |            |
    4343|         |            | * mantis bug:2167
     44|         |            |
     45| 1.3.4   | 2011/02/02 | * mantis bug:2170
     46|         |            |   . File path for RBuilder registered plugins is corrupted
     47|         |            |
     48|         |            | * mantis bug:2178
     49|         |            |   . RBuilder register function don't work
     50|         |            |
     51|         |            | * mantis bug:2179
     52|         |            |   . JS file loaded in wrong order made incompatibility
     53|         |            |     with Lightbox, GMaps & ASE plugins (and probably other)
     54|         |            |
    4455|         |            |
    4556|         |            |
     
    96107        Array('name' => "GPCAjax", 'version' => "3.0.0"),
    97108        Array('name' => "GPCCategorySelector", 'version' => "1.0.1"),
    98         Array('name' => "GPCCore", 'version' => "1.3.3"),
     109        Array('name' => "GPCCore", 'version' => "1.3.4"),
    99110        Array('name' => "GPCCss", 'version' => "3.0.0"),
    100111        Array('name' => "GPCPagesNavigation", 'version' => "2.0.0"),
     
    224235    }
    225236
     237    $conf[$pluginName.'_config']=serialize($config);
     238
    226239    return(true);
    227240  }
     
    267280  static public function saveConfig($pluginName, $config)
    268281  {
     282    global $conf;
     283
    269284    $sql="REPLACE INTO ".CONFIG_TABLE."
    270285           VALUES('".$pluginName."_config', '"
    271            .serialize($config)."', '')";
     286           .pwg_db_real_escape_string(serialize($config))."', '')";
    272287    $result=pwg_query($sql);
    273288    if($result)
    274     { return true; }
     289    {
     290      $conf[$pluginName.'_config']=serialize($config);
     291      return true;
     292    }
    275293    else
    276     { return false; }
     294    {
     295      return false;
     296    }
    277297  }
    278298
     
    364384    if(!array_key_exists($id,  $template->known_scripts) and !array_key_exists($file, self::$headerItems['js']))
    365385    {
    366      $template->known_scripts[$id]=$file;
     386      $dummy=null;
     387
     388      $template->func_known_script(
     389        array('id'=>$id,
     390              'src'=>$file),
     391        $dummy);
     392     //$template->known_scripts[$id]=$file;
    367393     self::$headerItems['js'][$id]=$file;
    368394    }
     
    383409      $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="'.$file.'"/>');
    384410    }
    385 
     411/*
    386412    foreach(self::$headerItems['js'] as $file)
    387413    {
     
    389415      $template->block_html_head(null, '<script type="text/javascript" src="'.$file.'"></script>', $dummy1, $dummy2);
    390416    }
     417*/
    391418  }
    392419
     
    454481          self::addHeaderJS('jquery.ui.slider', 'themes/default/js/ui/packed/ui.slider.packed.js');
    455482          self::addHeaderJS('jquery.ui.draggable', 'themes/default/js/ui/packed/ui.draggable.packed.js');
    456           self::addHeaderJS('jquery.ui.dialog', 'themes/default/js/ui/packed/ui.slider.dialog.js');
     483          self::addHeaderJS('jquery.ui.dialog', 'themes/default/js/ui/packed/ui.dialog.packed.js');
    457484          self::addHeaderJS('gpc.inputText', GPC_PATH.'js/ui.inputText'.self::$minified.'.js');
    458485          self::addHeaderJS('gpc.inputNum', GPC_PATH.'js/ui.inputNum'.self::$minified.'.js');
  • extensions/GrumPluginClasses/gpc_version.inc.php

    r9034 r9066  
    1515  if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    1616
    17   if(!defined('GPC_VERSION')) define('GPC_VERSION',  '3.4.3');
    18   if(!defined('GPC_VERSION2')) define('GPC_VERSION2', '03.04.03');
     17  if(!defined('GPC_VERSION')) define('GPC_VERSION',  '3.4.4');
     18  if(!defined('GPC_VERSION2')) define('GPC_VERSION2', '03.04.04');
    1919?>
  • extensions/GrumPluginClasses/main.inc.php

    r9034 r9066  
    22/*
    33Plugin Name: Grum Plugins Classes.3
    4 Version: 3.4.2
     4Version: 3.4.4
    55Description: Collection de classes partagées entre mes plugins (existants, ou à venir) / Partaged classes between my plugins (actuals or futures)
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=199
     
    144144|         |            |   . RBuilder and GPCore not correctly initialized on
    145145|         |            |     fresh install
     146|         |            |
     147| 3.4.4   | 2011/02/02 | * mantis bug:2170
     148|         |            |   . File path for RBuilder registered plugins is corrupted
     149|         |            |
     150|         |            | * mantis bug:2178
     151|         |            |   . RBuilder register function don't work
     152|         |            |
     153|         |            | * mantis bug:2179
     154|         |            |   . JS file loaded in wrong order made incompatibility
     155|         |            |     with Lightbox, GMaps & ASE plugins (and probably other)
     156|         |            |
     157|         |            | * add language pt_PT (thanks to translator)
     158|         |            |
     159|         |            |
    146160|         |            |
    147161|         |            |
Note: See TracChangeset for help on using the changeset viewer.