From 2e9c619615c73824d726984c494901efea7fff88 Mon Sep 17 00:00:00 2001 From: Florian Larysch Date: Wed, 2 Sep 2015 16:01:42 +0200 Subject: rename "not started yet"-page to fit conventions --- index.php | 2 +- template/not-started.phtml | 3 +++ template/not_started.phtml | 3 --- view/not-started.php | 5 +++++ view/not_started.php | 5 ----- 5 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 template/not-started.phtml delete mode 100644 template/not_started.phtml create mode 100644 view/not-started.php delete mode 100644 view/not_started.php diff --git a/index.php b/index.php index bcdaf57..e766f54 100644 --- a/index.php +++ b/index.php @@ -67,7 +67,7 @@ try { else if(!$conference->hasBegun()) { - require('view/not_started.php'); + require('view/not-started.php'); } else if($conference->hasEnded()) diff --git a/template/not-started.phtml b/template/not-started.phtml new file mode 100644 index 0000000..a434f02 --- /dev/null +++ b/template/not-started.phtml @@ -0,0 +1,3 @@ +
+

getTitle())?> has not started yet!

+
diff --git a/template/not_started.phtml b/template/not_started.phtml deleted file mode 100644 index a434f02..0000000 --- a/template/not_started.phtml +++ /dev/null @@ -1,3 +0,0 @@ -
-

getTitle())?> has not started yet!

-
diff --git a/view/not-started.php b/view/not-started.php new file mode 100644 index 0000000..c132a76 --- /dev/null +++ b/view/not-started.php @@ -0,0 +1,5 @@ +render(array( + 'page' => 'not-started', + 'title' => 'See you soon!', +)); diff --git a/view/not_started.php b/view/not_started.php deleted file mode 100644 index ce4767c..0000000 --- a/view/not_started.php +++ /dev/null @@ -1,5 +0,0 @@ -render(array( - 'page' => 'not_started', - 'title' => 'See you soon!', -)); -- cgit v1.2.3