780 Commits

Author SHA1 Message Date
gustav_delius
dcd338ffdc Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden. 2004-05-05 07:07:56 +00:00
moodler
8a3cfc4d76 Quick fix for bug 1303 ... but I'll come back to this today 2004-05-04 01:58:20 +00:00
defacer
e70fdac090 L10n fixes and a bug fix... at least I _hope_ they were fixes... 2004-05-03 15:26:55 +00:00
defacer
aa870ca24a Some l10n problems fixed. 2004-05-03 14:07:35 +00:00
moodler
396b61f00a Fixed doubling in upcoming events block, I think. 2004-05-01 17:42:32 +00:00
moodler
8ad2936eaa Removed a doubling of event names 2004-05-01 17:37:11 +00:00
moodler
1e1ff33b2e Some interface cleanups ...
- simplified the screens some more (headers etc)

 - preferences are all on one page, and the code was rewritten
   for simplicity and consistency

Changes are not well tested yet but I'm off to bed  :-)
2004-05-01 17:32:37 +00:00
defacer
6e8e8ec685 Fix to display correctly formatted dates in some cases where they were not
being localized as they should. Also, small cosmetic addition of a space between
words in the date representation (I had missed it).
2004-04-30 08:59:04 +00:00
defacer
0ef7c97344 Small change to better respect the lang file date settings. Should be objectively
"better" now. See http://moodle.org/mod/forum/discuss.php?d=7450 for the issue.
2004-04-29 07:50:12 +00:00
defacer
ef3b39b791 There are serious problems with event.php and mini-calendars, mainly because
we don't have much information about courses at that stage. Started to fix
things up, but there is still work to be done.
2004-04-28 10:20:30 +00:00
moodler
f7d617820c Some changes to event editing. HTML editor now supported, plus some
other reformatting ... more to come.  :o)
2004-04-27 17:01:48 +00:00
moodler
ff2ec3b570 Some changes to the layout to remove blocks etc 2004-04-27 08:49:22 +00:00
defacer
9159b0fed6 Fixed bug reported by John Ryan (http://moodle.org/mod/forum/discuss.php?d=7347)
which caused group events to not display under any circumstances.
2004-04-26 10:44:16 +00:00
defacer
1b0ebe79b1 Addressing bug 1257:
Changed the handling of time display format; now it's read from the language
file by default, and a new preference has been added to allow each user to
manually specify his preferred time format.
2004-04-22 09:02:23 +00:00
defacer
95a892257c Corrected a bug that prevented admins from seeing events for ALL site courses
(today's functionality was not complete yet).

Also, minor sorting change to display the course filter sorted by shortname.
2004-04-20 13:00:39 +00:00
defacer
053c98cff9 Fixed a whole bunch of warnings and minor bugs, which all shared a common cause:
The preferences screens weren't handling filter changes correctly.
2004-04-20 12:49:02 +00:00
defacer
92668ad2e5 Revision of the calendar tables HTML. Current version outputs a LOT less HTML
(mainly class attributes) but requires ALL themes to update their CSS rules.

Coming up next... can you guess? ;)
2004-04-20 11:14:55 +00:00
defacer
2b7591ccbc Fixed an "unset variable" warning in the filter controls in the upcoming events calendar screen. 2004-04-20 09:27:59 +00:00
defacer
1f695119c5 Admins can now filter events by course and set events for groups and courses
regardless of whether they are course members.
2004-04-20 09:21:30 +00:00
defacer
6c127628a7 Removed some long-dead code and commented out some newly-dead code, now that
we have the blocks system. Making the file parse faster... yum! :)
2004-04-20 08:44:06 +00:00
defacer
48f508ab94 If group mode is no groups and forced, there is no point in displaying the
group events filter. Just a nice touch, fixed only in course view for now.

Also, minor code rewrite for clarification.
2004-04-20 08:24:37 +00:00
defacer
73341343a6 Corrected an oversight: the id variable isn't needed on the front page.
(Or so I think... brain's a bit moodled right now... ;)
2004-04-06 14:01:43 +00:00
defacer
2b10fcf5a8 Following Eloy's suggestion and Martin's clarification, the wizard is going
to demonstrate a feat where 10 lines of code turn into 2, and a global var
dependency vanishes at the same time! ;)
2004-04-01 12:51:24 +00:00
defacer
556596510a The check for setting event dates before the course start date was written
incorrectly. What was I thinking?
2004-04-01 10:59:46 +00:00
defacer
516a684ad7 In Eloy's notice-finding spirit, I continue by fixing another notice which
also (damnation! :) caused the HRs not to be displayed as they should.
2004-04-01 09:27:23 +00:00
defacer
f80c8e0f52 Eloy's finding: The name and description fields were not initialized when
going into the "new event" form, so they printed warnings INSIDE the fields
with error_reporting(E_ALL). Added initialization as empty strings.

Now I 'm beginning to understand why Martin calls him "Eagle Eyes" :)
2004-04-01 09:08:23 +00:00
defacer
93db786cdc Eloy's finding: If the user is not a teacher or a student anywhere, this
caused an SQL error. It was handled correctly, but why an SQL query at all
if we can optimize it away?

Thanks Eloy! :)
2004-04-01 08:58:29 +00:00
defacer
3696526bf3 Eloy's finding: fixed three 'undeclared variable' notices. Leftovers from
cutting and pasting code, I just deleted them.
2004-04-01 08:52:34 +00:00
defacer
ed151929e3 Modified handling of the first day of the week to default to the "firstdayofweek"
language string value, according to Eloy's suggestion. Thanks for the tip! :)
2004-03-31 07:18:32 +00:00
moodler
7423f11664 Checking in latest calendar code! Looking great, Jon! 2004-03-29 15:28:15 +00:00