338 Commits

Author SHA1 Message Date
moodler
f24cffb995 Logs can now be divided up by activity! 2004-01-15 07:17:12 +00:00
moodler
f36b1996a2 Strip tags from activity names when moving 2003-12-17 03:32:30 +00:00
moodler
f5104a2b97 Use fullname for Guest name 2003-11-28 10:32:32 +00:00
moodler
33c1770940 Whoops forgot a debugging statement 2003-11-21 12:54:53 +00:00
moodler
0fd7da8138 For recent activity, only parse modules that are enabled 2003-11-21 12:54:09 +00:00
moodler
2ac64806ff Names now use the new fullname function 2003-11-19 16:30:09 +00:00
moodler
a0456978ef Changed a style -> categoryname --> categorynumber 2003-11-19 02:52:26 +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
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
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
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
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
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
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
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
ebe8ddc1d9 Some slight improvement in aligning icons 2003-09-10 08:53:43 +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
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
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
d09f3c80ac Initialiase $totalcount to prevent warnings 2003-08-28 11:57:21 +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
e550e2d694 Students now see a Change Password link under admin.
Guests see *nothing* now
2003-08-25 17:53:47 +00:00
moodler
3695f5b487 Slight fix for displaying logs for courses starting in the future 2003-08-25 00:56:38 +00:00
moodler
1a5ab4490f Improvements to logs when looking at site logs.
Also, improvements to get_site_users (slower but it works now!)
2003-08-23 06:19:05 +00:00
moodler
eafc0b4470 Teacher forum name in the list is in fact the name of the teacher forum. 2003-08-22 16:35:04 +00:00
moodler
2c8cb30c38 Activities can now be drag-and-dropped within side blocks! 2003-08-22 14:55:38 +00:00
moodler
519d369f60 Added full paging to all displays of logs! :-) 2003-08-22 06:07:18 +00:00
moodler
22288704de Hidden courses are displayed hidden 2003-08-21 17:30:39 +00:00