273 Commits

Author SHA1 Message Date
moodler
4708a37266 Quick script to slam timezones 2003-11-22 09:00:15 +00:00
moodler
5ee2080112 Escape double quotes too 2003-11-20 11:47:14 +00:00
moodler
5fde0ca615 Use the new fullname function 2003-11-19 16:15:56 +00:00
moodler
a4c3ccc36a Script to look at database performanceusing ADOdb tools 2003-11-19 08:15:23 +00:00
moodler
025583cd23 Add a little language-changing menu here to make it easier 2003-11-18 07:41:35 +00:00
moodler
452c1cb363 Language editor now saves strings with 'single quotes' which should
- simplify the files a bit
     - speed up processing at run time
2003-11-18 07:26:40 +00:00
moodler
1e16942739 Show version number to aid in debugging 2003-11-03 03:22:52 +00:00
stronk7
edfc003cd0 Small typo !! :-) 2003-10-28 18:27:22 +00:00
moodler
937ae59c8e Get longtimenosee students according to their course access (not site access) 2003-10-27 14:01:29 +00:00
moodler
5e70f06961 Removed one hard-coded "admin" 2003-10-19 05:19:14 +00:00
moodler
c1f5319532 A new Moodle variable called sessioncookie is now added to the session
cookie name.  This provides a means for multiple Moodles within the
same website to keep separate sessions and not get confused.
2003-10-16 13:19:10 +00:00
moodler
5204d8316a A new configuration parameter 'allowunenroll' will enable/disable the
"unenrol me" buttons on user pages and course pages.
2003-10-12 18:03:50 +00:00
moodler
6d04a477a2 Fix richtext editing and inserting images 2003-10-12 17:21:36 +00:00
moodler
c0cf7543b6 No need for focus 2003-10-09 08:45:10 +00:00
moodler
af4efb1484 Improved the heading a little 2003-10-08 05:53:55 +00:00
moodler
094640f170 Split up the looooooooooooooong page into separate files, to make editing
a little easier!
2003-10-08 05:44:56 +00:00
moodler
4909e17632 These changes implement some better controls for controlling uploads.
1) There is a new site-wide configuration variable called maxbytes,
   which provides an upper filesize limit for all (student) uploads.

2) There is a new course-level variable called maxbytes, which further
   limits uploads within a course.

3) There is a new maxbytes field for forums, which further restricts
   the size allowed in a particular forum.  There is also a new config
   variable in the module configuration to specify a default size
   to use when defining a new forum.

4) Assignments already had a limit, but this is now aware of the other
   limits, and like forums there is now a settable default value.

5) Finally, the sizes of files (Gb, Mb, Kb, bytes) is now translatable
   in the language packs.
2003-10-06 18:02:35 +00:00
moodler
d8152d04c0 Language direction is now set in the language file, rather than
as a site-level setting.  This currently only affects Arabic but
will affect Hebrew later and maybe others.
2003-10-05 14:05:57 +00:00
moodler
5833a6c8eb The list of countries has finally been moved into the language packs
so it can be translated.

There is now a new function get_list_of_countries() which will return a
sorted array of countries in the best current language.

get_string("AU", "countries")   will also work if needed
2003-09-26 08:04:48 +00:00
moodler
875ea7db1b Removed typo .php 2003-09-14 18:56:45 +00:00
moodler
9dbdc98e6e Doh! No need to check for short_tags any more. 2003-09-11 12:09:50 +00:00
moodler
11863e8663 Try to create missing string files if possible (thanks Gustav) 2003-09-10 12:37:59 +00:00
moodler
5b16ca8718 Fixed some short PHP tags 2003-09-09 04:15:12 +00:00
moodler
9eabdc8d2b Missing brackets on isadmin() 2003-09-08 12:57:39 +00:00
moodler
ac61544835 Any admin can assign creators 2003-09-05 14:03:22 +00:00
moodler
cbdb4ca067 For some reason there was a target on the delete link which pops up the list
in a new window.  Gone.
2003-08-31 06:54:39 +00:00
moodler
fb2ecb37b7 Tweaks when searching 2003-08-27 13:42:01 +00:00
moodler
7cdcb42239 Added controls for the invisible variable teacherassignteachers which
decides whether teachers can edit teachers in their own courses.
2003-08-26 15:52:22 +00:00
moodler
2ae0cc7759 Don't bother checking for magic quotes any more 2003-08-26 03:22:40 +00:00
moodler
0ff42b0fc9 Fixed locale problem (being overwritten by current locale) 2003-08-25 17:30:08 +00:00
moodler
5315b6f2f0 Added a link to the PHP info page from the admin page, and cleaned
up the PHP info page a bit by using a frame.
2003-08-25 14:56:46 +00:00
moodler
742fee1111 Fixed missing "search results" string 2003-08-23 04:39:49 +00:00
moodler
526c0f708f More asjustments to the display of the admin screen 2003-08-22 14:03:40 +00:00
moodler
1074e1ad05 more tweaks to admin menu displays 2003-08-22 13:46:21 +00:00
moodler
a912de3eb7 Add link on admin page about students, for completeness. In the next
version this link will link to the new enrolment subsystem.

Also reduced font size to make the admin page a bit nicer on small screens.
2003-08-22 13:42:27 +00:00
moodler
b37b6ced88 Typo when including config.html ... not sure how it was working before! 2003-08-21 02:29:16 +00:00
moodler
63d48aad57 The warning should be printed on this page 2003-08-20 12:04:18 +00:00
moodler
f173a591a7 Forgot this file earlier 2003-08-18 17:22:22 +00:00
moodler
bda11d2acd Code to enable config.html files in the modules. 2003-08-18 17:21:53 +00:00
moodler
2f4d324bd7 Trying something different with the admin links ... even I was starting
to get a bit lost occasionally.
2003-08-18 16:40:27 +00:00
moodler
a7d52d7449 Some tidy-ups 2003-08-18 03:47:49 +00:00
moodler
4fe8e0d27d More robust adding/removing of admins 2003-08-17 10:17:57 +00:00
moodler
aa34b7869e More robust creator adding/removing, using new functions in moodlelib.php 2003-08-17 08:58:18 +00:00
moodler
6843d309a8 Removing the students script from here 2003-08-17 05:09:26 +00:00
moodler
21f93862bd Backed out the new configuration variable "creatornewcourses" as it
is no longer wanted or needed
2003-08-16 05:43:26 +00:00
moodler
02ebf404c8 WARNING: BIG CHANGES!
OK, this is a big check-in with some big changes, and needs work still.

It seems relatively stable, but I need help identifying the rough patches.

1) First grading scales support.  There is a now a new table called "scale"
   that contains grading scales.  There can be site scales (course=0) and
   custom course scales.  These can be used in modules - I've only done
   forums for now but that was the hard one.  Scales can be edited via
   the new item in the course admin menu.

   There is one default scale - the connected/separate knowing one that used
   to be in forum.  To build this I pull data from the language packs
   to create one during the upgrade, or anytime a scales menu is called
   and no scales are found.

2) New roles for course creator and teachers.  I've fixed up the course
   menus and some other things but there's a lot left to do on this to
   make it all smooth.  The idea is that teachers no longer can edit courses
   unless they are also course creators.  The interface for this needs to
   be smoothed out a fair bit and I need help with this.

   The upgrade will upgrade all teachers to be creators, but will default
   the new site config "creatornewcourses" to "no", so that effectively
   these new teachers have the same privileges.

3) Simplified teacher management.  There is no longer an "assign teachers"
   and a "teacher roles" page - it's all on one page in course/teacher.html.


Phew ... time for a shower and then back into it.
2003-08-15 13:59:24 +00:00
moodler
6e6b61635e Don't interfere if news is selected 2003-08-12 17:01:54 +00:00
moodler
7ea3bbec32 No point in offering the option for really big sites to have all the courses
on the front page.
2003-08-12 16:52:55 +00:00
moodler
41a2968c28 Emoticons don't make sense. 2003-08-10 09:28:55 +00:00
moodler
d47fd1ee7c Added richtext editor to site front page 2003-08-10 09:26:11 +00:00