From 74ccedd6544daac0845a044b5e6d71d577578c69 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 7 Oct 2018 05:55:26 +0200 Subject: 2.9 map + filter fix + markdownextra --- class/class.w.aff.php | 92 +++++++++++++++++++++++++++++++++++--------- class/class.w.app.php | 51 +++++++++++++++++++----- class/class.w.art.php | 15 +++++--- class/class.w.opt.php | 81 +++++++++++++++++++++++++++++++------- public/css/stylehome.css | 8 ++++ public/css/stylemap.css | 0 public/rsc/js/mermaid.min.js | 9 +++++ public/w/home.php | 49 +++++++++++++++-------- public/w/index.php | 2 + public/w/menu.php | 4 +- 10 files changed, 247 insertions(+), 64 deletions(-) create mode 100644 public/css/stylemap.css create mode 100644 public/rsc/js/mermaid.min.js diff --git a/class/class.w.aff.php b/class/class.w.aff.php index d14e682..14b653e 100644 --- a/class/class.w.aff.php +++ b/class/class.w.aff.php @@ -172,10 +172,10 @@ class Aff $templatelist = ['header' => 0, 'section' => 0, 'nav' => 0, 'aside' => 0, 'footer' => 0, 'quickcss' => 1, 'css' => 1]; foreach ($templatelist as $template => $check) { - if($check == 1) { - echo '
  • '; + if ($check == 1) { + echo '
  • '; } else { - echo '
  • '; + echo '
  • '; } } ?> @@ -189,10 +189,10 @@ class Aff $art->couleurtext(), 'lien' => $art->couleurlien(), 'lienblank' => $art->couleurlienblank(), 'bkg' => $art->couleurbkg()]; foreach ($colorlist as $element => $color) { - echo ''; + echo ''; } - + ?> @@ -209,9 +209,9 @@ class Aff } foreach ($imagelist as $image) { if ($image->id() == $artbkgimage) { - echo ''; + echo ''; } else { - echo ''; + echo ''; } } ?> @@ -543,9 +543,12 @@ public function optiontag(Opt $opt) echo '
    Tag