645 Commits

Author SHA1 Message Date
defacer
82b181f265 Eloy is probably right, the preferred width calculation should be cached. 2004-04-20 07:32:57 +00:00
stronk7
1eb25080df Detected a display bug when looking for possible causes of
bug 1248. Widhts were only calculated in teacher mode and
they were down to 100px in student mode!!
Perhaps we could make some session caching to avoid some
calculations every time the course is displayed. Seems to
work fine now.
Anyway, if I compare the right column width
in my server (with blocks running) against moodle.org (without
blocks), it seems that the right column is narrower in my test server...
2004-04-19 19:24:42 +00:00
stronk7
0f3fe4b6ad First Official realease of the "Blocks System".
Integrated with Moodle:
    - Install automatically.
    - Update course->blockinfo for each course at installation time.
    - Modified course creation to insert into blockinfo field.
    - Modified restore to insert into blockinfo field.
    - Admin options (hide, show, delete, config) from admin page.
    - Lang strings inserted (en only).
    - Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.

TODO:
=====
Support it really in backup/restore.
????

Enjoy!! Ciao :-)
2004-04-18 23:20:53 +00:00
moodler
b124c95ab4 clean the filenames to make sure there aren't funny characters 2004-04-17 03:30:26 +00:00
moodler
450c3d39cc Link to teacher forum is now shown in the current langage always 2004-04-16 07:13:10 +00:00
moodler
695f71e1bd Fix problem editing category names containing html 2004-04-14 02:41:22 +00:00
moodler
196ca3fe59 Fixed a bad bug where the Recent News block wasn't obeying Groups properly. 2004-04-12 09:57:14 +00:00
stronk7
5fef34d7a9 Avoid one warning where $content and $list were empty. 2004-04-10 22:24:23 +00:00
fiedorow
d442864213 Fixed type in category.php 2004-04-05 16:07:59 +00:00
fiedorow
9ff5310a08 Bug fix for sort order in category display and allow limit on recursive display of categories and courses 2004-04-05 03:13:10 +00:00
moodler
70fb77128f WHoops, my last checkin had a typo 2004-04-03 04:50:30 +00:00
moodler
426b19373d Strip tags in log menus too 2004-04-03 01:32:03 +00:00
moodler
0d250ac10e Adding calendars by default --- later we need a course option to control
visibility
2004-03-29 15:33:26 +00:00
moodler
92be8db8be Fixed just a tiny typo 2004-03-25 15:34:23 +00:00
moodler
b346b424d6 Prevent glossary etc from adding links to activity names that are
about to be turned into links (using <nolink> tags)
2004-03-22 16:16:49 +00:00
moodler
92c26858ed FIxed some holes with hidden categories bug 1093 2004-03-20 12:21:08 +00:00
moodler
5f8505882e To avoid some unpleasant stuff with filters etc, I made slight changes
to separate the printing of the summary text from the edit button ...

Might need some testing because people have adjusted old texts to
work the old way ...   if anyone complains I'll put it back ...
2004-03-19 08:18:13 +00:00
moodler
6f5a792f1d Grades page now supports groups 2004-03-13 14:26:09 +00:00
moodler
a12f686b62 Function name change ... hope it doesn't break any third-party code,
sorry if it does!

  get_users_in_group --->  get_group_users

  ... more consistent with other functions
2004-03-13 14:24:34 +00:00
moodler
ca1388dac7 Non-editing teachers shouldn't be able to assign students 2004-03-13 13:43:06 +00:00
moodler
dd050b3320 Non-editing teachers should not be able to assign students 2004-03-13 13:42:21 +00:00
selliott
b934e7a342 Fixed to hide hidden activities from normal users and to display dimmed for teachers / admins.
Also fixed an off by 1 error when displaying topics.
2004-03-11 14:07:56 +00:00
moodler
9c08ad13de Hide hidden activities from students on Recent Activity page 2004-03-10 13:38:08 +00:00
moodler
99674db811 If $CFG->loglifetime is active then use it make the log graphing nicer.
bug 1120
2004-03-10 11:29:35 +00:00
moodler
dd506ec8e5 Removing a notice 2004-03-10 07:20:42 +00:00
moodler
82d0993215 Include now uses absolute path, not relative. Solved problem
on one Sun installation.
2004-03-10 07:13:57 +00:00
moodler
dcf9cea2a1 Don't check the login for the site-level course 2004-03-09 12:40:30 +00:00
moodler
39f34785c8 Removing the random assignation button for now ... needs work.
Bug 1107
2004-03-09 06:47:23 +00:00
selliott
3819ed3115 Fixed incorrect display of time 2004-02-23 21:17:03 +00:00
selliott
1e23ed0aa4 Fixed url to activities 2004-02-23 20:41:54 +00:00
moodler
0f87cb1d09 1. Recent activity reports now activated!
2. Some cleanup of the reports, using boxes
2004-02-23 18:05:59 +00:00
moodler
e081f299f5 Renamed a variable to fix display when different languages are mixed together 2004-02-21 03:26:04 +00:00
selliott
f5ffb87d24 Cleaned up some string literals 2004-02-20 22:16:28 +00:00
selliott
587510bec5 changes to function print_recent_selector_form for normal/advanced filters in course/recent.php 2004-02-20 21:38:42 +00:00
selliott
08e2111bf8 Added logic for a normal view and advanced view for the filter 2004-02-20 21:34:21 +00:00
moodler
f96f80db5c Include "Courses" in heading as generic title 2004-02-20 12:59:12 +00:00
moodler
c0b85daf7b Clean up of terminology course categories and courses 2004-02-20 12:56:17 +00:00
moodler
352d94cf37 Change course sideblock title depending on contents 2004-02-20 12:43:20 +00:00
moodler
a711021a75 Added a missing style for the internal table of the headingblock,
since inheritance doesn't seem to work

   headingblockcontent
2004-02-15 13:54:47 +00:00
moodler
3c89f9a837 If $CFG->filterall is defined true, then activity names are filtered.
Useful in particular for multilang filter

More to come.
2004-02-15 10:08:05 +00:00
moodler
c245b6a339 Quick GUI to turn off/on hiding of group pictures 2004-02-15 09:59:16 +00:00
moodler
3afe1085e2 Format group description 2004-02-15 09:29:55 +00:00
moodler
2ad0d1da3c Format the group description 2004-02-15 09:29:20 +00:00
selliott
05263aefe1 Removed extra <hr> tag 2004-02-15 06:40:25 +00:00
selliott
4581271ad1 Changed selector form in course/lib.php for course/recent.php
Rewrote course/recent.php to allow sorting of data before it is output
2004-02-15 06:11:15 +00:00
moodler
32d03b7b85 Better logic for showing group mode buttons
Teacher can now see forced mode more clearly
2004-02-15 04:13:25 +00:00
moodler
110a32e2ca Bug fix - if groupmode is forced then group icons are not even displayed 2004-02-15 03:20:51 +00:00
moodler
41b94a4044 New activities now default to course groupmode 2004-02-15 03:19:52 +00:00
moodler
1d06dd30bb Tiny formatting fix 2004-02-14 17:01:14 +00:00
moodler
c469a7efb6 Use $modname if it's defined 2004-02-14 02:44:35 +00:00