105 Commits

Author SHA1 Message Date
defacer
edbe6c1b69 More styles and markup cleanup. The basic calendar screens should now be
pleasantly viewable in any browser (I 'm testing FF and IE).

Some things still don't satisfy me and some parts haven't been done yet.
But at least it doesn't look broken in IE anymore.
2005-02-11 03:54:33 +00:00
defacer
2ad2cbc302 Fixing more calendar styles (and some other details that caught my eye).
A personal note of thanks to that shitty excuse of a browser, IE, for
making my life a nightmare. And that's on XP SP2.
2005-02-11 03:08:30 +00:00
defacer
7d50b363b5 Reworking of all calendar styles to address bug 2524.
**********************************************************************
* THIS IS NOT COMPLETED YET AND IN FACT IT'S QUITE BROKEN RIGHT NOW! *
**********************************************************************

My head is spinning and that's enough layout madness for one day.
2005-02-10 00:42:41 +00:00
moodler
4a2c4132d5 Removed some $THEME stuff 2005-01-25 17:16:34 +00:00
defacer
bb4a2e85c0 New features implemented:
* Configurable defaults for the calendar upcoming events lookahead and
   maximum upcoming events displayed (bug #1623)

 * Configurable setting for which days of the week are treated as weekend
   (bug #1919)

 * Configurable setting for which day starts the week (the admin can now set
   this as the default for new users and guests without messing with language
   packs) (no butracker issue)
2004-12-16 18:49:57 +00:00
defacer
cb48251dec Fixed some warnings I introduced a while back by incorrect use of optional_parameter() 2004-12-01 21:52:09 +00:00
mjollnir_
e6d1d120b1 Merged from MOODLE_14_STABLE: Changes to calls to get_courses to not get all fields 2004-11-22 05:41:14 +00:00
defacer
3c7e1b65be Fixes for slightly incorrect behavior on days where the DST setting changes.
Not quite correct in some places though (those require more attention).
2004-11-20 20:10:03 +00:00
defacer
482dbe0cd4 Correct construction of SQL clauses (fix for SC#20).
Improved conformance with the new _param() functions a bit.
2004-11-19 02:47:00 +00:00
moodler
2038a163d8 Merged sesskey fix from stable 2004-11-05 06:29:48 +00:00
defacer
a94329a8ed Fix for bug #2004 (Bug of the Year! :D):
Events in each day are now displayed ordered by starting time, and not by
eventid as before. Thanks to Gustav for pointing this out!
2004-10-29 17:21:19 +00:00
moodler
647213f731 Some changes for XHTML compatibility 2004-10-07 05:52:39 +00:00
stronk7
1066e0dc62 Changed some conditions against the $USER variable
to work fine under PHP5.

Bug 2053
(http://moodle.org/bugs/bug.php?op=show&bugid=2053)

Merged from MOODLE_14_STABLE
2004-10-06 16:52:24 +00:00
defacer
3395a558c9 Importing fix for bug 1921 from stable. 2004-09-09 11:55:00 +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
8f89658261 Fix for bug 1494:
Calendar events in day view now show their start and end times. The only thing
I 'm not satisfied with is that they also show the full start and end dates,
even if it's not really needed (e.g. for a 15:00 -> 17:00 event). Still, it's
loads better than only showing the start time.
2004-08-22 17:19:24 +00:00
moodler
fd5594a00b Fixed some PHP 5 notices 2004-08-12 07:42:52 +00:00
defacer
ef618501bb Fix for bug 1624:
Events that span more than one month now have their duration shown correctly in
each day of all subsequent months. For some reason I didn't quite figure out,
this happened till now only on events that spanned at least THREE months. Whatever...

Also, removed a small unused part of a global statement in view.php.
2004-07-09 13:39:34 +00:00
defacer
b1bd2cf0c1 Fix for bug 1527:
The New Event button is back in day view. Silly mistake, $USER wasn't taken
from the globals and thus it always thought you weren't logged in.
2004-06-23 09:53:23 +00:00
defacer
1cbcc2c3d0 Fix for bug 1528:
Now the edit icon in day view for course activity events takes you to the
activity update form, and not the view. You can still go to the activity view
by clicking the activity name in the event title.
2004-06-23 09:43:00 +00:00
defacer
7b38bfa6fd More changes to time calculations. Now they are done as indeed the prophet Martin
foresaw that they could be, that is simple and elegant. The previous solution did the
job I guess, but it was based on a naive approach...
2004-06-02 11:21:14 +00:00
defacer
9d567178e2 Fixed a bug: up till now, day boundaries were calculated modulo 86400, which
is correct only for GMT+0 timezones. Fixed it in upcoming events displays to
separate days as they are in the user's timezone, will continue to pursue this.
2004-06-02 09:15:07 +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
f52f741334 Fix for bug 1503:
Things are now easier for visitors and guests. We should do some regression
testing though: if you are a visitor or a guest and then you login (either
after browsing the site or immediately by typing a Moodle URL in the location
bar, without having a Moodle session at all), do user events always get shown
correctly? Does anything abnormal happen to the courses filter?
2004-06-01 14:12: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
moodler
707fbef498 Fixed defaulting $SESSION->cal_show_user 2004-05-25 06:36:09 +00:00
defacer
c3553a553f Small bugfix: when entering the calendar with "on-the-fly" login, the breadcrumbs
now display correctly. Even though there isn't normally any link that allows you
to do this.
2004-05-24 14:20:32 +00:00
defacer
11b0ffe898 Adding event from day view defaults to that day for event start. 2004-05-24 12:28:38 +00:00
defacer
2727648d55 Gotcha! The event time in day view didn't respect the user's time format
preference. Now it does.
2004-05-24 10:54:52 +00:00
defacer
227bc46b51 Preliminary fix for bug 1451 (needs some more work).
Also a couple of notices removed.
2004-05-24 09:20:01 +00:00
moodler
9958a08cfa Calendar fixes (this was the last thing I wanted to fix for 1.3).
- events are now shown in a consistent way
  - upcoming events and days are calculated with the same function
  - it's now not possible to edit module events directly
  - various tidying up
2004-05-23 11:05:45 +00:00
moodler
552064d391 Some improvements in display
I'm not finished yet, just checking in to continue on another server
2004-05-22 07:14:49 +00:00
moodler
2d88c72afa Better fix for courses menu 2004-05-22 04:32:35 +00:00
moodler
ed05bdfa9d Some cleanups for the courses menu 2004-05-22 04:28:36 +00:00
defacer
f10f1b7bdc * Removed one obsolete function
* Changed the expired events' color to dimmed
* Added "new event" button in upcoming events screen
* Small improvement (more robust) in redirection from set.php to upcoming events
2004-05-21 13:51:02 +00:00
defacer
8792061c55 Modified to use popup_form() instead of custom code 2004-05-21 13:03:59 +00:00
defacer
f434283f4f Bye bye event details view... 2004-05-21 11:24:22 +00:00
defacer
34bf3ad4f3 Lots of usability improvements and some bugfixes:
Fixed wrong redirection after changing filters for all calendar screens
Fixed course selection menu to work without javascript
Moved course selection menu to the header, and added it to all screens
All screens now conform to the selected course in the menu
Small improvements in the way guests are handled
2004-05-21 10:54:46 +00:00
moodler
43ef6722c7 Tweak to calendar event (full display) column widths 2004-05-20 17:40:11 +00:00
defacer
43c3ffbe22 Major calendar overhaul:
1. Much better and more intuitive handling of filters.
2. Simplified user interface for guests.
3. Feature request implemented: bug #1431
4. A number of significant bugfixes
2004-05-20 15:16:42 +00:00
defacer
4131f3743f Fix for bug 1395:
view.php now does require_login(). Also some minor refinements.
2004-05-17 07:31:54 +00:00
defacer
8c54cec650 Month view: NOW it's working as I wanted it to. But is that as it should work? 2004-05-14 13:39:29 +00:00
defacer
9ff136e503 Behavior change, according to Gustav's remarks on the forums. Events from
courses other than the one you are browsing are not displayed in the month
views or as upcoming events, except only if you explicitly do it in the
full month view. However, if you manually go to a day with such an event and
get a day view, you will see the event. Should I find a way to hide that too?
2004-05-14 12:48:50 +00:00
defacer
d715f7c4c0 Fix for 3-month pane event filters, now you don't get a "missing required parameter"
error when you click on them. Reported by Ger Tielemans in the forums.
2004-05-06 07:45:10 +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
moodler
ff2ec3b570 Some changes to the layout to remove blocks etc 2004-04-27 08:49:22 +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
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