415 Commits

Author SHA1 Message Date
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
moodler
98e9a035d7 Course category listings now have a search box in the navbar for students
and non-users
2003-08-21 16:24:29 +00:00
moodler
ee44a11f06 FIxed a missing quote 2003-08-21 16:15:58 +00:00
moodler
56e34ee405 Fixed bug when moving sections with apostrophes in the summary (bug 641) 2003-08-21 15:06:32 +00:00
moodler
8ef9cb5618 Some fixes to handle very very big categories.
- paging
  - more efficient SQL
2003-08-21 09:33:07 +00:00
moodler
d1d74247e4 Invisible courses are now properly dimmed 2003-08-20 13:44:44 +00:00
moodler
5b8540e0d5 OUCH! usegrades should be showgrades 2003-08-20 13:41:56 +00:00
moodler
fff79722e5 A new course field called "showgrades" which allows the teacher to
turn the display of the grade book on and off.
2003-08-20 07:32:24 +00:00
moodler
9936fe81ea The number of courses in the categories is now cached in the
the category, and only updated when courses are moved/added/deleted etc
or the admin looks at the category listing
2003-08-19 09:26:36 +00:00
moodler
a8b5671697 Improvements to course searching
- can search for full words or non words with +word -word
 - no longer groups by category, sorts by full name
 - prints paging as well as total number
 - search help
2003-08-19 05:32:20 +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
a33c4ae8c2 Cutting and pasting too quick 2003-08-17 13:14:41 +00:00
moodler
3b1bb96902 Slight regression in policy (to bring it back to exactly how it all is in 1.0.9).
Only course creators can assign teacher to courses UNLESS the config variable
teacherassignteachers is true (by default it will be off).
2003-08-17 13:06:10 +00:00
moodler
4d9d90c006 Tweaking student page, and also making it available to ordinary teachers 2003-08-17 07:29:36 +00:00
moodler
92cdab5afd Put user images on teacher and student links 2003-08-17 06:06:36 +00:00
moodler
7d569d2861 Simple interface to manually add students to a course. 2003-08-17 05:46:07 +00:00
moodler
6c38b7e012 Use the new get_recent_enrolments() function in datalib to find users
in recent_activity
2003-08-17 01:46:00 +00:00
stronk7
f3c6d21942 Show more admin links to isteacheredit() users 2003-08-16 11:44:47 +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
5dc3d80e29 FIxed some links to all courses 2003-08-13 06:55:57 +00:00
moodler
c571f3fc8a Little fixes for the course_sideblock 2003-08-11 11:51:08 +00:00
moodler
38a10939db Search engine for courses 2003-08-11 09:45:50 +00:00
moodler
440eb0d79d More clean ups 2003-08-10 08:39:29 +00:00
moodler
55e4b5f97d Some cleanups of the admin page to make it
- more explanatory
  - more expandable

Apologies for the lost muscle memories, but I think this
will work better in the long run.
2003-08-10 08:01:14 +00:00