Browse Source

Carto en local pour dev sur Crozet et modifs suite au passage sous windows

poi-dev
U-P231-ELECTROLL\gener 2 years ago
parent
commit
37e0162676
  1. 1
      .gitignore
  2. 0
      .htaccess
  3. 0
      README.md
  4. 0
      _ressources/database_drawing
  5. 0
      _ressources/db_model.dbm
  6. 0
      _ressources/logo.svg
  7. 9
      _ressources/sql_skeleton.sql
  8. 2
      controllers/d.admin.php
  9. 0
      controllers/d.blog.php
  10. 0
      controllers/d.contact.php
  11. 0
      controllers/d.map.php
  12. 0
      controllers/d.users.php
  13. 0
      controllers/d.wiki.php
  14. 0
      includes/config.example.php
  15. 0
      includes/images.php
  16. 0
      includes/routes.php
  17. 0
      includes/session.php
  18. 0
      index.php
  19. 0
      models/d.blog.php
  20. 0
      models/d.locales.php
  21. 0
      models/d.poi.php
  22. 0
      models/d.users.php
  23. 0
      models/d.wiki.php
  24. 0
      third/Md/Markdown.inc.php
  25. 0
      third/Md/Markdown.php
  26. 0
      third/Md/MarkdownExtra.inc.php
  27. 0
      third/Md/MarkdownExtra.php
  28. 0
      third/Md/MarkdownInterface.inc.php
  29. 0
      third/Md/MarkdownInterface.php
  30. 0
      views/blocks/d.footer.html
  31. 0
      views/blocks/d.head.html
  32. 0
      views/blocks/d.nav.html
  33. 0
      views/css/d.blog.css
  34. 0
      views/css/d.index.css
  35. 0
      views/css/d.map.css
  36. 0
      views/css/d.user.css
  37. 0
      views/css/d.wiki.css
  38. 0
      views/d.admin.git-pull.html
  39. 0
      views/d.admin.html
  40. 0
      views/d.admin.logs.html
  41. 0
      views/d.blog.edit.html
  42. 0
      views/d.blog.list.html
  43. 0
      views/d.blog.list.rss
  44. 0
      views/d.blog.view.html
  45. 0
      views/d.contact.html
  46. 0
      views/d.index.html
  47. 0
      views/d.map.html
  48. 0
      views/d.user.login.html
  49. 0
      views/d.user.member_list.html
  50. 0
      views/d.user.password_lost.html
  51. 0
      views/d.user.profile.edit.html
  52. 0
      views/d.user.profile.html
  53. 0
      views/d.user.signin.html
  54. 0
      views/d.wiki.edit.html
  55. 0
      views/d.wiki.view.html
  56. 0
      views/fonts/FiraMono-Bold.eot
  57. 0
      views/fonts/FiraMono-Bold.otf
  58. 0
      views/fonts/FiraSans-Bold.ttf
  59. 0
      views/fonts/FiraSans-ExtraLight.eot
  60. 0
      views/fonts/FiraSans-ExtraLight.otf
  61. 0
      views/fonts/FiraSans-ExtraLight.ttf
  62. 0
      views/fonts/FiraSans-Light.eot
  63. 0
      views/fonts/FiraSans-Light.otf
  64. 0
      views/fonts/FiraSans-Light.ttf
  65. 0
      views/fonts/FiraSans-Medium.eot
  66. 0
      views/fonts/FiraSans-Medium.otf
  67. 0
      views/fonts/FiraSans-Medium.ttf
  68. 0
      views/fonts/FiraSans-Regular.eot
  69. 0
      views/fonts/FiraSans-Regular.otf
  70. 0
      views/fonts/FiraSans-Regular.ttf
  71. 0
      views/img/aside.jpg
  72. 0
      views/img/favicon.png
  73. 0
      views/img/header.svg
  74. 0
      views/img/header_rss.svg
  75. 0
      views/img/thumb1.jpg
  76. 0
      views/img/thumb2.jpg
  77. 0
      views/img/thumb3.jpg
  78. 0
      views/js/d.avatar.js
  79. 0
      views/js/d.captcha.js
  80. 0
      views/js/d.header.js
  81. 12
      views/js/d.map.js
  82. 0
      views/third/fontawesome-free-5.4.1-web/css/all.css
  83. 0
      views/third/fontawesome-free-5.4.1-web/css/all.min.css
  84. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.eot
  85. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.svg
  86. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.ttf
  87. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.woff
  88. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.woff2
  89. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.eot
  90. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.svg
  91. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.ttf
  92. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.woff
  93. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.woff2
  94. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.eot
  95. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.svg
  96. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.ttf
  97. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.woff
  98. 0
      views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.woff2
  99. 0
      views/third/jquery-3.3.1.min.js
  100. 0
      views/third/leaflet-easybutton/easy-button.css

1
.gitignore

@ -1,5 +1,6 @@
/includes/config.php
/medias/*
/_maps
*.sublime-project
*.sublime-workspace
*.log

0
.htaccess

0
README.md

0
_ressources/database_drawing

0
_ressources/db_model.dbm

0
_ressources/logo.svg

9
_ressources/sql_skeleton.sql

@ -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

@ -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

0
controllers/d.contact.php

0
controllers/d.map.php

0
controllers/d.users.php

0
controllers/d.wiki.php

0
includes/config.example.php

0
includes/images.php

0
includes/routes.php

0
includes/session.php

0
index.php

0
models/d.blog.php

0
models/d.locales.php

0
models/d.poi.php

0
models/d.users.php

0
models/d.wiki.php

0
third/Md/Markdown.inc.php

0
third/Md/Markdown.php

0
third/Md/MarkdownExtra.inc.php

0
third/Md/MarkdownExtra.php

0
third/Md/MarkdownInterface.inc.php

0
third/Md/MarkdownInterface.php

0
views/blocks/d.footer.html

0
views/blocks/d.head.html

0
views/blocks/d.nav.html

0
views/css/d.blog.css

0
views/css/d.index.css

0
views/css/d.map.css

0
views/css/d.user.css

0
views/css/d.wiki.css

0
views/d.admin.git-pull.html

0
views/d.admin.html

0
views/d.admin.logs.html

0
views/d.blog.edit.html

0
views/d.blog.list.html

0
views/d.blog.list.rss

0
views/d.blog.view.html

0
views/d.contact.html

0
views/d.index.html

0
views/d.map.html

0
views/d.user.login.html

0
views/d.user.member_list.html

0
views/d.user.password_lost.html

0
views/d.user.profile.edit.html

0
views/d.user.profile.html

0
views/d.user.signin.html

0
views/d.wiki.edit.html

0
views/d.wiki.view.html

0
views/fonts/FiraMono-Bold.eot

0
views/fonts/FiraMono-Bold.otf

0
views/fonts/FiraSans-Bold.ttf

0
views/fonts/FiraSans-ExtraLight.eot

0
views/fonts/FiraSans-ExtraLight.otf

0
views/fonts/FiraSans-ExtraLight.ttf

0
views/fonts/FiraSans-Light.eot

0
views/fonts/FiraSans-Light.otf

0
views/fonts/FiraSans-Light.ttf

0
views/fonts/FiraSans-Medium.eot

0
views/fonts/FiraSans-Medium.otf

0
views/fonts/FiraSans-Medium.ttf

0
views/fonts/FiraSans-Regular.eot

0
views/fonts/FiraSans-Regular.otf

0
views/fonts/FiraSans-Regular.ttf

0
views/img/aside.jpg

Before

Width: 2000  |  Height: 320  |  Size: 44 KiB

After

Width: 2000  |  Height: 320  |  Size: 44 KiB

0
views/img/favicon.png

Before

Width: 16  |  Height: 16  |  Size: 356 B

After

Width: 16  |  Height: 16  |  Size: 356 B

0
views/img/header.svg

0
views/img/header_rss.svg

0
views/img/thumb1.jpg

Before

Width: 250  |  Height: 167  |  Size: 22 KiB

After

Width: 250  |  Height: 167  |  Size: 22 KiB

0
views/img/thumb2.jpg

Before

Width: 222  |  Height: 167  |  Size: 19 KiB

After

Width: 222  |  Height: 167  |  Size: 19 KiB

0
views/img/thumb3.jpg

Before

Width: 250  |  Height: 167  |  Size: 27 KiB

After

Width: 250  |  Height: 167  |  Size: 27 KiB

0
views/js/d.avatar.js

0
views/js/d.captcha.js

0
views/js/d.header.js

12
views/js/d.map.js

@ -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

0
views/third/fontawesome-free-5.4.1-web/css/all.min.css

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.eot

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.svg

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.ttf

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.woff

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-brands-400.woff2

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.eot

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.svg

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.ttf

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.woff

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-regular-400.woff2

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.eot

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.svg

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.ttf

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.woff

0
views/third/fontawesome-free-5.4.1-web/webfonts/fa-solid-900.woff2

0
views/third/jquery-3.3.1.min.js

0
views/third/leaflet-easybutton/easy-button.css

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save