Commit Graph

26 Commits

Author SHA1 Message Date
moodler a6f39157c6 Merged unenrol fixes from stable MDL-6964 MDL-7123 2006-10-23 03:12:37 +00:00
moodler 8d73640e7f Unenrol fixed to support other users too and better workflow 2006-09-28 08:55:04 +00:00
moodler 8cb5bc2b26 People under switched roles should not be able to unenrol 2006-09-21 16:11:31 +00:00
tjhunt 43e3febb23 Delete what I assume is a bogus line. 2006-09-13 13:25:00 +00:00
moodler 761a15574c Fixed up this script so that self-unenrolment works as expected 2006-09-13 06:41:58 +00:00
skodak f2a365b976 general cleanup of xxx_parameter() functions 2006-04-12 16:59:51 +00:00
patrickslee 9edf8e04e5 More restrictions on enrol/unenrol of meta courses. Thanks to Bug #4057
Merged from MOODLE_15_STABLE
2005-11-15 21:55:13 +00:00
thepurpleblob 59518de11e require_variable() and optional_variable() replaced with required_param() &
optinal_param() plus other tweeks to suit. Improve security.
2005-06-15 09:39:26 +00:00
gustav_delius cd8d4471c8 Print course in footer 2005-03-17 15:12:07 +00:00
stronk7 967cd1164b course/unenrol.php is using sesskey.
Merged from MOODLE_14_STABLE
2004-10-09 19:08:01 +00:00
gustav_delius 839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius 24f2b65a4d towards XHTML compliance 2004-09-12 12:21:27 +00:00
gustav_delius f7f2ff6dba Only editing teachers are allowed to unenrol students 2004-05-30 20:54:58 +00:00
moodler d7e1bae056 Use fullname function to display names 2003-11-28 10:41:06 +00:00
moodler 5204d8316a A new configuration parameter 'allowunenroll' will enable/disable the
"unenrol me" buttons on user pages and course pages.
2003-10-12 18:03:50 +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 7a361c8b55 Removed save_session() - no longer needed. 2003-02-27 02:46:37 +00:00
moodler b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
martin 45aa6d563c Fixes to unenrolling students, and unenrol_student() and remove_teacher()
now remove forum_subscriptions correctly
2002-09-22 14:33:21 +00:00
martin d578afc883 Major cleanup of user administration and display, including sortable listings,
confirmation on deletions, removing deleted user from all student lists,
teacher lists and subscription lists and freeing up their username and
email to be used again.
2002-09-22 14:06:38 +00:00
martin 97c270e9a8 Changes related to language support ... get_string()
Minor little interface cleanups along the way
2002-08-11 15:41:54 +00:00
martin 8223d27193 Widespread changes throughout Moodle to make sure it works on
servers that have register_globals turned off (this is the
default setting on newer version of PHP).

In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables.  Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.

So, for every request I now make a copy of these two session variables
into $USER and $SESSION.  Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable.  This seems to be working well now.

Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
2002-08-06 17:23:45 +00:00
martin f93f848ab3 Mass change related to separating forum from discuss and making it a
separate module (again).  This frees up forums for some interesting
developments.  Note that database tables have moved around.
2002-06-20 15:15:22 +00:00
martin 7dc1ea300a Modifications to unenrol. Now a teacher can unenrol students from the course. 2002-06-19 15:42:49 +00:00
martin 20695824e5 Remember to remove subscriptions when unenrolling. 2002-06-05 16:39:45 +00:00
martin e13607280e Cleaned up enrol and unenrol process a bit 2002-06-04 06:30:51 +00:00