Last change
on this file since 88937 was
88937,
checked in by laurent@…, 6 years ago
|
Création du module GIS BAN qui ajoute aux cartes de GIS 4 un moteur de recherche pour la base BAN
|
File size:
649 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | if (!defined('_ECRIRE_INC_VERSION')) return; |
---|
4 | |
---|
5 | /** |
---|
6 | * Insertion des css du plugin dans les pages publiques |
---|
7 | * |
---|
8 | * @param $flux |
---|
9 | * @return mixed |
---|
10 | */ |
---|
11 | function gisban_insert_head_css($flux){ |
---|
12 | $flux .="\n".'<link rel="stylesheet" href="'. find_in_path('lib/leaflet.photon/leaflet.photon.css') .'" />'; |
---|
13 | $flux .="\n".'<link rel="stylesheet" href="'. find_in_path('css/photon_search_gis.css') .'" />'; |
---|
14 | return $flux; |
---|
15 | } |
---|
16 | |
---|
17 | /** |
---|
18 | * Insertion des scripts et css du plugin dans les pages de l'espace privé |
---|
19 | * |
---|
20 | * @param $flux |
---|
21 | * @return mixed |
---|
22 | */ |
---|
23 | function gisban_header_prive($flux){ |
---|
24 | $flux .= gisban_insert_head_css(''); |
---|
25 | return $flux; |
---|
26 | } |
---|
27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.