Carto en local pour dev sur Crozet et modifs suite au passage sous windows
1
.gitignore
vendored
Normal file → Executable file
|
@ -1,5 +1,6 @@
|
|||
/includes/config.php
|
||||
/medias/*
|
||||
/_maps
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
*.log
|
0
_ressources/database_drawing
Normal file → Executable file
0
_ressources/db_model.dbm
Normal file → Executable file
0
_ressources/logo.svg
Normal file → Executable file
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
9
_ressources/sql_skeleton.sql
Normal file → Executable file
|
@ -6,10 +6,7 @@
|
|||
|
||||
-- object: kabano | type: ROLE --
|
||||
-- DROP ROLE IF EXISTS kabano;
|
||||
CREATE ROLE kabano WITH
|
||||
INHERIT
|
||||
LOGIN
|
||||
ENCRYPTED PASSWORD '********';
|
||||
|
||||
-- ddl-end --
|
||||
|
||||
|
||||
|
@ -42,7 +39,7 @@ SET search_path TO pg_catalog,public,topology;
|
|||
-- DROP EXTENSION IF EXISTS postgis CASCADE;
|
||||
CREATE EXTENSION postgis
|
||||
WITH SCHEMA public
|
||||
VERSION '2.5.1';
|
||||
VERSION '3.0.1';
|
||||
-- ddl-end --
|
||||
COMMENT ON EXTENSION postgis IS 'PostGIS geometry, geography, and raster spatial types and functions';
|
||||
-- ddl-end --
|
||||
|
@ -51,7 +48,7 @@ COMMENT ON EXTENSION postgis IS 'PostGIS geometry, geography, and raster spatial
|
|||
-- DROP EXTENSION IF EXISTS postgis_topology CASCADE;
|
||||
CREATE EXTENSION postgis_topology
|
||||
WITH SCHEMA topology
|
||||
VERSION '2.5.1';
|
||||
VERSION '3.0.1';
|
||||
-- ddl-end --
|
||||
COMMENT ON EXTENSION postgis_topology IS 'PostGIS topology spatial types and functions';
|
||||
-- ddl-end --
|
||||
|
|
2
controllers/d.admin.php
Normal file → Executable file
|
@ -34,7 +34,7 @@ if(isset($controller->splitted_url[1]) && $user->rankIsHigher("moderator")) {
|
|||
}
|
||||
|
||||
chdir($config['logs_folder']);
|
||||
exec("tail -n 200 ".$files_list[$filenb+2]." | tac", $output);
|
||||
//exec("tail -n 200 ".$files_list[$filenb+2]." | tac", $output);
|
||||
|
||||
include ($config['views_folder']."d.admin.logs.html");
|
||||
}
|
||||
|
|
0
controllers/d.blog.php
Normal file → Executable file
0
controllers/d.contact.php
Normal file → Executable file
0
controllers/d.map.php
Normal file → Executable file
0
controllers/d.users.php
Normal file → Executable file
0
controllers/d.wiki.php
Normal file → Executable file
0
includes/config.example.php
Normal file → Executable file
0
includes/images.php
Normal file → Executable file
0
includes/routes.php
Normal file → Executable file
0
includes/session.php
Normal file → Executable file
0
models/d.blog.php
Normal file → Executable file
0
models/d.locales.php
Normal file → Executable file
0
models/d.poi.php
Normal file → Executable file
0
models/d.users.php
Normal file → Executable file
0
models/d.wiki.php
Normal file → Executable file
0
third/Md/Markdown.inc.php
Normal file → Executable file
0
third/Md/Markdown.php
Normal file → Executable file
0
third/Md/MarkdownExtra.inc.php
Normal file → Executable file
0
third/Md/MarkdownExtra.php
Normal file → Executable file
0
third/Md/MarkdownInterface.inc.php
Normal file → Executable file
0
third/Md/MarkdownInterface.php
Normal file → Executable file
0
views/blocks/d.footer.html
Normal file → Executable file
0
views/blocks/d.head.html
Normal file → Executable file
0
views/blocks/d.nav.html
Normal file → Executable file
0
views/css/d.blog.css
Normal file → Executable file
0
views/css/d.index.css
Normal file → Executable file
0
views/css/d.map.css
Normal file → Executable file
0
views/css/d.user.css
Normal file → Executable file
0
views/css/d.wiki.css
Normal file → Executable file
0
views/d.admin.git-pull.html
Normal file → Executable file
0
views/d.admin.html
Normal file → Executable file
0
views/d.admin.logs.html
Normal file → Executable file
0
views/d.blog.edit.html
Normal file → Executable file
0
views/d.blog.list.html
Normal file → Executable file
0
views/d.blog.list.rss
Normal file → Executable file
0
views/d.blog.view.html
Normal file → Executable file
0
views/d.contact.html
Normal file → Executable file
0
views/d.index.html
Normal file → Executable file
0
views/d.map.html
Normal file → Executable file
0
views/d.user.login.html
Normal file → Executable file
0
views/d.user.member_list.html
Normal file → Executable file
0
views/d.user.password_lost.html
Normal file → Executable file
0
views/d.user.profile.edit.html
Normal file → Executable file
0
views/d.user.profile.html
Normal file → Executable file
0
views/d.user.signin.html
Normal file → Executable file
0
views/d.wiki.edit.html
Normal file → Executable file
0
views/d.wiki.view.html
Normal file → Executable file
0
views/fonts/FiraMono-Bold.eot
Normal file → Executable file
0
views/fonts/FiraMono-Bold.otf
Normal file → Executable file
0
views/fonts/FiraSans-Bold.ttf
Normal file → Executable file
0
views/fonts/FiraSans-ExtraLight.eot
Normal file → Executable file
0
views/fonts/FiraSans-ExtraLight.otf
Normal file → Executable file
0
views/fonts/FiraSans-ExtraLight.ttf
Normal file → Executable file
0
views/fonts/FiraSans-Light.eot
Normal file → Executable file
0
views/fonts/FiraSans-Light.otf
Normal file → Executable file
0
views/fonts/FiraSans-Light.ttf
Normal file → Executable file
0
views/fonts/FiraSans-Medium.eot
Normal file → Executable file
0
views/fonts/FiraSans-Medium.otf
Normal file → Executable file
0
views/fonts/FiraSans-Medium.ttf
Normal file → Executable file
0
views/fonts/FiraSans-Regular.eot
Normal file → Executable file
0
views/fonts/FiraSans-Regular.otf
Normal file → Executable file
0
views/fonts/FiraSans-Regular.ttf
Normal file → Executable file
0
views/img/aside.jpg
Normal file → Executable file
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
0
views/img/favicon.png
Normal file → Executable file
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 356 B |
0
views/img/header.svg
Normal file → Executable file
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
0
views/img/header_rss.svg
Normal file → Executable file
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
0
views/img/thumb1.jpg
Normal file → Executable file
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
0
views/img/thumb2.jpg
Normal file → Executable file
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
0
views/img/thumb3.jpg
Normal file → Executable file
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
0
views/js/d.avatar.js
Normal file → Executable file
0
views/js/d.captcha.js
Normal file → Executable file
0
views/js/d.header.js
Normal file → Executable file
12
views/js/d.map.js
Normal file → Executable file
|
@ -2,20 +2,22 @@ var mymap;
|
|||
|
||||
$( document ).ready(function() {
|
||||
// Differents layers for the map
|
||||
var osmfr = L.tileLayer('//{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Maps © <a href="http://www.openstreetmap.fr">OpenSreetMap France</a>, Data © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>'});
|
||||
var wikimedia = L.tileLayer('//maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png', {maxZoom: 18, attribution: 'Maps © <a href="http://wikimedia.org">Wikimedia</a>, Data © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>'});
|
||||
var osmfr = L.tileLayer('//{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', {tms: true, maxZoom: 20, attribution: 'Maps © <a href="http://www.openstreetmap.fr">OpenSreetMap France</a>, Data © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>'});
|
||||
var wikimedia = L.tileLayer('//maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png', {tms: true, maxZoom: 18, attribution: 'Maps © <a href="http://wikimedia.org">Wikimedia</a>, Data © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>'});
|
||||
var crozet = L.tileLayer('/_maps/osm_cro/{z}/{x}/{y}.png', {tms: true, maxZoom: 18, attribution: 'For dev purpose only'});
|
||||
|
||||
// Base layers
|
||||
var baseLayers = {
|
||||
"OSM France": osmfr,
|
||||
"OSM Wikimedia": wikimedia,
|
||||
"Crozet": crozet,
|
||||
};
|
||||
|
||||
mymap = L.map('mapid', {
|
||||
zoomControl: false,
|
||||
layers: [wikimedia],
|
||||
}).setView([47.018, 3.142], 6);
|
||||
$("#map-credits").html(wikimedia.getAttribution());
|
||||
layers: [crozet],
|
||||
}).setView([-46.407, 51.766], 12);
|
||||
$("#map-credits").html(crozet.getAttribution());
|
||||
|
||||
L.control.scale({
|
||||
position: "bottomleft",
|
||||
|
|
0
views/third/fontawesome-free-5.4.1-web/css/all.css
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/css/all.min.css
vendored
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.eot
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.svg
Normal file → Executable file
Before Width: | Height: | Size: 673 KiB After Width: | Height: | Size: 673 KiB |
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.ttf
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.woff
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.woff2
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.eot
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.svg
Normal file → Executable file
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 139 KiB |
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.ttf
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.woff
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.woff2
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.eot
Normal file → Executable file
0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.svg
Normal file → Executable file
Before Width: | Height: | Size: 708 KiB After Width: | Height: | Size: 708 KiB |