505 Commits

Author SHA1 Message Date
moodler
6bf0078f07 Removed focus from course page - see Bug 825 2003-10-09 12:42:47 +00:00
moodler
c3235459d0 Only print expanded course listing on the first page (ie short category) 2003-10-07 03:29:44 +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
stronk7
5e0f9e613a Bug 801 reopened. Problem occur when adding a new activity to a hidden
section, it's visibility defaults to 1.
Now, default visibility is "inherited" from the section visibility.
2003-09-30 12:28:22 +00:00
stronk7
866d33df9b Added to avoid one notice when no news exist !! 2003-09-30 12:25:11 +00:00
moodler
e02eea80e9 Changes from Mad Alex to allow better error reporting when
adding or updating modules.

See: http://moodle.org/mod/forum/discuss.php?d=2738

If a moderr.html file exists in the module, it is shown.

If a string is returned, it's shown.

Otherwise it works as before.
2003-09-27 14:06:09 +00:00
moodler
fdf4b0c1bb Upgraded gradebook to use the new Excel library.
Most of these changes are from Russell Jungwirth - thanks!

I also moved the download buttons to the top - better for BIG classes.
2003-09-26 04:19:21 +00:00
moodler
e2b7251de9 Whoops, silly typo 2003-09-23 03:13:31 +00:00
moodler
e1d1049893 Trivial change to users listing to compress display a bit 2003-09-23 03:11:36 +00:00
stronk7
543e1c58b5 Take off one notice when there is no news in a course... 2003-09-22 14:58:46 +00:00
stronk7
3bd4de22f5 Changed !empty to isset to avoid warnings. 2003-09-20 17:33:55 +00:00
stronk7
2832badf38 Added one check to avoid some notices in make_categories_list().
Commented in Moodle's forum: http://moodle.org/mod/forum/discuss.php?d=2627
2003-09-20 17:08:45 +00:00
moodler
a9a070e0fd Make the "guest allowed" icon separate from the user icon. 2003-09-20 06:11:39 +00:00
stronk7
0249828cf9 Now restore button is always showed here too !!
Same behaviour than the restore link in main page.
(automatically creates backupdata dir)
Closed bug #741
2003-09-18 21:58:04 +00:00
moodler
6ecf2e4c87 Remove $PHP_SELF 2003-09-17 01:33:12 +00:00
moodler
ffc69cd31d Move all the activity editing buttons back on the end of the activity name 2003-09-16 05:48:09 +00:00
moodler
809e6508db Hide labels on topic pages 2003-09-14 18:51:52 +00:00
moodler
567df7420a Reduced size of table cells ... might need to work on editing buttons 2003-09-14 17:20:40 +00:00
moodler
bf1241ad96 Some tidying up of the editing icons 2003-09-14 16:43:10 +00:00
moodler
aac94fd0cc New field on course_modules called "indent" ... this is an integer
that tells us how far to indent the activity when it is displayed.

This gives us some more flexibility on the course outline to
arrange things as we might like them, into subtopics etc

Backup/restore is updated as well.

There is also a bit more robustness in course/mod.php
2003-09-14 16:31:33 +00:00
moodler
c9f6251ea8 Two things are in this checkin:
1) Support for the new "label" module has been added.  It's unfortunate
   about having to make these exceptions but this was the overall cleanest
   way I could think of.

2) All local calculation of pixpath and modpixpath has been removed and
   replaced with a single calculation which is done in setup.php and
   stored in $CFG->pixpath and #CFG->modpixpath.  All graphics should
   use these variables so that themes can easily override them.
2003-09-14 12:25:16 +00:00
moodler
07bc24351d Show restore icon all the time, even if there are no backups. 2003-09-13 12:59:39 +00:00
moodler
6b77de531b More short tags not found by the script :-( :-( 2003-09-11 12:43:24 +00:00
moodler
e646a2568f Fixed a little bug that sometimes shows with empty categories 2003-09-10 17:36:15 +00:00
moodler
ebe8ddc1d9 Some slight improvement in aligning icons 2003-09-10 08:53:43 +00:00
moodler
76eac7a58d FIxed some short PHP tags 2003-09-09 08:38:24 +00:00
moodler
e4027ac982 Use a shorter course search page on front page, for small screens 2003-09-09 08:37:48 +00:00
moodler
bd3ac89469 Initialized showgrades 2003-09-08 13:01:47 +00:00
moodler
a8990295c1 Fixed typo "options" 2003-09-08 12:59:04 +00:00
moodler
cb29b02006 Some tweaks in the category/course display (styles mostly) 2003-09-03 15:25:08 +00:00
moodler
f1c1b17ab5 Some small fixes to the category display:
- small numbers of courses (less than 8) are displayed in full,
    unless the creator or admin is editing.

  - course counts are now accurate when all courses are removed from
    a category
2003-09-03 14:05:31 +00:00
moodler
b5d5f20380 Tweaking image placement for different browsers 2003-09-03 13:21:53 +00:00
moodler
b48f834cfb Some cleaning up and improvement of the course listings, especially when
courses are listed under multiple categories
2003-09-03 12:13:08 +00:00
moodler
3af6e1dbb8 Allow Course creators to see all hidden categories and courses 2003-09-03 08:29:05 +00:00
moodler
1c109ec5b6 Move the search up closer to the top 2003-09-01 08:52:51 +00:00
moodler
7c1624355a Robustness for some variables 2003-08-29 11:48:34 +00:00
moodler
f27d50b628 Removed unnecessary line 2003-08-29 11:33:20 +00:00
moodler
d5f26b070c Added some missing styles from the course listing, so that the
course and category names can be tweaked.
2003-08-29 01:31:41 +00:00
moodler
17a23873da Fixed uniitialised variable 2003-08-29 01:03:51 +00:00
moodler
46054fa873 Unfinished and unlinked, but I'll check it in for hacking on 2003-08-28 12:10:03 +00:00
moodler
d09f3c80ac Initialiase $totalcount to prevent warnings 2003-08-28 11:57:21 +00:00
moodler
d9387950cb Little tweaks to messages 2003-08-27 13:40:26 +00:00
moodler
bf40f9c1ef Added a hook when printing recent activity. If the Library
module is activated, then a Library function is called to print a
list of recently added pages in the library.
2003-08-26 18:45:54 +00:00
moodler
c81696e599 Make sure that the Site never shows up in My Courses 2003-08-26 15:55:03 +00:00
moodler
966d5f09fe typo in variable name for teachersassignteachers 2003-08-26 12:30:48 +00:00
moodler
9997d48051 "Source" button available on Section texts 2003-08-26 12:28:26 +00:00
moodler
e550e2d694 Students now see a Change Password link under admin.
Guests see *nothing* now
2003-08-25 17:53:47 +00:00
moodler
7a3ca193d6 No need to always show the resort button 2003-08-25 01:04:11 +00:00
moodler
3695f5b487 Slight fix for displaying logs for courses starting in the future 2003-08-25 00:56:38 +00:00
moodler
82ad5e1a9f If the language is the same as the site, then default to using the
same terminology as the site does
2003-08-23 07:26:50 +00:00