Commit Graph

18 Commits

Author SHA1 Message Date
Sara Arjona 88cb8b781d MDL-61601 cohort: Add theme support for cohorts
If enabled $CFG->allowcohortthemes, then themes can be set at the cohort level.
This will affect all users with only one cohort or more than one but with the same theme.
The default theme order will be: course, category, session, user, cohort, site.
2018-04-06 08:28:01 +02:00
Marina Glancy 80f98467f8 MDL-36014 cohorts: Allow teachers to view cohorts
Added property 'visible' for cohorts. Unsetting it hides the cohort from users in the course.

AMOS BEGIN
 CPY [visible,core_moodle],[visible,core_cohort]
AMOS END
2014-10-03 18:26:34 +08:00
Marina Glancy 274dc06881 MDL-34189 cohorts: Allow admin/manager to see all cohorts on one page 2014-07-28 15:02:27 +08:00
Marina Glancy 4e0b6025ad MDL-38147 deprecated make_categories_list(), change usage to coursecat 2013-03-25 13:20:46 +11:00
Petr Škoda 6eb8bf7f3a MDL-35465 improve cohorts coding style 2012-09-16 21:38:28 +02:00
Ankit Agarwal d197ea4300 MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
Dan Poltawski abdf2b675b MDL-34462 cohort: remove uncessary MUST_EXIST params
(its now the default)
2012-07-24 15:23:07 +08:00
Frederic Massart 6ca657a772 MDL-34462 Librairies: Replaced deprecated get_context_instance() 2012-07-23 16:22:36 +08:00
Rajesh Taneja 071e68f93e MDL-32945 libraries: Replaced deprecated PARAM_MULTILANG with PARAM_TEXT 2012-07-19 15:44:40 +08:00
Petr Škoda 81f3d7a76c MDL-34045 fix invalid idnumber field type in cohort form 2012-06-30 07:50:38 +02:00
Petr Skoda 3c8d3d4df2 MDL-31691 treat cohort idnumbers as plain text 2012-05-06 21:37:57 +02:00
Petr Skoda 707f4136c1 fixed phpdocs package and improved author link 2010-09-17 11:51:49 +00:00
Petr Skoda edaf7ff3e2 spelling typo 2010-09-17 11:50:06 +00:00
Petr Skoda 0defeb1671 MDL-21781 fixed idnumber validation - thanks David for spotting the problem 2010-05-31 15:05:47 +00:00
Martin Dougiamas bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Petr Skoda 9e1065a812 MDL-21781 cohorts may be moved to different course categories/system context 2010-04-23 09:13:49 +00:00
Petr Skoda a379029c54 MDL-21781 cohort id duplicates detection 2010-04-23 09:10:05 +00:00
Petr Skoda b980c56e2e MDL-21781 very basic cohorts UI 2010-04-23 09:07:51 +00:00