> -------------------------------------------------------------------------------- :: 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 | | | | | | | | | | | | | | | :: 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('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)) { //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); ?>