Browse Source

Minor - Added comments for more than 4 levels of categories, to give closure to refs #5850

Yannick Warnier 12 years ago
parent
commit
a44edfbee5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      main/template/default/auth/courses_categories.php

+ 4 - 0
main/template/default/auth/courses_categories.php

@@ -54,6 +54,10 @@ $stok = Security::get_token();
                 $hidden_links = 1;
             }
 
+            /* Categories will only show down to 4 levels, if you want more,
+             * you will have to patch the following code. We don't recommend
+             * it, as this can considerably slow down your system
+             */
             if (!empty($browse_course_categories)) {
                 echo '<a class="btn" href="'.api_get_self().'?action=display_random_courses">'.get_lang('RandomPick').'</a><br /><br />';