415 Commits

Author SHA1 Message Date
moodler
f31200247f My Courses is now shown in the course side block if the user is not
an admin.

Also, this block now appears on course main pages (under admin).
2003-08-09 17:17:21 +00:00
moodler
f2bb0045d3 More moodling on the course categories, improving performance for
large categories and making it easier to move large numbers of
courses around.

Also cleaned up some of the navigation bars
2003-08-09 16:53:30 +00:00
moodler
f5e8e2f6e1 Better way of specifying backupdata name 2003-08-09 01:54:52 +00:00
moodler
b99897718e Little display tweaks 2003-08-07 17:00:06 +00:00
moodler
65d5517a28 Tweaks 2003-08-07 16:49:41 +00:00
moodler
26330001bc Fixed up My Moodle 2003-08-07 16:41:33 +00:00
moodler
6f065ce390 No margins on bottom or top 2003-08-07 16:20:31 +00:00
moodler
346b820821 Remove margins on UL tag 2003-08-07 16:17:34 +00:00
moodler
d2b6ba704e Another big checkin.
This includes some significant cleanups to the new course categories
system.  The basic idea is that the categories/course browser is now
unified under one system, and admin features related to that have
all been moved into the browser (as little icons).

I'm much happier with this as a foundation that can scale and be
built upon.

Still to go:

  - searching
  - paging
  - polishing

Also in here are a lot of little cleanups around the place, such as
the initial setup process.
2003-08-07 16:01:31 +00:00
stronk7
03162427df The restore option in course page is only showed if th
"backupdata" dir exists
2003-08-02 18:23:58 +00:00
stronk7
0c6e10b33e Now "backupdir" string is hardcoded in backup process. 2003-08-02 16:13:44 +00:00
moodler
434d01398a Backup and restore buttons on home page 2003-08-01 15:19:23 +00:00
moodler
f354106d46 Some tidying up 2003-08-01 15:14:49 +00:00
moodler
e92fe848ab Removed needless pass-by-reference to avoid warnings BUG 573 Thanks Eloy! 2003-07-31 12:23:49 +00:00
moodler
7e1a999c10 Moved fix_category_courses to datalib.php so it's more accessible 2003-07-31 12:09:17 +00:00
moodler
a6870f0c2c Slightly prettier display 2003-07-30 13:57:39 +00:00
moodler
90c2ca2e68 Fixes for course ordering in one category 2003-07-30 13:56:17 +00:00
moodler
c2cb45451f COURSE DISPLAY REVAMP
OK, some big changes here to the front end, particularly in
course categories and course display.

Course categories can now be nested (to any level).

Courses and course categories can now be manually sorted
any way required.

There is a groovy front end for managing these, and a better
range of options for formatting the front page.

It all still needs some polishing, which I'll be doing over
the next couple of days, including better auto-sorting.

I would not use this on production systems just yet.
2003-07-30 13:02:45 +00:00
moodler
d4df9200b6 Moved print_headline() to weblib.php 2003-07-21 04:53:55 +00:00
moodler
23b8ce894a Added target again for non-Javascript users (I'd taken it out while testing) 2003-07-20 14:02:00 +00:00
moodler
93faa0c4e8 Give each popup a resource a unique window 2003-07-20 13:58:01 +00:00
moodler
3ee3e01a03 Popup windows now work on side links too 2003-07-20 13:56:27 +00:00
moodler
86aa7ccfdf New feature - "Web link" resources can now specify a popup window
fullscreen is currently the only feature left out of this .. I had
trouble getting it to work consistently so I've left it out as being
more troubles than it's worth.
2003-07-20 13:53:31 +00:00
moodler
493486c43f Removed redundant up/down arrows ... let's see how everyone feels about it 2003-07-14 16:22:42 +00:00
moodler
7977cffdb0 Arbitrary moving of activities (aka cut and paste)
Some of this code was sent by Howard Miller, but I rewrote most of it
to make it shorter and to fit in better with current code.
2003-07-14 13:08:38 +00:00
moodler
52dcc2f9e6 Some slight cleanup (optimisation) of print_section and print_section_block 2003-07-12 06:52:26 +00:00
gregb_cc
4de4fdfe86 performance increase for make_editing_buttons, value for 'str' stored in static variable 2003-06-27 22:25:31 +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
e808d25f56 Fixed up "Assign teacher" page, and moved it to admin directory. 2003-05-14 15:58:48 +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
3bb49201b1 Some image spacing issues 2003-05-04 12:56:05 +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
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
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
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
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