Commit Graph

34 Commits

Author SHA1 Message Date
moodler 783da26290 A bit of an audit and a clean up of require_login to add consistency.
No major problems found, just some code tidy-up
2003-05-24 07:29:17 +00:00
moodler e808d25f56 Fixed up "Assign teacher" page, and moved it to admin directory. 2003-05-14 15:58:48 +00:00
moodler 7226ce02b1 Robustness for $course variable 2003-04-17 13:20:26 +00:00
moodler dae73c05e9 New $CFG->admin directory can override the location of the admin
directory.

Useful because some web hosts use /admin for other things.
2003-04-10 13:46:52 +00:00
moodler 068e57cebc Courses are forced to have unique shortnames (see bug 299) 2003-03-01 12:52:04 +00:00
moodler 7a361c8b55 Removed save_session() - no longer needed. 2003-02-27 02:46:37 +00:00
moodler c0f271aa5c Cleanups for course creator. 2003-02-26 04:18:46 +00:00
paca70 d7466bdecb Redirect teachers to course after coursecreation. 2003-02-25 10:45:37 +00:00
paca70 1924074c76 Added support for nonadmin course creation.
Course creators are managed by /admin/creator.php , same way that admins.
Or if authetication module have 'auth_iscreator'-function (right now only ldap-module have) ,
users are added to creators at login time.
2003-02-24 18:48:55 +00:00
moodler de5aabd2d2 Password had no default 2003-01-20 09:30:24 +00:00
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