From 21746f17dbd12499f794b1f2822b50e9e6c5d494 Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 23 Apr 2023 23:39:10 +0200 Subject: bouton partager --- view/album.php | 15 ++++++--------- view/articlesContent.php | 13 ++++++++++--- view/courriel.php | 2 +- view/discographie.php | 13 ++++++++++--- view/template-formulaires.php | 1 + 5 files changed, 28 insertions(+), 16 deletions(-) (limited to 'view') diff --git a/view/album.php b/view/album.php index e2989dc..f0fd807 100644 --- a/view/album.php +++ b/view/album.php @@ -88,23 +88,20 @@ else // modifier ouvre l'éditeur, supprimer renvoie vers la discographie if($_SESSION['admin'] == 1 && (!isset($_GET['action']) || $_GET['action'] !== 'edition')) { + $lien_partage = 'index.php?page=' . $page . '&file_code=' . $fileCode; + global $host; ?>

+ + + - Retour à la discographie -

- -

- Retour à la discographie +

- - Nouvel article - +

fileListCount; $i++) // bouton if($_SESSION['admin'] == 1) { + $lien_partage = 'index.php?page=' . $page . '#' . $Articles->fileList[$i]['fileCode']; + global $host; ?>

+ + + diff --git a/view/courriel.php b/view/courriel.php index 7dd7ba4..8934461 100644 --- a/view/courriel.php +++ b/view/courriel.php @@ -6,6 +6,6 @@

- +
\ No newline at end of file diff --git a/view/discographie.php b/view/discographie.php index 206a9b8..c5c9135 100644 --- a/view/discographie.php +++ b/view/discographie.php @@ -84,9 +84,11 @@ if($_SESSION['admin'] == 1)

- - Nouvel album - +

fileListCount; $i++) // boutons if($_SESSION['admin'] == 1) { + /*$lien_partage = 'index.php?page=' . $page . '#' . $Albums->fileList[$i]['fileCode']; + global $host;*/ ?>

+ diff --git a/view/template-formulaires.php b/view/template-formulaires.php index be51df6..e7c7470 100644 --- a/view/template-formulaires.php +++ b/view/template-formulaires.php @@ -56,6 +56,7 @@ if($page === 'discographie' || $page === 'album') +