From 9df05381d140a2c8fe63b4f5e4c60dee3e2ad47b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 8 Apr 2012 13:05:58 +0200 Subject: [PATCH] Fix: Bug war. Look: enhance look for map views. --- htdocs/adherents/stats/geo.php | 12 ++++-- htdocs/core/class/commonobject.class.php | 46 +++++++++++++++++++++++ htdocs/core/lib/functions.lib.php | 13 +++++++ htdocs/core/menus/init_menu_auguria.sql | 5 ++- htdocs/core/menus/standard/eldy.lib.php | 3 +- htdocs/core/modules/modAdherent.class.php | 5 +-- htdocs/societe/class/societe.class.php | 46 ----------------------- htdocs/theme/auguria/style.css.php | 9 +++++ htdocs/theme/eldy/graph-color.php | 12 ++++-- htdocs/theme/eldy/style.css.php | 10 +++++ 10 files changed, 101 insertions(+), 60 deletions(-) diff --git a/htdocs/adherents/stats/geo.php b/htdocs/adherents/stats/geo.php index c0453f5a951..9465a7eb10f 100755 --- a/htdocs/adherents/stats/geo.php +++ b/htdocs/adherents/stats/geo.php @@ -194,7 +194,11 @@ else // Show graphics if ($mode == 'memberbycountry') { + $color_file = DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/graph-color.php'; + if (is_readable($color_file)) include_once($color_file); + // Assume we've already included the proper headers so just call our script inline + // More doc: https://developers.google.com/chart/interactive/docs/gallery/geomap?hl=fr-FR print "\n