689 Commits

Author SHA1 Message Date
martin
2c309dc22a Definition and use of new isediting() function for checking whether a user
is not only in editing mode, but ALLOWED to be editing the current course.
Used to show editing buttons etc
2002-07-29 15:45:46 +00:00
martin
9690be38ff Much simpler date-setting using new moodlelib functions 2002-07-29 15:10:21 +00:00
martin
388f8911e3 Can now specify course by "short name" using name parameter. Useful for
integrating with external interfaces.  Thanks to dopey for the idea.
2002-07-29 13:10:25 +00:00
martin
58918d13db Slight fix for daily x-axis (nicer-looking numbers) 2002-07-29 01:38:31 +00:00
martin
394933864c Fixed up the graphs (one for userday and they are also now correct for timezones) 2002-07-27 13:33:50 +00:00
martin
2b8cef8038 Changes to improve the user activity reports 2002-07-27 09:44:01 +00:00
martin
cbc83a39f3 Fixed up graph pages 2002-07-27 08:35:13 +00:00
martin
c24d3070cc Improvements to user activity report - including graphs 2002-07-27 08:31:09 +00:00
martin
359b138b5d Changes to how functions are called from modules - much cleaner now 2002-07-25 13:47:11 +00:00
martin
56e234f204 cough 2002-07-23 18:26:58 +00:00
martin
6ee410e3c3 title tweaking 2002-07-23 18:26:01 +00:00
martin
49a6849ee5 Formatting outline tweaks 2002-07-23 18:24:11 +00:00
martin
5110affbb7 H3 -> H4 2002-07-23 18:20:24 +00:00
martin
82f5285f5f Fixes to Activity reports 2002-07-23 17:04:31 +00:00
martin
bbfe835ba3 Improvements to activity reports 2002-07-23 16:48:47 +00:00
martin
7468bf014f Part of "contributions" overhaul in course/user.php 2002-07-23 16:24:12 +00:00
martin
c31ebf26c7 Doesn't display discussions AND forums in the Activities 2002-07-20 18:50:23 +00:00
martin
37b155148d Slight formatting tweaks (forum index) 2002-07-20 18:20:19 +00:00
martin
7ddb84b5e5 Fixed formatting of welcome email 2002-07-19 12:18:12 +00:00
martin
9fd9fe68c1 typo 2002-07-19 12:11:47 +00:00
martin
7ff56f2d4a Altered blink to make it less annoying 2002-07-19 12:11:15 +00:00
martin
97b3785424 Make 'Edit profile" link blink, as a reminder, if not used yet 2002-07-19 12:08:30 +00:00
martin
af978a6dc4 More language changes 2002-07-19 12:01:35 +00:00
martin
a83fded1a9 Consistent use of get_site() instead of checking course->category directly 2002-07-11 05:30:10 +00:00
martin
72e62a9ec7 Fixed week zooming 2002-07-10 15:17:43 +00:00
martin
f9730aefef Remove teacher posts from recent activity (for students) 2002-07-04 08:49:22 +00:00
martin
82aa0e8de6 Added new teacher forum. TABLE CHANGED: forum 2002-07-04 08:30:36 +00:00
martin
95f48e102e Prevent caching of these forms 2002-07-04 08:06:21 +00:00
martin
fa0626c6f4 Language-related fixes 2002-07-04 07:52:06 +00:00
martin
7a302afc5f Slight changes to userdate() function. It now uses gmstrftime() instead of
gmdate to format times, thus allowing it to take advantage of locale, if set,
to print dates in the appropriate language.  Several userdate invocations
had to be changed, though, to use the different formatting specs.
2002-07-02 07:02:28 +00:00
martin
77775bff99 Minor formatting tweaks 2002-06-25 16:42:34 +00:00
martin
e3f0a6a737 Minor changes 2002-06-25 12:08:38 +00:00
martin
b5fe4c935d Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.
2002-06-25 11:49:06 +00:00
martin
578fdd0a03 Renamed from editweek to editsection 2002-06-25 11:46:12 +00:00
martin
a079d4c1a0 Renamed week->section 2002-06-25 11:44:11 +00:00
martin
d9d1c35db1 Nicer formatting of editing modules, takes into account course format 2002-06-25 07:56:26 +00:00
martin
e07635f4d0 Changes related to new forum type: eachuser and some general forum-related tweaking 2002-06-25 06:47:34 +00:00
martin
de8c1874c1 Improved formatting of module links (using a TITLE that is modulename) 2002-06-25 03:32:50 +00:00
martin
6d9541bddf Slight formatting improvement (list module name in link title) 2002-06-25 03:30:31 +00:00
martin
f93f848ab3 Mass change related to separating forum from discuss and making it a
separate module (again).  This frees up forums for some interesting
developments.  Note that database tables have moved around.
2002-06-20 15:15:22 +00:00
martin
7dc1ea300a Modifications to unenrol. Now a teacher can unenrol students from the course. 2002-06-19 15:42:49 +00:00
martin
0b35af180a Added a "topics" format. it's very similar to the "Weeks" format,
except it isn't constrained by times.  Useful for flexible courses
where the pace isn't known and is subject to change.  The teacher
can "mark" the current topic and change this marking as necessary.
2002-06-19 05:04:31 +00:00
martin
849bc02af1 Whoops ... removed Choose... 2002-06-12 04:31:08 +00:00
martin
cfa5d3f2a0 Changes to course menu 2002-06-12 04:29:03 +00:00
martin
720a43cec7 Improvements to logs for admin user (can view any course) 2002-06-12 04:22:41 +00:00
martin
c629ec1b1d Tweaks to course format (search box) 2002-06-11 07:27:31 +00:00
martin
aa9872466d Added search form 2002-06-11 04:56:11 +00:00
martin
9604ccb131 Tiny fix so that when today is specified, it's selected in the list 2002-06-11 04:28:01 +00:00
martin
edf7fe8c19 New usergetmidnight function and use in finding today's logs 2002-06-10 14:01:30 +00:00
martin
8c0de43cb8 Added generic "your teacher" when there is no teacher defined yet 2002-06-10 13:47:05 +00:00