From d20c4ea8f3990d8849f9fb693f56e83c86797a17 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Tue, 31 Jul 2007 10:16:06 +0200 Subject: [PATCH] [svn r12813] Before display the categories, we check if the parameter display_categories_on_homepage = true http://projects.dokeos.com/?do=details&id=1772 --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 6e12ce10c6..09fa116478 100644 --- a/index.php +++ b/index.php @@ -20,7 +20,7 @@ /** * @package dokeos.main * @author Patrick Cool , Ghent University, Refactoring -* @version $Id: index.php 12758 2007-07-19 05:27:21Z yannoo $ +* @version $Id: index.php 12813 2007-07-31 08:16:06Z elixir_julian $ * @todo check the different @todos in this page and really do them * @todo check if the news management works as expected */ @@ -221,7 +221,7 @@ SystemAnnouncementManager :: display_announcements(VISIBLE_GUEST, $announcement) if (!$page_included) { - if (api_get_setting('display_courses_to_anonymous_users') == 'true') + if (api_get_setting('display_categories_on_homepage') == 'true') { echo '
'; display_anonymous_course_list();