skodak
695e03f00a
Adding of calendar events broken MDL-7297; merged from MOODLE_17_STABLE
2006-10-30 22:33:45 +00:00
skodak
28ee98c530
fixed moodle/calendar:manageentries capability in calendar; merged from MOODLE_17_STABLE
2006-10-23 22:28:52 +00:00
thepurpleblob
eb4cb4c51e
Focus is now loaded into Name edit field
2006-10-19 13:06:06 +00:00
toyomoyo
89491dbd2a
merged fix for MDL-6882
2006-10-11 05:24:33 +00:00
gustav_delius
0839ef65d5
Removed a PHP notice
2006-09-17 17:43:30 +00:00
toyomoyo
1c45e42e3c
adding capabilities
2006-09-11 08:56:23 +00:00
toyomoyo
cc398c7262
adding caapabilities
2006-09-04 08:45:08 +00:00
skodak
639835274c
workaround by Dan for bug #6130 , fixed some warnings; merged from MOODLE_16_STABLE
2006-07-17 07:31:22 +00:00
skodak
f262874bbe
Bug #5909 - Fix use of user_group() because it returns arrays now - part 1; merged from MOODLE_16_STABLE
2006-07-03 21:11:17 +00:00
skodak
a536138d02
changed cleaning of entry title, now matches handling of forum post titles; merged from MOODLE_16_STABLE
2006-05-15 15:05:28 +00:00
defacer
3ce130eac5
When creating/editing events, it seems that the current/existing timestart
...
is not pre-filled in the forms. This is a regression, no idea how and when
it happened. Investigating...
First of all let's get rid of this "HACK! Don't use!" function...
2006-01-15 01:44:08 +00:00
defacer
c5a4a13a24
Fix for bug 4203:
...
When adding recurring events, if the event title contained an apostrophe
then only the first event of the series would get created. Tricky bad
interaction with add_to_log, the reporter for this should get a prize. ;-)
2005-10-24 17:13:57 +00:00
defacer
44525c6591
Repeat events are now created correctly even if the DST change boundary
...
is crossed between repeats.
2005-08-23 20:06:08 +00:00
defacer
c0e170b2a7
My first commit since I don't remember when. Yay!
...
Bugfix:
Site events were being created for $course->id = 1 even when SITEID != 1.
2005-08-23 02:45:45 +00:00
defacer
73ee7658df
Allow <span> as well as <lang> in event titles; clean appropriately.
2005-07-08 03:20:54 +00:00
thepurpleblob
7f4d18fc7c
Replaced require_variable() and optional_variable() with required_param()
...
and optional_param(). Other tweaks to suit.
2005-06-15 14:58:17 +00:00
defacer
3525d91b46
Merging from STABLE:
...
Fix for bug 3364:
The Great Global $course Hack strikes again. I had to put in another instance
of the hack for course themes to work in the "calendar" part of the course.
Hopefully some day we 'll do all that "correctly"! (search for "hack" in
weblib and despair).
2005-05-30 13:35:36 +00:00
defacer
5a74ffd344
Merging from STABLE:
...
More correct handling of group events, we cannot simply omit them because
the course has "no groups" UNLESS groupmodeforce == 1 as well.
Sadly, this severely weakens the performace optimizations :(
See bug 3303 for an example of what the problem was before.
2005-05-30 12:44:30 +00:00
defacer
3c47bfc752
The bug 2822 saga concludes.
...
This fix is visually appealing and consistent across all browsers.
IE I love you.
2005-05-17 17:00:20 +00:00
defacer
98cd789a4e
Editing repeating events in one go works as well. Enjoy!
2005-04-21 14:33:30 +00:00
defacer
e6fbb4d11a
You can now delete a repeating event series all at once.
2005-04-21 14:03:22 +00:00
defacer
8f71c6b20b
Fixing PHP 5 warning.
2005-04-21 13:44:50 +00:00
defacer
d3e27ac439
Adding repeatid to newly created repeat events.
2005-04-21 13:43:07 +00:00
defacer
bc5f95a433
Fixing a typo.
2005-04-20 21:09:26 +00:00
defacer
4eb1a1df3f
As per bug 2578:
...
Creating course and group events now requires the same privileges as posting
in a forum. For course events (including site course, i.e. site events), any
teacher can create one.
For group events, the teacher must either have editing rights in the course
or be a member of the group the event is for.
2005-04-20 21:07:55 +00:00
defacer
b53f385b2c
More cleanups, some useless code thrown out and simplified.
2005-04-12 00:12:05 +00:00
defacer
39f899cd1c
More required_param and optional_param goodness.
2005-04-12 00:05:06 +00:00
defacer
3b723f3b1d
Simplify the code, use optional_param, fixed one more instance of literal 1 = SITEID
2005-04-11 23:54:20 +00:00
stronk7
c767c146e2
Avoid some double-slashes sent to DB. It was breaking the multilang
...
filter in event logs.
2005-03-27 22:16:05 +00:00
stronk7
fb73f3b3b2
Now event->name supports multilang under filterall completely.
2005-03-27 16:41:04 +00:00
moodler
df349d1dda
Fixed up some styles (mostly headers)
2005-03-18 14:45:13 +00:00
moodler
84854c09c6
Removed some classes from being added explicitly
2005-02-25 06:20:19 +00:00
defacer
bb8392589b
Fix for bug 2578:
...
Editing teachers for the site can now add global events.
This was previously limited to admins only.
2005-02-18 01:37:56 +00:00
defacer
3a5d4d8525
There were other magic numbers that needed changing as well.
...
There's also a bug in there with DST and repeating events. No easy way
to fix it right now, but I documented it to squash later.
2005-02-17 15:06:01 +00:00
defacer
60979d31cd
Magic number 1 => SITEID
2005-02-17 14:59:53 +00:00
defacer
3c1348758d
Fixed styles and improved lots of things in calendar. It should work all
...
right and even be a bit cooler than it was before. :)
2005-02-11 15:52:59 +00:00
defacer
deaa884234
Full XHTML 1.0 compliance. I hope I didn't miss anything.
2004-09-09 10:41:23 +00:00
defacer
09d36284d1
Importing fixes from MOODLE_14_STABLE
2004-08-26 10:52:00 +00:00
defacer
76416b4bac
Small fix: removed one notice
2004-06-17 08:21:09 +00:00
moodler
fc6a0c9fff
Re-fixed bug 1488 hack
2004-06-04 07:21:15 +00:00
moodler
7613890851
BRANCH MERGE
...
These are the changes from MOODLE_13_STABLE, merged into trunk
The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point
The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
defacer
08cebf196e
Fix all requires() to use absolute paths (Sun boxes have problems with relative
...
paths, it seems). Also, login is required to view the calendar of any course
other than the site.
2004-06-02 08:13:26 +00:00
defacer
89adb17442
Merging the changes from 1.4 dev branch (site index blocks + various bugfixes)
2004-05-28 10:53:54 +00:00
defacer
0d5d9de2ba
Fixed a bug just introduced before in the event type selection screen.
2004-05-24 12:23:08 +00:00
defacer
eb15f829b6
The filters are back with a vengeance in event.php! Coupled with the breadcrumb
...
course mirroring, everything works like a charm now! :-)
2004-05-24 12:12:41 +00:00
defacer
fbb56b9db7
Fixed a bug where editing an event did display the "duration in minutes"
...
stuff, but totally ignored it when submitting changes. Also, fixed one
warning in the "minutes" field.
2004-05-24 10:49:01 +00:00
defacer
40448bc24d
Removed some notices with uninitialized variables when adding a new event.
2004-05-24 09:52:57 +00:00
moodler
27a353e6f9
Prevent blank entries
2004-05-22 05:13:08 +00:00
defacer
b1bcd540f0
Fix for bug 1323:
...
When the admin is logged in as a different user, user events are shown
correctly in the calendar.
Also, fixed a very-recently-introduced bug which appears to have escaped
notice so far.
2004-05-17 09:07:05 +00:00
defacer
b1295c5e21
Random refinements.
2004-05-17 08:54:23 +00:00