523 Commits

Author SHA1 Message Date
moodler
8b68eb7ebc I didn't like it as much as I thought. :-) 2003-11-06 09:11:35 +00:00
moodler
43acb21fff Putting link to course listing on the course front page.
If anyone doesn't like this please say so!!
2003-11-06 09:10:01 +00:00
moodler
b5333476db Search link should go to listing (it has a search box anyway) 2003-11-06 09:05:41 +00:00
moodler
85a6e76c51 Tidy up 2003-10-31 06:45:38 +00:00
moodler
3f125001bc New feature: Allow students to see their own activity reports.
This is a course setting.  By default it is off.  When on, there
is a new link in the course admin menu for students, and they can
browse the same report that teachers see.

The report icon is temporary.
2003-10-31 05:57:30 +00:00
moodler
73d0da8084 New database GIF by Eloy! 2003-10-30 14:25:23 +00:00
moodler
4d744a220a Added a new column to user_students and user_teachers called "timeaccess"
for recording the last access to the COURSE.

This is updated at the same time as add_to_log and is now used instead
of user->lastaccess when course user listings are required.

This means course listings now show what you expect and open up the way
for a "current users" listing and instant messaging etc ...
2003-10-27 12:38:00 +00:00
moodler
6951a89497 Thomas Robb suggested a movehere image instead of the string. I made an image
and I agree it looks/works a lot better.
2003-10-27 08:31:28 +00:00
stronk7
8a59942e4c Take out one notice when the only activity was
create a module and delete it. Strange but possible. :-)
2003-10-22 16:19:21 +00:00
moodler
8dddba42ce Modularised some of the processing for "extra" information such as
information for popup windows on resources and labels
2003-10-22 13:14:56 +00:00
moodler
1b6a4b1db2 Some cleanups for some of the HTML, including addition of new styles 2003-10-21 06:40:39 +00:00
moodler
016f1bebbf Removed unnecessary code (maxlogs) 2003-10-21 03:58:08 +00:00
moodler
7f98994816 Don't display search buttons if all the courses are being displayed anyway 2003-10-21 02:25:22 +00:00
moodler
0abc815473 Allow uploaded files to be declared in popup windows too. 2003-10-19 14:21:54 +00:00
moodler
e845dee27d Icons for activities should use $CFG->modpixpath so custom icons work 2003-10-17 12:46:33 +00:00
moodler
445b23013e use format_text, not text_to_html 2003-10-13 14:03:48 +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
8664309614 Add an "unenrol" link for students on the course page 2003-10-09 16:47:57 +00:00
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