[svn r12813] Before display the categories, we check if the parameter display_categories_on_homepage = true

http://projects.dokeos.com/?do=details&id=1772
skala
Julian Prud'homme 18 years ago
parent 9e142ed49c
commit d20c4ea8f3
  1. 4
      index.php

@ -20,7 +20,7 @@
/** /**
* @package dokeos.main * @package dokeos.main
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University, Refactoring * @author Patrick Cool <patrick.cool@UGent.be>, 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 the different @todos in this page and really do them
* @todo check if the news management works as expected * @todo check if the news management works as expected
*/ */
@ -221,7 +221,7 @@ SystemAnnouncementManager :: display_announcements(VISIBLE_GUEST, $announcement)
if (!$page_included) if (!$page_included)
{ {
if (api_get_setting('display_courses_to_anonymous_users') == 'true') if (api_get_setting('display_categories_on_homepage') == 'true')
{ {
echo '<div class="home_cats">'; echo '<div class="home_cats">';
display_anonymous_course_list(); display_anonymous_course_list();

Loading…
Cancel
Save