From 9f935cd8107739105905d227af5307265b17f6f7 Mon Sep 17 00:00:00 2001 From: halworsen Date: Wed, 14 Feb 2018 17:55:41 +0100 Subject: [PATCH] Implode with
--- www/admin/aktiviteter/index.php | 2 +- www/admin/prosjekter/index.php | 2 +- www/aktiviteter/index.php | 2 +- www/index.php | 2 +- www/kurs/index.php | 2 +- www/prosjekt/mine.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/www/admin/aktiviteter/index.php b/www/admin/aktiviteter/index.php index 204a291..9b9c567 100644 --- a/www/admin/aktiviteter/index.php +++ b/www/admin/aktiviteter/index.php @@ -92,7 +92,7 @@ $events = array_values(array_filter(

getStart()->format("(Y-m-d H:i:s)") . " - " . $event->getStop()->format("(Y-m-d H:i:s)"); ?>

-

getDescription(), "

\n

"); ?>

+

getDescription(), "
"); ?>

diff --git a/www/admin/prosjekter/index.php b/www/admin/prosjekter/index.php index 62186b0..9d6f5fb 100644 --- a/www/admin/prosjekter/index.php +++ b/www/admin/prosjekter/index.php @@ -89,7 +89,7 @@ $projects = array_values(array_filter(

getName() . " (ID: " . $projectID . ")"; ?>

getOwner(); ?>

-

getDescription(), "

\n

"); ?>

+

getDescription(), "
"); ?>

diff --git a/www/aktiviteter/index.php b/www/aktiviteter/index.php index f14b83f..64eb82b 100644 --- a/www/aktiviteter/index.php +++ b/www/aktiviteter/index.php @@ -77,7 +77,7 @@ $day = (isset($_GET['day'])) getDescription(); ?> - \n

") ?> + ") ?>

4) {$limit = 4;} else $limit = 2; ?> diff --git a/www/index.php b/www/index.php index c7e5890..c6317cb 100644 --- a/www/index.php +++ b/www/index.php @@ -107,7 +107,7 @@ $motd = $motdfetcher->getMOTD(); } echo ""; - echo "

" . implode($motd["content"], "

\n

") . "

"; + echo "

" . implode($motd["content"], "
") . "

"; ?>
diff --git a/www/kurs/index.php b/www/kurs/index.php index 9fdf1e3..2877b76 100644 --- a/www/kurs/index.php +++ b/www/kurs/index.php @@ -43,7 +43,7 @@ $agenda = new \pvv\side\Agenda([ getDescription(); ?> - \n

") ?> + ") ?> 4) {$limit = 4;} else $limit = 2; ?> diff --git a/www/prosjekt/mine.php b/www/prosjekt/mine.php index a77d805..62231df 100644 --- a/www/prosjekt/mine.php +++ b/www/prosjekt/mine.php @@ -78,7 +78,7 @@ $projects = array_values(array_filter(

getID() . '">' . $project->getName() . ''; ?>

-

getDescription(), "

\n

"); ?>

+

getDescription(), "
"); ?>