From 52c15ae1c6d1855dd0269c374436b9749c69f95d Mon Sep 17 00:00:00 2001 From: William Date: Sat, 9 Oct 2021 22:01:18 +0200 Subject: [PATCH] Move some stuff around. Idk --- app/common.php | 2 ++ template/templateParameters.php => app/template.php | 4 +--- example.php | 9 +++++---- index.php | 6 ++++-- login.php | 6 +++--- template/_footer.php | 2 +- template/_header.php | 2 +- 7 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 app/common.php rename template/templateParameters.php => app/template.php (95%) diff --git a/app/common.php b/app/common.php new file mode 100644 index 0000000..ee5d644 --- /dev/null +++ b/app/common.php @@ -0,0 +1,2 @@ + "Document", // Set page title @@ -19,4 +17,4 @@ if (empty($templateUrlPrefix)) { if ((strlen($templateUrlPrefix) > 1)) { $templateUrlPrefix = htmlspecialchars($templateUrlPrefix . DIRECTORY_SEPARATOR); } -} \ No newline at end of file +} diff --git a/example.php b/example.php index 6d199ad..6c6c2cd 100644 --- a/example.php +++ b/example.php @@ -1,18 +1,19 @@ -

Eksempel side.

+

Eksempel side

Dette er en eksempel side

\ No newline at end of file diff --git a/index.php b/index.php index 0414c3b..57202ad 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,9 @@

Om stafett for livet

@@ -10,5 +12,5 @@ include_once("template/_header.php"); \ No newline at end of file diff --git a/login.php b/login.php index 52e6a44..a156442 100644 --- a/login.php +++ b/login.php @@ -1,5 +1,5 @@

Logg inn

\ No newline at end of file diff --git a/template/_footer.php b/template/_footer.php index f9799b2..a51eaa6 100644 --- a/template/_footer.php +++ b/template/_footer.php @@ -1,5 +1,5 @@