From c4f180d43936bb6dc104e53789d832c5193af0e5 Mon Sep 17 00:00:00 2001 From: Bruno 21 Date: Thu, 26 Apr 2018 07:47:22 +0200 Subject: [PATCH] last update --- footer.php | 4 ++-- functions.php | 2 ++ single.php | 4 ++-- style.css | 3 +-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/footer.php b/footer.php index c09f1df..e1f1b0c 100755 --- a/footer.php +++ b/footer.php @@ -45,14 +45,14 @@ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { - var u="///piwik/"; + var u="///piwik/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', 1]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); - + diff --git a/functions.php b/functions.php index e4627ed..f4a4935 100644 --- a/functions.php +++ b/functions.php @@ -735,6 +735,8 @@ function zenphoto_handler($atts, $content=null) { */ $filename = $_SERVER["DOCUMENT_ROOT"] . '/zenphoto/' . 'cache/' . $album . '/' . urlencode($img) . '_' . $size . '_watermark.jpg'; + echo $filename; + $zp_size = getimagesize(htmlentities($filename)); $zenphoto_img = (($caption != "") ? '
' : ''); diff --git a/single.php b/single.php index 99c42be..014bdfa 100755 --- a/single.php +++ b/single.php @@ -55,7 +55,7 @@ echo "---------------\n". 0) ? "block" : "none") . ';">
'; - var_dump($coord); + //var_dump($coord); if (count($coord) > 0) { @@ -93,7 +93,7 @@ echo "---------------\n". } //echo "coord après requete Wikipedia"; - //var_dump($coord); + var_dump($coord); ?> diff --git a/style.css b/style.css index 9977471..e4be5ee 100644 --- a/style.css +++ b/style.css @@ -143,8 +143,7 @@ input.search-field { border: 1px solid #ccc; } - -#archive { +#archive { margin: 0 0 80px; }