174 Commits

Author SHA1 Message Date
moodler
13770d0c36 More fixes for robustness 2003-01-13 12:16:46 +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
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
149f85f035 Robustness fixes 2002-12-30 06:07:03 +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
7a4c13797a Default with showrecent ON 2002-12-09 06:35:14 +00:00
martin
dfb6e4ac3e Tweaks to page titles to make them more consistent 2002-09-27 14:26:02 +00:00
martin
4d0dde9159 Some consistency in headers on editing forms 2002-09-19 13:55:40 +00:00
martin
b4d7002e66 Changes to allow much better control over what "teachers" are called
in a course.  Firstly, the course settings page now allows the teachers
to specify the word they want to use in place of "teachers" and "students"
as well as "teacher" and "student".  Secondly, a new teacher admin tool
allows any teacher to modify the order and displayed role of teachers
in that course.  This affects the display on the course listings, the
participants page and so on.
2002-09-08 03:24:38 +00:00
martin
97c270e9a8 Changes related to language support ... get_string()
Minor little interface cleanups along the way
2002-08-11 15:41:54 +00:00
martin
2b25f2a09b Further excellent tidy-ups to the admin pages. They are actually starting
to look/work as slick as the rest of the site.  :-)
2002-08-08 15:51:23 +00:00
martin
e20217b3f3 MOre language updates 2002-08-04 02:10:00 +00:00
martin
94361e021e Lots of work on site display, over many files. Improved front page
and display of site modules.
2002-08-03 08:16:31 +00:00
martin
9690be38ff Much simpler date-setting using new moodlelib functions 2002-07-29 15:10:21 +00:00
martin
af978a6dc4 More language changes 2002-07-19 12:01:35 +00:00
martin
a83fded1a9 Consistent use of get_site() instead of checking course->category directly 2002-07-11 05:30:10 +00:00
martin
b5fe4c935d Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.
2002-06-25 11:49:06 +00:00
martin
e452ca303f Make sure new courses set the timecreated field 2002-06-10 11:30:02 +00:00
martin
5e69314dca Added per-course config and use of a word for "student" 2002-06-02 08:10:50 +00:00
martin
d44714bc35 Removed check for course format changing 2002-06-01 13:47:42 +00:00
martin
b50b67e50b Changes to support new logging format 2002-05-31 09:27:30 +00:00
martin
0d97d1e35f Fixed up use of isteacher (removed isadmin check because it's done in isteacher now) 2002-04-03 06:36:04 +00:00
martin
a69023cf46 Allow admin to do anything the teacher can do 2002-03-16 06:19:02 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00