> -------------------------------------------------------------------------------- :: HISTORY | release | date | | 0.1.0 | 2010-08-22 | * first lines of code | | | . release not published | | | | 1.0.0 | 2010-09-30 | * first official release | | | | 1.1.0 | 2010-10-20 | * mantis bug:1926 | | | . key not translated | | | | | | * mantis bug:1927 | | | . Autozoom on categories maps : needs a min/max level | | | | | | * mantis bug:1929 | | | . allowing to set the size for automatic size | | | | | | * mantis bug:1930 | | | . Improve loading time for markers | | | | | | * mantis bug:1931 | | | . when an association is modified, it's possible to | | | set a category already associated | | | | | | * mantis bug:1939 | | | . compatibility with ExtendedDescription | | | | | | * mantis bug:1946 | | | . Save KML files in local directory | | | | 1.2.0 | 2010-10-28 | * mantis bug:1972 | | | . thumbnails are not displayed in maps bubble box | | | | | | * mantis bug:1950 | | | . Display map if a kml file is associated | | | | | | * mantis bug:1967 | | | . Maps are not displayed if user navigate with tag | | | | | | * mantis bug:1937 | | | . add possibility to add maps in descriptions | | | | | | * mantis bug:1985 | | | . KML/KMZ files with spaces in file name are not | | | managed | | | | 1.2.1 | 2010-11-01 | * mantis bug:1989 | | | . Incompatibility with ExtendedDescription | | | | | | * mantis bug:1991 | | | . [gmaps] markup, kmlId is not functionnal | | | | | | * mantis bug:1987 | | | . Add an interface allowing to know ID for maps and | | | kml files | | | | 1.2.2 | 2010-11-02 | * mantis bug:1996 | | | . Incompatibility with PHP prior than 5.2.2 | | | | 1.2.3 | 2010-11-04 | * mantis bug:2004 | | | . Cache table becomes very huge | | | | | | * mantis bug:2005 | | | . Category map is not displayed when a [gmaps] map is | | | inserted in category description | | | | 1.2.4 | 2010-11-05 | * mantis bug:2009 | | | . MySQL error on search tab | | | | | | * mantis bug:2012 | | | . MySQL 5.1 incompatibility | | | | 1.3.0 | 2011-04-13 | * mantis bug:2148 | | | . compatibility with piwigo 2.2 | | | | | | * mantis bug:2062 | | | . With IE7, comma is not accepted at the end of a JS | | | object | | | | 1.3.1 | 2011-05-17 | * mantis bug:2304 | | | . Impossible to upload kml file | | | | 1.3.2 | 2011-09-22 | * mantis bug:2063 | | | . Incompatibility with slideshow mode | | | | | | * mantis bug:2346 | | | . Preview / next arrow do not work with [gmaps] tag | | | in description | | | | | | * mantis bug:2034 | | | . Unable to load pictures if there is categories with | | | the same name | | | | | | * mantis bug:2347 | | | . kml display is not working if selecting a kml file | | | in Gmaps plugin manager | | | | | | * mantis bug:2042 | | | . Category map is not available if option "apply to | | | subcategories" is not selected | | | | | | * mantis bug:2444 | | | . Manage extended description for categories names | | | | 1.4.0 | 2012-05-25 | * mantis feature:2638 | | | . Compatibility with Piwigo 2.4 | | | | 1.4.1 | 2012-08-29 | * mantis bug:2731 | | | . Association between album and map are not always respected | | | | | | * mantis bug:2710 | | | . Incompatibiliy with some MySQL version | | | | | | | | | :: TO DO -------------------------------------------------------------------------------- :: NFO GMaps_root : common classe for admin and public classes GMaps_AIM : classe to manage plugin integration into plugin menu GMaps_AIP : classe to manage plugin admin pages GMaps_PIP : classe to manage plugin public pages -------------------------------------------------------------------------------- */ // pour faciliter le debug :o) //ini_set('error_reporting', E_ALL); //ini_set('display_errors', true); if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); define('GMAPS_DIR' , basename(dirname(__FILE__))); define('GMAPS_PATH' , PHPWG_PLUGINS_PATH . GMAPS_DIR . '/'); include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php'); include_once('gmaps_version.inc.php'); // => Don't forget to update this file !! global $prefixeTable; if(!defined('AJAX_CALL')) { if(defined('IN_ADMIN')) { //GMaps admin interface loaded and active only if in admin page include_once("gmaps_aim.class.inc.php"); $obj=new GMaps_AIM($prefixeTable, __FILE__); $obj->initEvents(); } else { if(CommonPlugin::checkGPCRelease(GMAPS_GPC_NEEDED) and !mobile_theme()) { //GMaps public interface loaded and active only if in public page include_once("gmaps_pip.class.inc.php"); $obj=new GMaps_PIP($prefixeTable, __FILE__); } } } set_plugin_data($plugin['id'], $obj); ?>