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
moodler
bf3bc898ac
Assigned $strsearchresults
2003-04-18 01:57:24 +00:00
moodler
a00283d6cd
Clear a variable, just in case
2003-04-17 15:46:39 +00:00
moodler
c1d9daca3c
Clear the variable, just in case
2003-04-17 15:45:57 +00:00
moodler
7226ce02b1
Robustness for $course variable
2003-04-17 13:20:26 +00:00
moodler
1acfbce5b6
Hide/show individual activities in any section
...
Code submitted by Eloy Lafuente (thanks!) for 1.0.8 ... I hand-merged it
into 1.0.9.
2003-04-14 15:11:09 +00:00
paca70
5e776a02ad
To check string sizes
2003-04-11 12:05:21 +00:00
moodler
be09831ac3
More info about admin location and a fix
2003-04-10 13:57:21 +00:00
moodler
dae73c05e9
New $CFG->admin directory can override the location of the admin
...
directory.
Useful because some web hosts use /admin for other things.
2003-04-10 13:46:52 +00:00
moodler
6a3461ad1c
Links to admin page in header are now relative
2003-03-21 04:56:05 +00:00
moodler
746665838a
More robustness on checking sequence variables
2003-03-21 04:53:08 +00:00
moodler
f8430195d9
Small fix to avoid PHP warnings
2003-03-21 04:49:29 +00:00
moodler
3ac1dedc35
Added some popup help for topic/week summaries
2003-03-11 05:57:00 +00:00
moodler
1e5a2bf584
You can now use Richtext editor to edit section texts, plus the page is a
...
bit more consistent now
2003-03-11 05:43:39 +00:00