From 1b57b9b6915800d8e9630a612effc00198e78d8d Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 7 Oct 2013 20:45:09 +0200 Subject: [PATCH] Added missing files --- src/Views/index-help.phtml | 6 ++++++ src/Views/layout-file.phtml | 12 ++++++++++++ src/Views/post-view.phtml | 5 +++++ 3 files changed, 23 insertions(+) create mode 100644 src/Views/index-help.phtml create mode 100644 src/Views/layout-file.phtml create mode 100644 src/Views/post-view.phtml diff --git a/src/Views/index-help.phtml b/src/Views/index-help.phtml new file mode 100644 index 00000000..0735983c --- /dev/null +++ b/src/Views/index-help.phtml @@ -0,0 +1,6 @@ +

Todo: help. Examples what should be written here:

+ diff --git a/src/Views/layout-file.phtml b/src/Views/layout-file.phtml new file mode 100644 index 00000000..4a89de1d --- /dev/null +++ b/src/Views/layout-file.phtml @@ -0,0 +1,12 @@ +context->transport->errorMessage)) +{ + \Chibi\HeadersHelper::set('Content-Type', 'text/plain; charset=utf-8'); + echo $this->context->transport->errorMessage; +} +else +{ + \Chibi\HeadersHelper::set('Content-Type', $this->context->transport->mimeType); + readfile($this->context->transport->filePath); + flush(); +} diff --git a/src/Views/post-view.phtml b/src/Views/post-view.phtml new file mode 100644 index 00000000..7c5b750d --- /dev/null +++ b/src/Views/post-view.phtml @@ -0,0 +1,5 @@ +context->transport->errorMessage)): ?> +

context->transport->errorMessage ?>

+ + <?php echo $this->context->transport->post->name ?> +