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 ?> +