| Line 51... |
Line 51... |
| 51 |
|
51 |
|
| Line 52... |
Line 52... |
| 52 |
GEN_stockerStyleExterne( 'jquery_date_picker_style', 'api/js/jquery/ui.datepicker.css');
|
52 |
GEN_stockerStyleExterne( 'jquery_date_picker_style', 'api/js/jquery/ui.datepicker.css');
|
| 53 |
|
53 |
|
| 54 |
|
54 |
|
| 55 |
if (defined('PAP_VERSION')) { //si on est dans Papyrus
|
55 |
if (defined('PAP_VERSION')) { //si on est dans Papyrus
|
| 56 |
GEN_stockerStyleExterne( 'bazar_interne', 'client/bazar/bazar.interne.css');
|
56 |
GEN_stockerStyleExterne( 'bazar_interne', 'reseau/bazar/bazar.interne.css');
|
| 57 |
}
|
57 |
}
|
| Line 112... |
Line 112... |
| 112 |
// cas un : une seule entree pour le point de coordonnees
|
112 |
// cas un : une seule entree pour le point de coordonnees
|
| 113 |
if (count ($valeur) == 1) {
|
113 |
if (count ($valeur) == 1) {
|
| 114 |
$chaine = $valeur[0];
|
114 |
$chaine = $valeur[0];
|
| Line 115... |
Line 115... |
| 115 |
|
115 |
|
| 116 |
$script_marker .= 'var icon = new GIcon(G_DEFAULT_ICON);
|
116 |
$script_marker .= 'var icon = new GIcon(G_DEFAULT_ICON);
|
| 117 |
icon.image = "client/bazar/images/drapeau_'.$couleur_drapeau[$chaine['blv_valeur']].'.png";'."\n".'
|
117 |
icon.image = "reseau/bazar/images/drapeau_'.$couleur_drapeau[$chaine['blv_valeur']].'.png";'."\n".'
|
| 118 |
icon.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
118 |
icon.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
| 119 |
icon.iconSize = new GSize(16, 16);
|
119 |
icon.iconSize = new GSize(16, 16);
|
| 120 |
icon.shadowSize = new GSize(16, 16);
|
120 |
icon.shadowSize = new GSize(16, 16);
|
| 121 |
icon.iconAnchor = new GPoint(6, 16);
|
121 |
icon.iconAnchor = new GPoint(6, 16);
|
| Line 128... |
Line 128... |
| 128 |
$tableau_id = array();
|
128 |
$tableau_id = array();
|
| 129 |
foreach ($valeur as $val) {
|
129 |
foreach ($valeur as $val) {
|
| 130 |
array_push ($tableau_id, $val['bf_id_fiche']);
|
130 |
array_push ($tableau_id, $val['bf_id_fiche']);
|
| 131 |
}
|
131 |
}
|
| 132 |
$script_marker .= 'var icon = new GIcon();
|
132 |
$script_marker .= 'var icon = new GIcon();
|
| 133 |
icon.image = "http://www.tela-botanica.org/client/bazar/images/drapeau_'.$couleur_drapeau[$chaine['blv_valeur']].'.png";
|
133 |
icon.image = "http://www.tela-botanica.org/reseau/bazar/images/drapeau_'.$couleur_drapeau[$chaine['blv_valeur']].'.png";
|
| 134 |
icon.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
134 |
icon.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
| 135 |
icon.iconSize = new GSize(16, 16);
|
135 |
icon.iconSize = new GSize(16, 16);
|
| 136 |
icon.shadowSize = new GSize(37, 34);
|
136 |
icon.shadowSize = new GSize(37, 34);
|
| 137 |
icon.iconAnchor = new GPoint(6, 34);
|
137 |
icon.iconAnchor = new GPoint(6, 34);
|
| 138 |
icon.infoWindowAnchor = new GPoint(5, 1);';
|
138 |
icon.infoWindowAnchor = new GPoint(5, 1);';
|
| Line 146... |
Line 146... |
| 146 |
$script_marker = '';
|
146 |
$script_marker = '';
|
| 147 |
}
|
147 |
}
|
| Line 148... |
Line 148... |
| 148 |
|
148 |
|
| 149 |
$script = ' // Variables globales
|
149 |
$script = ' // Variables globales
|
| 150 |
var map = null;
|
150 |
var map = null;
|
| 151 |
// cette fonction peut déjà être présente
|
151 |
// cette fonction peut d�j� �tre pr�sente
|
| 152 |
if (typeof(addListener) != \'function\') {
|
152 |
if (typeof(addListener) != \'function\') {
|
| 153 |
// fonction portable pour ajout de listeners
|
153 |
// fonction portable pour ajout de listeners
|
| 154 |
function addListener(element, baseName, handler)
|
154 |
function addListener(element, baseName, handler)
|
| 155 |
{
|
155 |
{
|