diff --git a/config/global.ini b/config/global.ini index 7755842a..5322d227 100755 --- a/config/global.ini +++ b/config/global.ini @@ -10,6 +10,7 @@ databaseHost = "127.0.0.1" [main] pageTitle = "Club Réseaux - E59" +pageName = "E59" headerTitle = "E59" headerSubtitle = "Club Réseaux" footerText = "© Jan BELLON - E59 v1.4" diff --git a/html/about/index.php b/html/about/index.php index 193838aa..fd854d40 100755 --- a/html/about/index.php +++ b/html/about/index.php @@ -11,7 +11,7 @@ $pdo = sqlConnect($sqlDatabaseHost, $sqlDatabaseName, $sqlDatabaseUser, $sqlData
- + diff --git a/html/login/index.php b/html/login/index.php index 398af092..b7dce694 100755 --- a/html/login/index.php +++ b/html/login/index.php @@ -57,7 +57,7 @@ if (isset($_POST['username']) && isset($_POST['password'])) { - + diff --git a/html/login/register.php b/html/login/register.php index 55aa8a71..a191ee5a 100755 --- a/html/login/register.php +++ b/html/login/register.php @@ -66,7 +66,7 @@ if (isset($_POST['username']) && isset($_POST['password1']) && isset($_POST['pas - + diff --git a/html/news/index.php b/html/news/index.php index cebc4b1d..4ba0a3a1 100755 --- a/html/news/index.php +++ b/html/news/index.php @@ -58,10 +58,6 @@ if (isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT) ' . $articleTitle . ''); - echo (''); - echo (''); - echo (''); echo (''); @@ -90,23 +86,9 @@ if (isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT) echo (''); echo (''); echo (''); - - echo (''); - echo (''); - - echo (''); + fillHead($rootPageURL, $articleTitle, $darkTheme, $lightTheme); } else { - fillHead($rootPageURL, $pageTitle, $darkTheme, $lightTheme); + fillHead($rootPageURL, "Actualités - " . $pageName, $darkTheme, $lightTheme); } ?>