Commit Graph

64 Commits

Author SHA1 Message Date
skodak 57f1b91497 fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135 2006-10-07 20:47:54 +00:00
moodler 9e27d59600 Documentation and strings for Default Role 2006-09-28 07:07:54 +00:00
toyomoyo 9ce384ba1e relacing deprecated functions with capability checks 2006-09-19 14:16:40 +00:00
toyomoyo 353a7269a2 removing word for teachers and students, please use proper role names instead 2006-09-18 04:57:34 +00:00
moodler 88af238ccb $CFG->defaultcourseroleid defines a site default for the role given to
people who enrol in the course.

$course->defaultrole defines the value for each course for what role
should be used in the same case.   Naturally it defaults to the site config
(when it is zero).

This role is retained even when the person editing the course settings
doesn't actually have that role in their list of assignable rights (however
they are prevented from actually switching to any such role themselves).

Note that enrol plugins are free to ignore these values and use whatever
roles they like.  Generally, though, they should respect these settings.
2006-09-17 09:22:33 +00:00
toyomoyo ec7a8b7999 adding capabilities 2006-09-07 08:57:56 +00:00
moodler 99cc88d159 Added a new string idnumber course to allow more customisation bug 4337 2006-04-13 08:44:20 +00:00
vyshane a1b85c9ba5 Added isset($course) test to get rid of notice 2006-04-05 07:41:12 +00:00
martinlanghoff 29f8533223 [multienrol]More changes to the internal->manual transition 2006-03-09 03:46:53 +00:00
martinlanghoff cd1d0ef61a [multienrol]Hide disabled plugins and show the name of the site default in selection list 2006-03-09 02:57:41 +00:00
martinlanghoff f9667a5aea [multienrol]Initial commit for multi enrolment plugin feature 2006-03-09 02:48:29 +00:00
patrickslee d7bd3f2991 Added contextual help for meta course (Merged from MOODLE_15_STABLE) 2005-11-10 20:44:47 +00:00
patrickslee f89033b111 New feature: Course enrollable control with date range 2005-10-04 01:59:19 +00:00
patrickslee f29e785b69 Default enrolment expiry notification to off 2005-10-02 21:41:31 +00:00
patrickslee 7246c2d142 New feature: Notify teachers/students of expirying enrolments 2005-10-02 21:37:54 +00:00
mjollnir_ 0705ff843b Course request feature. Allows normal users to 'request' courses they would like created,
and admins can approve or reject pending courses.

Also, contains the ability to restrict activity modules on a per course basic. Strict config options:
  enable restricting modules at ALL (for all courses, no courses, requested courses), what to do by default for newly created courses
  as well as what modules to enable for above category by default.

This feature was created for the aim of building a community side to moodle - for institutes that have strict courses and enrolments, allowing normal users to request interest courses is a good feature,
but some modules may be redundant (assignment, lesson, quiz etc)

  Please test!
2005-08-16 06:15:49 +00:00
moodler 3d2c41f4d3 Add currency to cost 2005-07-22 18:52:58 +00:00
moodler 1778f7f7c1 Added help icon for course costs 2005-05-04 07:01:22 +00:00
gustav_delius be495e2097 Only course creators can move courses to a different category. This fixes bug 2065. 2005-02-13 22:52:20 +00:00
moodler 32e2b30209 This more or less completes the PHP side of the 1.5 themes
Added $user->theme and $course->theme choices, controlled by admin
variables on the main config variables page.

By default this is all turned off, since multiple themes can be
a little disorienting.

A hidden feature is session themes ... you can change the theme
on any page by passing theme=xxxx as a parameter.  By default this
requires sesskey (so that people don't change theme on each other),
but this security can be switched off using a hidden variable
$CFG->allowthemechangeonurl = true;   Good for quick tests.
2005-02-10 10:28:27 +00:00
mjollnir_ 832e87dfd8 Fixing formatting problem (extraneous <p>) 2005-02-07 21:04:53 +00:00
mjollnir_ 5f37b628ae Update for meta courses. New table renamed from meta_course to course_meta (and upgrade script provided in mysql.php and postgres7.php) and new field in course table renamed from meta_course to metacourse. Associated changes in code. Please test me! 2005-01-25 04:33:02 +00:00
mjollnir_ b61efafba5 Initial checkin for new meta courses feature. Please test!
See http://moodle.org/mod/forum/discuss.php?d=17269 for description.
2005-01-24 22:21:28 +00:00
ikawhero 9a1eb4997f Changes for XHTML and accessibility compatibility 2004-12-09 08:01:25 +00:00
stronk7 38c8de9591 course/edit.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-08 18:13:05 +00:00
gustav_delius 24f2b65a4d towards XHTML compliance 2004-09-12 12:21:27 +00:00
moodler 18763fd41f Added a new course field called enrolperiod that allows a teacher to specify
an enrolment period for new students.
2004-07-29 14:47:05 +00:00
moodler 39fc10d79f FIxed some notices 2004-07-28 06:27:10 +00:00
moodler 77ecf329dc Extra field for cost 2004-07-06 16:01:07 +00:00
moodler 7f760716ce Course ID number 2004-06-24 11:50:33 +00:00
moodler 91ba8c9878 MOve hidden sections setting down a bit 2004-05-10 16:29:27 +00:00
gustav_delius 4bb0a732cc got rid of undefined variables warnings 2004-05-08 18:56:45 +00:00
moodler 464fd803fa Sorry, Eloy, my directions were wrong.
I've changed hiddentopics to hiddensections ...
2004-04-30 12:10:46 +00:00
defacer 9ac503147c Fix for bug #1280: the "showrecent" course setting has to go.
Updated script and editing page.
2004-04-29 10:28:58 +00:00
stronk7 eccc37c033 Now, in topics format, every course can decide about how to
display hidden topics (collapsed or invisible)
Now it can be set in every course and it's applicable in topics format
2004-04-27 16:36:01 +00:00
moodler 2639d3d310 Allow the teacher to force a language if they want to 2004-02-10 07:17:09 +00:00
gustav_delius 2e39d2f810 minor fixes, including bugs 997, 998 2004-01-25 19:37:04 +00:00
moodler f374fb1006 This is the first check-in of support for groups.
It's very early (it doesn't actually do anything yet!) but you can
define groups and get an idea of how the interface is shaping up.
I also wanted to show that I have actually done something on this! :-)

From here my plan is to add group support to the modules, one by one
(forums first), then go back and clean up some of the central interfaces,
graphics etc.

Finally, test, test, test and get 1.2 out well before the end of February.
2003-12-30 17:18:06 +00:00
moodler 3f125001bc New feature: Allow students to see their own activity reports.
This is a course setting.  By default it is off.  When on, there
is a new link in the course admin menu for students, and they can
browse the same report that teachers see.

The report icon is temporary.
2003-10-31 05:57:30 +00:00
moodler 4909e17632 These changes implement some better controls for controlling uploads.
1) There is a new site-wide configuration variable called maxbytes,
   which provides an upper filesize limit for all (student) uploads.

2) There is a new course-level variable called maxbytes, which further
   limits uploads within a course.

3) There is a new maxbytes field for forums, which further restricts
   the size allowed in a particular forum.  There is also a new config
   variable in the module configuration to specify a default size
   to use when defining a new forum.

4) Assignments already had a limit, but this is now aware of the other
   limits, and like forums there is now a settable default value.

5) Finally, the sizes of files (Gb, Mb, Kb, bytes) is now translatable
   in the language packs.
2003-10-06 18:02:35 +00:00
moodler 6b77de531b More short tags not found by the script :-( :-( 2003-09-11 12:43:24 +00:00
moodler 76eac7a58d FIxed some short PHP tags 2003-09-09 08:38:24 +00:00
moodler fff79722e5 A new course field called "showgrades" which allows the teacher to
turn the display of the grade book on and off.
2003-08-20 07:32:24 +00:00
moodler d2b6ba704e Another big checkin.
This includes some significant cleanups to the new course categories
system.  The basic idea is that the categories/course browser is now
unified under one system, and admin features related to that have
all been moved into the browser (as little icons).

I'm much happier with this as a foundation that can scale and be
built upon.

Still to go:

  - searching
  - paging
  - polishing

Also in here are a lot of little cleanups around the place, such as
the initial setup process.
2003-08-07 16:01:31 +00:00
moodler f853105459 Missing parameter 2003-07-30 13:35:20 +00:00
moodler c2cb45451f COURSE DISPLAY REVAMP
OK, some big changes here to the front end, particularly in
course categories and course display.

Course categories can now be nested (to any level).

Courses and course categories can now be manually sorted
any way required.

There is a groovy front end for managing these, and a better
range of options for formatting the front page.

It all still needs some polishing, which I'll be doing over
the next couple of days, including better auto-sorting.

I would not use this on production systems just yet.
2003-07-30 13:02:45 +00:00
moodler a6d82c3f49 New course parameter "visible" which makes the course available to
students.  Defaults to 1 (on).  Teacher can control this from settings page.
2003-07-21 07:31:01 +00:00
moodler 7226ce02b1 Robustness for $course variable 2003-04-17 13:20:26 +00:00
paca70 5e776a02ad To check string sizes 2003-04-11 12:05:21 +00:00
moodler 149f85f035 Robustness fixes 2002-12-30 06:07:03 +00:00