From a105f971c2d33246a5bf8a9b88da0c4793d89e5c Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Sat, 2 Aug 2008 21:58:00 +0200 Subject: [PATCH] Added the FAQ view. --- src/IDF/Views.php | 14 ++++++++++++++ src/IDF/templates/faq.html | 22 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/IDF/templates/faq.html diff --git a/src/IDF/Views.php b/src/IDF/Views.php index ab50a8a..6759905 100644 --- a/src/IDF/Views.php +++ b/src/IDF/Views.php @@ -163,4 +163,18 @@ class IDF_Views 'form' => $form), $request); } + + /** + * FAQ. + */ + public function faq($request, $match) + { + $title = __('Here to Help You!'); + return Pluf_Shortcuts_RenderToResponse('faq.html', + array( + 'page_title' => $title, + ), + $request); + + } } \ No newline at end of file diff --git a/src/IDF/templates/faq.html b/src/IDF/templates/faq.html new file mode 100644 index 0000000..2601dc3 --- /dev/null +++ b/src/IDF/templates/faq.html @@ -0,0 +1,22 @@ +{extends "base-simple.html"} +{block docclass}yui-t1{/block} +{block body} + + +

What are the keyboard shortcuts?

+ +

If you are in a project, you have the following shortcuts:

+ + + +{/block} +{block context} +

{trans 'Here we are, just to help you.'}

+{/block}