diff options
author | MaZderMind | 2015-03-07 17:58:07 +0100 |
---|---|---|
committer | MaZderMind | 2015-03-14 13:46:47 +0100 |
commit | 844a7d53f2d78bafba479c0d931277246ade61de (patch) | |
tree | 7a9ab7e3ddcafa878f89deecc03c6de742fa2efa /pages | |
parent | 8bb9b119a34717782e41124030917bd86d47f754 (diff) |
Renames pages -> view
Diffstat (limited to '')
-rw-r--r-- | view/404.php (renamed from pages/404.php) | 2 | ||||
-rw-r--r-- | view/about.php (renamed from pages/about.php) | 2 | ||||
-rw-r--r-- | view/feedback.php (renamed from pages/feedback.php) | 2 | ||||
-rw-r--r-- | view/overview.php (renamed from pages/overview.php) | 2 | ||||
-rw-r--r-- | view/party.php (renamed from pages/party.php) | 2 | ||||
-rw-r--r-- | view/program-json.php (renamed from pages/program-json.php) | 2 | ||||
-rw-r--r-- | view/relive-player.php (renamed from pages/relive-player.php) | 2 | ||||
-rw-r--r-- | view/relive.php (renamed from pages/relive.php) | 2 | ||||
-rw-r--r-- | view/room.php (renamed from pages/room.php) | 3 |
9 files changed, 0 insertions, 19 deletions
diff --git a/pages/404.php b/view/404.php index 0e84e5f..1811239 100644 --- a/pages/404.php +++ b/view/404.php @@ -1,7 +1,5 @@ <?php -require_once('lib/bootstrap.php'); - header("HTTP/1.1 404 Not Found"); echo $tpl->render(array( 'page' => '404', diff --git a/pages/about.php b/view/about.php index 9586e73..cc81064 100644 --- a/pages/about.php +++ b/view/about.php @@ -1,7 +1,5 @@ <?php -require_once('lib/bootstrap.php'); - echo $tpl->render(array( 'page' => 'about', 'title' => 'About the Streams', diff --git a/pages/feedback.php b/view/feedback.php index 8b87b01..7417f24 100644 --- a/pages/feedback.php +++ b/view/feedback.php @@ -1,7 +1,5 @@ <?php -require_once('lib/bootstrap.php'); - if( !isset($_POST['datetime']) || !isset($_POST['net']) || diff --git a/pages/overview.php b/view/overview.php index 0b4434d..6305940 100644 --- a/pages/overview.php +++ b/view/overview.php @@ -1,7 +1,5 @@ <?php -require_once('lib/bootstrap.php'); - echo $tpl->render(array( 'page' => 'overview', 'title' => 'Live-Streams', diff --git a/pages/party.php b/view/party.php index a095df3..322cea6 100644 --- a/pages/party.php +++ b/view/party.php @@ -1,7 +1,5 @@ <?php -require_once('lib/bootstrap.php'); - $room = $_GET['room']; echo $tpl->render(array( 'page' => 'party', diff --git a/pages/program-json.php b/view/program-json.php index 2b5e38b..4cce716 100644 --- a/pages/program-json.php +++ b/view/program-json.php @@ -1,6 +1,4 @@ <?php -require_once('lib/bootstrap.php'); - header('Content-Type: application/json'); echo json_encode(program()); diff --git a/pages/relive-player.php b/view/relive-player.php index 84fc866..1517b92 100644 --- a/pages/relive-player.php +++ b/view/relive-player.php @@ -1,7 +1,5 @@ <?php -require_once('lib/bootstrap.php'); - $talks_by_id = relive_talks(); $talk = @$talks_by_id[intval($_GET['id'])]; diff --git a/pages/relive.php b/view/relive.php index 33e0d5a..0608423 100644 --- a/pages/relive.php +++ b/view/relive.php @@ -1,7 +1,5 @@ <?php -require_once('lib/bootstrap.php'); - echo $tpl->render(array( 'page' => 'relive', 'title' => 'Relive!', diff --git a/pages/room.php b/view/room.php index 77f4fdf..4484a14 100644 --- a/pages/room.php +++ b/view/room.php @@ -1,8 +1,5 @@ <?php -require_once('lib/bootstrap.php'); - - $room = $_GET['room']; $language = $_GET['language']; $selection = $_GET['selection']; |