stronk7
5b224948aa
course/view.php is using sesskey
...
(changes in blocks done, please check them)
Merged from MOODLE_14_STABLE
2004-10-09 20:16:05 +00:00
moodler
3d90760aa2
Just added support for "site" format, for completeness.
2004-10-08 13:46:55 +00:00
gustav_delius
9a58f7cb85
towards XHTML compliance
2004-09-12 21:43:59 +00:00
gustav_delius
dcb1bd3c9a
towards XHTML compliance
2004-09-12 13:21:01 +00:00
stronk7
a06f9887da
Changed the way to determine the site course...
...
Merged from MOODLE_14_STABLE
2004-09-05 09:23:23 +00:00
defacer
eceb9c5ce4
Small change, checking for file existence is arguably better this way.
2004-09-04 13:14:20 +00:00
mchurch
658724df8f
Added failsafe code in case config files haven't been updated.
2004-09-03 20:19:16 +00:00
mchurch
25d18413cf
Added new default block definition functionality.
2004-09-03 20:09:36 +00:00
defacer
c169db3b66
Merging latest blocks-related stuff from MOODLE_14_STABLE.
2004-08-31 07:29:25 +00:00
moodler
e02c35b2ae
Merged block upgrade fix from stable
2004-08-30 16:26:00 +00:00
defacer
0e9af91794
Fix for bug 1678:
...
Now when the format of a course is changed, all blocks which are not
applicable for it anymore are automatically purged.
2004-08-22 16:48:28 +00:00
defacer
fe78a3dc30
Ooops! Silly mistake... NOW bug 1736 is fixed.
2004-08-12 07:17:46 +00:00
defacer
0c9c6363bc
Fix for bug 1736:
...
Invisible blocks are now not contributing to block column width calculations.
2004-08-12 07:09:18 +00:00
moodler
36a2d0f508
Pass the current course to the block class when creating it to find the name
...
of the block. This allows the class to return different result depending
on the course it is in.
2004-06-30 13:17:59 +00:00
moodler
6236ed990d
Pass the whole $course variable to block_print_blocks_admin()
...
so we have more information.
2004-06-30 13:11:15 +00:00
defacer
33bee34c0b
Fix for bug #1555 :
...
Now the test for block constructors works under PHP 5.
2004-06-18 12:25:27 +00:00
defacer
89adb17442
Merging the changes from 1.4 dev branch (site index blocks + various bugfixes)
2004-05-28 10:53:54 +00:00
defacer
b88f700492
Fixed a bug: blocks without db functions caused the upgrade process to become stuck.
2004-05-27 14:16:27 +00:00
moodler
a7b44978a3
Changed the default default blocks so that calendar block is not shown
...
(for CPU issues) and upcoming_events is now shown on the right between
news and recent activity
The default blocks can be overridden by a setting in config.php
$CFG->defaultblocks
See: http://moodle.org/mod/forum/discuss.php?d=7784&parent=39296
2004-05-24 07:24:36 +00:00
defacer
0784eb7ef1
Now we can get a list of the blocks being on display in the course page.
...
Could be used by one block to detect the existence of another, for example.
2004-05-21 11:06:49 +00:00
moodler
a71bfa1c78
Supress errors on set_time_limit() for servers with safe mode restrictions
2004-05-18 14:12:21 +00:00
defacer
828c4e095a
Preparation for Nuke blocks integration, and relaxing of requirements for
...
block db upgrade scripts. We 're getting to a point where you can really
have a directory with just a single 20-line file for your block and Moodle
will do all the rest. Much like Nuke does now. That is A Good Thing! :-)
2004-05-11 16:08:03 +00:00
moodler
c598d270de
The "Add" block is now called "Blocks" ... other block admin stuff can
...
go in this block later.
2004-04-27 09:30:44 +00:00
stronk7
229f852a8a
Now blockinfo is fully supported in backup & restore. For old backups
...
(without blockinfo field, default blocks are applied). Every block
visibility is mantained in the process.
Bump versions a bit (2004042100) :-)
2004-04-20 23:28:46 +00:00
stronk7
5216e2c63c
This hasn't sense because get_list_of_plugins() exclude it
...
using its new parameter.
2004-04-20 17:47:36 +00:00
moodler
0cb77f5adf
Fixing a recent change to get_list_of_plugins that was causing
...
auth/db to be invisible bug 1245
2004-04-20 15:14:15 +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