6 Commits

Author SHA1 Message Date
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Yuliya Bozhko
369484bf87 MDL-47033 general: Fix incorrect use of 'course' layout
It should use 'incourse' layout in most cases

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-09-05 09:25:43 +12:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Petr Skoda
8be3250285 MDL-24321 switching to stdClass in /files/ 2010-09-21 08:15:38 +00:00
Dongsheng Cai
2251110619 MDL-23308, added navigation node to course files management page 2010-09-10 03:38:18 +00:00
Dongsheng Cai
e921afa874 "MDL-23308, bring course files back" 2010-08-30 08:22:14 +00:00