moodler
dcde9f020a
Displayed time formats are now stored in lang files
...
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
b20f74c94a
Rmove bad coursemodule error - not important enough to show
2003-01-05 14:20:33 +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
moodler
607809b3ba
OK a number of small changes here.
...
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS etc
Secondly, if gdversion == 0 (ie GD is not installed) then:
- users are not even allowed to upload new images
- graphs now just print a message instead of failing.
this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
3b7c1de95e
Changes to improve robustness of uploads, and make things compatible
...
with PHP 4.3.0. Also some translation fixes with upload strings.
2003-01-05 04:20:32 +00:00
moodler
36b4f9852e
buggy_referer is dead! Long live buggy_referer!
...
Should be fixed now. As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.
All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).
Much nicer.
2003-01-02 14:49:23 +00:00
moodler
24cd45467f
Site news forum defaults to the "Site news" string
2003-01-02 10:54:00 +00:00
moodler
51ba6ad642
Define forum type all the time
2003-01-02 10:46:52 +00:00
moodler
61e96406df
Robustness fixes
2003-01-02 10:35:11 +00:00
moodler
8ac3158791
Robustness fixes
2003-01-01 13:17:27 +00:00
moodler
f747744495
More robustness fixes
2003-01-01 06:34:54 +00:00
moodler
47f1da80d0
More little fixups for robustness
2002-12-30 05:13:43 +00:00
moodler
0ae5e5ea2d
Fix default cursor
2002-12-30 03:38:59 +00:00
moodler
9c9f7d7790
Various little fixes to remove warnings (usually about empty variables)
...
when error_reporting is turned up to 15 or so ... more of these to come ...
2002-12-29 17:32:32 +00:00
moodler
57117c20d5
fixed user --> userid
2002-12-28 13:05:03 +00:00
moodler
97485d0726
More database tweaks and improved access to forum search engine
2002-12-23 15:33:40 +00:00
moodler
a3eea09cc9
More fixes for postgreSQL etc
2002-12-23 11:47:17 +00:00
moodler
ebc3bd2b24
Changes throughout Moodle to remove any reserved words from the
...
Moodle tables.
ie user -> userid in many tables, plus in user_students
start -> starttime and end -> endtime
I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.
Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
1f48942e7d
Further SQL cleanups
2002-12-23 07:01:06 +00:00
moodler
d26d7ed0c3
Changes to make things work again :-)
2002-12-22 06:15:44 +00:00
moodler
9fa49e22ab
Many many changes lumped in here ... not finished yet either.
...
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.
Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL. I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php
Still working on forums, quizzes, surveys, resources.
The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
f6680cfa4a
Put a space under the colon
2002-12-15 04:27:51 +00:00
moodler
4181fce9f9
Moved a colon (there's a joke about farts in there somewhere)
2002-12-15 04:26:44 +00:00
moodler
fd790dfb55
Database and upgrade files for PostgreSQL 7 support!
2002-12-15 02:41:07 +00:00
moodler
7be475f601
New consistent help buttons for textarea fields throughout all modules
2002-12-13 09:06:30 +00:00
moodler
d34189e123
Added styles for forum posts
2002-12-10 02:48:05 +00:00
moodler
4499b2e273
Slight alteration of colouring on printed posts
2002-12-09 10:49:44 +00:00
moodler
5e367a2d56
Various little tweaks to improve the display of course home
...
pages and front page ... still have some work to do though
2002-12-09 07:35:40 +00:00
moodler
048ccc473a
Highlight matches in post subject and discussion name too
2002-11-28 09:10:22 +00:00
moodler
88e729beed
Add searching of subjects as well as messages
2002-11-28 09:04:04 +00:00
moodler
62c13a2f3e
Changed all references of %e to %d to fix strftime on Windows
2002-11-19 14:27:57 +00:00
moodler
a6fcdf98af
Update course cache when creating new standard forums!
2002-11-14 02:33:48 +00:00
moodler
dfc9ba9bbe
Added navmenu in more places
2002-11-10 08:43:44 +00:00
moodler
d897cae419
Changes to enable jumping between activity modules, using a new menu in
...
the upper-right corner. Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
405ea757e6
Fixed some more missing strings
2002-11-06 09:13:19 +00:00
moodler
46217d06b5
Language fixes
2002-11-06 07:40:36 +00:00
moodler
67f0b4ccb0
Better formatting for the link
2002-10-26 03:37:06 +00:00
moodler
a8afb411a0
OK, this should be better ...
2002-10-26 03:33:07 +00:00
moodler
c585fa1707
A first try at a new shortening algorithm ... checking in to do some
...
tests on various servers
2002-10-26 03:21:41 +00:00
moodler
153cc356cb
Added TARGET=_blank to links in HTML email ... apparently these links
...
were causing problems in Hotmail. Normally I'd say "Good!", but ... :-)
2002-10-25 15:27:12 +00:00
moodler
86c5e69a36
Remove "news" and "social" forums from learning forums.
2002-10-25 14:46:42 +00:00
moodler
e6874d9ff6
Brand-new news and social forums are now also assigned course modules and
...
put in section 0 of the course.
2002-10-25 09:10:40 +00:00
moodler
7beb45d8a0
Upgrading all news and social forums (except those in social courses)
...
so that they are course modules in an (invisible) section, which means
they are now editable and parameters, names etc can be changed.
2002-10-25 08:47:53 +00:00
moodler
6c506ca744
Disallow people posting in forums where they arent allowed to post! 8-.
2002-10-25 07:22:59 +00:00
moodler
f690562f81
Tweaks to mail formats so that unnecessary information (replies, etc)
...
is not printed.
2002-10-25 06:50:40 +00:00
moodler
3260de6780
Tweaks to forum formatting
2002-10-25 05:58:39 +00:00
moodler
e7b7951c0a
The BR in print_post was to fix the case when embedded images are used.
...
However it added too much space. I'll find a way to fix the embedded
images problem later, during the styles changeover, as it's pretty
rare.
2002-10-24 07:09:29 +00:00
moodler
e870c78bfc
WHoops ... just undoing the last checkin which was premature ...
2002-10-23 12:13:47 +00:00
moodler
cc3b8c75de
After saving new question, sanity checks are made to make sure the
...
fractional grades are correct.
Icons now have tooltips and are also a shortcut to editing page.
2002-10-23 12:10:38 +00:00
moodler
2a3cda192e
Allow teachers to look at ratings for anyone
2002-10-21 08:44:56 +00:00