瀏覽代碼

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

Yannick Warnier 12 年之前
父節點
當前提交
a44edfbee5
共有 1 個文件被更改,包括 4 次插入0 次删除
  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 />';