From 740979a4cbb9841f0c4c27db5dce6b9f80eef173 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Mon, 11 Aug 2008 20:10:33 +0200 Subject: [PATCH] Fixed issue 19, help disconnected from the project. Use the tip from zero heure. https://linuxfr.org/~erlen/27028.html --- src/IDF/Views.php | 2 ++ src/IDF/templates/faq.html | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/IDF/Views.php b/src/IDF/Views.php index 6759905..de89a5e 100644 --- a/src/IDF/Views.php +++ b/src/IDF/Views.php @@ -170,9 +170,11 @@ class IDF_Views public function faq($request, $match) { $title = __('Here to Help You!'); + $projects = Pluf::factory('IDF_Project')->getList(); return Pluf_Shortcuts_RenderToResponse('faq.html', array( 'page_title' => $title, + 'projects' => $projects, ), $request); diff --git a/src/IDF/templates/faq.html b/src/IDF/templates/faq.html index b51675c..e302d24 100644 --- a/src/IDF/templates/faq.html +++ b/src/IDF/templates/faq.html @@ -1,5 +1,5 @@ {extends "base-simple.html"} -{block docclass}yui-t1{/block} +{block docclass}yui-t3{/block} {block body}