689 Commits

Author SHA1 Message Date
moodler
25cd6a0133 Fix the up down icons again 2003-06-10 15:51:23 +00:00
moodler
d7b97e437f Fixed help strings 2003-06-10 15:36:13 +00:00
moodler
12905134ab Sections can now be moved up and down 2003-06-10 15:27:09 +00:00
moodler
ad41694c04 Allow activities to be moved from section 1 to section 0 2003-06-10 13:26:26 +00:00
moodler
7daee58cb3 Some minor styling ... incidentally, last change was bug 480 2003-06-04 07:15:12 +00:00
moodler
6f9d8d65f6 More robust enrolment screen 2003-06-04 07:12:26 +00:00
stronk7
8af2a809fb Little modification to show course's full name and short name too. 2003-05-28 18:18:45 +00:00
moodler
399266ce40 Removed the non-breaking space   from the section summaries because
it would cause problems when the summary ended in a URL
2003-05-26 06:58:10 +00:00
moodler
40343df7fd Users were able to see their own user activity reports. This was a hang-over
from long time ago.  As there is no GUI for this, I'm removing it for now so
that students are not able to see their own activity reports.

This issue probably needs to be discussed, and a GUI developed for it.
2003-05-24 07:33:22 +00:00
moodler
783da26290 A bit of an audit and a clean up of require_login to add consistency.
No major problems found, just some code tidy-up
2003-05-24 07:29:17 +00:00
moodler
73fafc3886 Bad bug fixed. Non-teachers could hide/show whole sections. 2003-05-24 06:59:36 +00:00
moodler
522f608d02 Important bug fixed! Non-teachers could modify course! 2003-05-24 06:53:47 +00:00
moodler
e808d25f56 Fixed up "Assign teacher" page, and moved it to admin directory. 2003-05-14 15:58:48 +00:00
moodler
215e628dcf Removed some debug statements I'd left in by mistake 2003-05-10 03:02:19 +00:00
moodler
5867bfb50e New feature to manage installed code modules!
You can now hide/show individual activity modules and even delete them completely!

For example, if you hide the "choice" module, then all choice activities
will be hidden throughout the whole site, and "Choice" will not
appear on any "Add..." menu.

Deleting a module is a complete deletion of all data from the database.

If you want to try out the deletion on a real module, I suggest the
pgassignment module, since it will soon be deleted from CVS anyway
(because it's being replaced with workshop).

Look for "Manage modules" on the admin menu.
2003-05-09 17:24:17 +00:00
moodler
fce1ce13c8 Hide admin links (eg grades) from guest accounts 2003-05-06 03:02:58 +00:00
moodler
266fbe1a8a Changes to improve hide/show of individual activities when the last
action was to hide/show a topic
2003-05-06 02:51:38 +00:00
moodler
1ea7c62794 Weeks now do show/hide too ... and some cleanups all round 2003-05-04 15:10:25 +00:00
moodler
ff82802366 Slightly better logic 2003-05-04 13:44:56 +00:00
moodler
3bb49201b1 Some image spacing issues 2003-05-04 12:56:05 +00:00
moodler
8140c67e45 More tweaks to the topic interface ... nice light globes! 2003-05-04 12:34:43 +00:00
moodler
dfec7b013f Some clean ups - various things to do with Topics view 2003-05-04 09:43:03 +00:00
moodler
59345eb4ec Removed unused function 2003-05-04 08:36:32 +00:00
moodler
7d99d6959e New feature: hide/show topics! 2003-05-04 07:59:46 +00:00
moodler
31d6331615 Don't go through enrolment procedure if they are already enrolled. 2003-04-29 13:04:22 +00:00
moodler
b86fc0e2a6 New feature replacing the old zoom function.
Now these are saved in a new table called course_display,
each user and each course can have independent settings.

I'm intending to expand this table later for all the other
course display stuff (like hidden topics etc)
2003-04-28 13:29:26 +00:00
moodler
95abee03e6 Fixed user images 2003-04-28 04:55:31 +00:00
moodler
dc0dc7d5dd Tidying up the way pix images are used.
It's now also possible to override the standard pix with a set of new ones
in a theme.
2003-04-28 04:32:55 +00:00
moodler
f9d5fd3b3c Added a LIMIT to the SQL query for a bit more efficiency 2003-04-27 03:32:45 +00:00
stronk7
c0605295bd Changed to dimm non-visible grades (mods). Bug #378.
Done a bit more:
  - Show dimmed entire column.
  - Difference html (for web) and text (for .xls and .txt export) in
    many variables.
  - Using the dimmed_text style to dimm.
2003-04-26 19:35:27 +00:00
stronk7
0830bae4d7 Changed to hide non-visible grades (mods). Bug #378. 2003-04-26 18:16:36 +00:00
moodler
1b5910c4a5 Trying a different tack for recent_activity since the old way was
still producing too much data and overflowing PHP memory on busier
sites (eg moodle.org).

Now, there are more database queries, which is unfortunate, but the
data is much more specific, and no sorting needs to be done, so
this is a performance boost.

I don't know how these will cancel out ... my guess is that very
small sites may be very slightly slower on the course page, but
that large sites will be much faster.

Let's see.
2003-04-26 15:08:34 +00:00
moodler
a54b8dd3af Need course module stuff 2003-04-26 14:21:42 +00:00
moodler
667ab3252b Get less logs from the database 2003-04-26 14:12:12 +00:00
moodler
b1992e65cf Trying an experiment on moodle.org 2003-04-26 13:49:13 +00:00
moodler
10a95b432c Fix for use of COURSE_MAX_RECENT_PERIOD 2003-04-26 13:41:31 +00:00
moodler
3d89198946 Cleaned up definition of constant COURSE_* values in course/lib.php
Moved COURSE_TEACHER_COLOR out to style sheets where it belongs (.teacheronly)

Added some efficiency when printing recent activity

 - don't print more than one weeks worth of updates
  - don't keep re-parsing logs once they've been used
2003-04-26 12:17:30 +00:00
stronk7
b3cc742cf9 Avoid showing course updates (add, update, delete) about hidden mods. Bug #367 2003-04-25 23:17:53 +00:00
paca70
3399a22c9f Show adduser only when adding new user from moodle is posible. 2003-04-25 17:18:40 +00:00
moodler
b328523cc1 Style for "You are logged in as xxx" and the link to the course home page. 2003-04-25 09:23:08 +00:00
moodler
a5c411d4c2 Smaller font 2003-04-25 09:01:01 +00:00
moodler
583a7283e9 Edit my profile link goes straight to the edit screen 2003-04-25 08:59:10 +00:00
moodler
4d4267739c Some minor visual improvements - firstname/lastname separated, initialised some variables 2003-04-25 07:15:12 +00:00
moodler
a282d0ffda Adding user's name at the top of the course page.
Just experimenting with it there for a while ... feedback welcome
2003-04-25 06:40:30 +00:00
moodler
67b0821af9 Fixed a typo, see bug 361 2003-04-24 14:37:22 +00:00
stronk7
fec5a6a63f Changed the get_array_of_activities function to return the visible property too 2003-04-23 16:37:37 +00:00
stronk7
c7da6f7a8f Bug #363. When everyting is hidden at main-menu, error occurs. Changed the get_all_mods function to check this. 2003-04-22 20:46:12 +00:00
stronk7
e6cf424727 Bug #261 closed. Appended course short-name to distinguish courses
when assigning teacher.
2003-04-22 19:27:11 +00:00
moodler
32dcc87484 Fixed new bug that was preventing news being shown on course page 2003-04-18 07:25:58 +00:00
moodler
fc6a91994e Robustness on a variable 2003-04-18 07:25:32 +00:00