6 Commits

Author SHA1 Message Date
defacer
f184e8311f Improved error handling a bit. 2004-06-25 07:01:08 +00:00
defacer
a8ae6b3923 Removed the "hardcoded" method to find the block name, the correct is to ask
the block itself. It was causing errors for blocks with no lang file. Also,
removed some useless commented code.
2004-05-13 12:24:11 +00:00
stronk7
c3ff2d75c6 Added two strings about deleting blocks from admin interface... 2004-05-06 22:41:55 +00:00
defacer
c867774d76 Changed the way the fix for bug 1255 works, while making sure it still works :)
It just didn't feel right to intrusively set object properties from "outside",
and since it's now one variable assignment less, I thought why not... :)
2004-04-22 07:11:55 +00:00
stronk7
acf4fe1773 Solved one issue that caused the show/hide option to fail.
See bug 1255 (http://moodle.org/bugs/bug.php?op=show&bugid=1255)
2004-04-21 16:18:51 +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