279 Commits

Author SHA1 Message Date
moodler
750eeaebd5 If a file called cronextra.php exists in the dataroot then cron will
run that too.  This allows sites to have "special" maintenance.
2003-12-01 08:01:41 +00:00
stronk7
69c7eba733 Scheduled weekdays are now stored in DB 2003-11-30 18:58:37 +00:00
moodler
b5cbb64dc5 Final pieces to allow site-wide configuration of name display.
Site variable can override order of "firstname lastname" or it
can leave it up to the language packs.
2003-11-30 14:02:01 +00:00
moodler
b405515797 Fixed typo from last night 2003-11-29 14:26:59 +00:00
moodler
2f15e48cf6 Implemented more fullname() calls 2003-11-28 10:31:06 +00:00
stronk7
de4746a8a2 Initial release of the configure backup.
It now uses backup_config instead of config.
Not finished !!
2003-11-27 23:28:29 +00:00
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