moodler
4eb25d43aa
Adding the new grade tables
...
POSTGRES IS NOT DONE YET!!!! DOES SOMEONE WANT TO TACKLE IT NOW?
2005-03-28 18:16:39 +00:00
stronk7
188e4dd9a3
Now print_recent_activity_note() supports filterall (in text).
2005-03-27 23:48:15 +00:00
stronk7
2a3affe991
Now format_string() uses an in-memory cache per request to make
...
things faster. Really noticeable in logs page!
2005-03-27 20:57:50 +00:00
moodler
a77ac3dc49
Added homelink and sitelink style distinction
2005-03-27 17:07:09 +00:00
moodler
031f8487b0
Added row classes to the tab rows
2005-03-27 15:28:35 +00:00
moodler
fae1077b2a
Removed $goodStr = str_replace(chr(160), ' ', $goodStr );
...
as it causes bug 2794 and I can't even see what the point of it was.
2005-03-27 05:50:21 +00:00
moodler
c01f71d4a4
FIxed some XHTML compliance ... Bug 2798
2005-03-27 05:43:49 +00:00
moodler
9e0d19831b
Fixed footer navigation
2005-03-27 05:23:39 +00:00
defacer
66336c5f34
Bringing in the mdl_timezone table.
...
DST is now kind of working, the next most important things to do are:
1. Get the import procedure working correctly and well, so we can populate it.
2. Provide a transparent migration procedure for all users to "Unknown location" timezones.
3. Banish $USER->timezone for good.
2005-03-26 19:10:05 +00:00
stronk7
9870dbe5b6
Now the "jump to" menu (navmenu) supports filterall.
2005-03-26 19:02:56 +00:00
defacer
d4880eaa46
Remove redundant mdl_dst_preset table from schema.
2005-03-26 19:00:23 +00:00
defacer
b41c4f7e28
The schema for mdl_timezone looks final, so create it in new installations.
2005-03-26 18:53:01 +00:00
defacer
830a2bbd82
Yay! Major DST support progress!
...
1. calculate_user_dst_table() works correctly and offers many features:
Can create or extend on-the-fly a table of pre-computed timestamps on which
DST changes happen, keeps track of these changes and the current computed year
range in $USER->dstoffsets and $USER->dstrange. Initially the computation is
done in a current year +/- 3 years range, to keep the amount of serialized
data small and to make traversals of $USER->dstoffsets faster.
2. dst_offset_on() works correctly, and can dynamically instruct the above
function to extend the pre-calculated region on demand (i.e., when it's called
for a timestamp which falls outside said region).
3. Some other improvements.
I have made a few preliminary tests on my dev machine and It Works(tm!) :D
2005-03-26 18:43:58 +00:00
defacer
c2aa460fe6
Fix a notice when failing to log in.
2005-03-26 18:26:49 +00:00
defacer
45daee10f3
Fix some notices.
2005-03-26 13:38:21 +00:00
moodler
f940ee41b8
Need to rename variables in footer nav menu .... urgh, not pretty but works
2005-03-26 07:26:27 +00:00
moodler
0d741155df
A slightly yucky hack where variables in the header are kept around
...
until the footer is shown, allowing them to be used there too
2005-03-26 06:51:33 +00:00
stronk7
3e6691eebb
Added option to format_string to take out all the links in the string.
...
Useful because a lot of times the string itself is showed like a link
and we cannot nest links.
2005-03-26 01:07:23 +00:00
julmis
914094e9f0
Adding charset meta information
2005-03-25 21:09:36 +00:00
julmis
130d7a3bfe
Adding search and replace feature.
...
- Also change dialog so that focus is released first
then value is passed forward
2005-03-25 21:07:03 +00:00
stronk7
0ea03c56f2
Ensure that tooltiptext hasn't tags.
2005-03-25 19:01:32 +00:00
moodler
d45fd4ddbd
Removed styles_moz.css from default (it doesn't validate and prevents
...
validation in fact)
2005-03-25 17:15:02 +00:00
stronk7
7b2c5e72ce
Added the format_string() function to allow filter processing
...
to small texts when $CFG->filterall is enabled.
2005-03-25 16:24:43 +00:00
julmis
16f77b0802
Adding search and replace icon
2005-03-25 09:57:50 +00:00
stronk7
18a2b08d74
Make validator works under PHP 5.
2005-03-25 00:00:37 +00:00
moodler
6ba172fb18
Print the names of the included files at the top of the style sheets
2005-03-24 13:41:42 +00:00
julmis
24da8203e1
Adding code formatting functions for better readability
2005-03-24 10:29:56 +00:00
moodler
8d62ca684c
Bless standardwhite for testing too
2005-03-23 16:49:03 +00:00
defacer
3bba1e6ef1
Fixing a regression.
2005-03-23 14:43:32 +00:00
martinlanghoff
f78b3c3405
Merged from MOODLE_14_STABLE - add_to_log() - fixed a postgres support bug when is set to '', and clarified the logic that decides whether to update the user_students/user_teacher records.
2005-03-23 07:07:47 +00:00
defacer
5c5dfee259
Duh. More spurious output squashed.
2005-03-23 04:03:50 +00:00
defacer
9532c34e00
I had left some uncommented debug output in there. Comments back on.
2005-03-23 04:02:21 +00:00
defacer
733191ab83
Fixes fixes fixes fixes.
2005-03-23 04:00:46 +00:00
defacer
e789650d41
Piles of timezone-related changes.
2005-03-23 03:03:43 +00:00
defacer
d37317b249
"from" is a reserved word in SQL, so change the field to "year"
2005-03-23 03:02:45 +00:00
defacer
0c478e1085
Killing dst_offset_for_year().
2005-03-23 02:13:00 +00:00
defacer
62a73d8949
Continuing to move towards the "pre-calculated array in $SESSION" approach,
...
we output just ONE record for each year that something changes. This knocks
another ~3000 records from mdl_timezone.
2005-03-23 02:10:45 +00:00
defacer
aedcf71e33
Treat 'max' as 'only' in the "until" field. This removes ~1500 useless records.
2005-03-23 01:57:15 +00:00
defacer
0ed442f85c
DST presets -> timezones
2005-03-23 01:54:45 +00:00
defacer
0bd7322e30
Going forward to timezones ever so slightly.
2005-03-23 01:26:34 +00:00
defacer
deab60a42b
My latest working version, but we 'll need to roll back a bit as there
...
are more changes planned (from_timestamp bites the dust etc).
2005-03-23 01:24:22 +00:00
defacer
1789c54824
mdl_user.dstpreset becomes mdl_user.timezonename
2005-03-23 01:19:27 +00:00
moodler
6078ba3016
Misc recent changes
2005-03-22 18:10:06 +00:00
moodler
08396bb270
New function to close current window: close_window
2005-03-22 17:31:04 +00:00
stronk7
29f46cb6fb
Now it works using static instead of $_REQUEST. Thanks to Martin!
...
Now I know a bit more of PHP :-)
2005-03-22 17:29:02 +00:00
stronk7
a06967fdb9
Added support for $CFG->filtermatchoneperpage, allowing a phrase
...
to be linked only once in the entire page.
2005-03-21 23:47:21 +00:00
stronk7
a0d2e272d9
Missing global was preventing $CFG->filtermatchonepertext to work.
2005-03-21 23:18:41 +00:00
moodler
57f781f733
Changed variable name because Eloy has plans for $CFG->filtermatchoneperpage :-)
2005-03-21 08:37:43 +00:00
moodler
e299f862a6
When in editing mode, add "editing" class to the body. bug 2781
2005-03-21 08:26:14 +00:00
martinlanghoff
b350cb9d93
Merged from MOODLE_14_STABLE - Pedantic HTTP correctness; now we return an appropriate 503 HTTP status code when the database is unreachable and assumed overloaded. This is for the benefit of monitoring and load testing scripts.
2005-03-20 21:37:05 +00:00