stronk7
bf63e03ebe
Now all the blocks global config pages are valid XML. Related to MDL-7861
2007-01-13 20:14:40 +00:00
skodak
0d905d9f34
MDL-7861 new class .icon and .iconsmall
2007-01-08 09:14:05 +00:00
moodler
786dceabb3
Fixed a typo SQL call
2007-01-04 06:08:37 +00:00
martinlanghoff
d09d923b92
mnet: somewhat hackish changes to course_list. Needs further work
2007-01-04 03:25:18 +00:00
stronk7
5d0fc5c33d
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
d7a7184730
New upgrade.php file added for this module. MDL-7214
2006-10-26 16:33:49 +00:00
moodler
81cc8046c4
Merged My Courses fixes from stable
2006-10-21 16:36:31 +00:00
moodler
5e6893720e
Guest should not see My Courses MDL-6736
2006-09-28 14:48:29 +00:00
toyomoyo
ec7a8b7999
adding capabilities
2006-09-07 08:57:56 +00:00
toyomoyo
cc398c7262
adding caapabilities
2006-09-04 08:45:08 +00:00
skodak
86a1ba04fd
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack
2006-09-02 11:44:04 +00:00
moodler
2de48ff93d
Added check for $CFG->disablemycourses
2006-06-16 04:28:56 +00:00
patrickslee
765d3c7dde
Show category list rather than the whole list of courses if there is only one category and with more than 200 courses in it
...
Otherwise we will have a HUGE list of courses flooding our browser.
Backported from MOODLE_15_STABLE
2006-02-08 04:21:22 +00:00
mjollnir_
0d6b9d4f4d
MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in.
2005-08-16 00:25:39 +00:00
gustav_delius
6742ed5c5e
fixed typo, merged from stable
2005-06-04 17:23:37 +00:00
ikawhero
1993927c23
Merged from MOODLE_15_STABLE
...
Link to add new course when there are no courses available only appears to
course creators. Bug 3420.
2005-06-04 10:45:45 +00:00
moodler
f21eb048cd
Use $CFG->pixpath
2005-03-14 13:48:43 +00:00
defacer
3ef642d96a
Implemented discussion from bug 2547:
...
* Block authors no longer need to set $this->content_type
* If you want to make a "list" block, just derive from block_list
instead of block_base
* All switch() statements gone from library code
* Overloaded method is_empty() added to block classes for convenience
2005-03-02 19:22:26 +00:00
moodler
fa966efe7a
FIxed some old <p> tags
2005-02-08 18:33:08 +00:00
defacer
6573a08f63
Changing !$course->category to $course->id == SITEID
2005-02-05 03:16:44 +00:00
defacer
e89d741af3
New naming conventions for class names to bring them in line with the
...
rest of Moodle. The convention for blocks is now:
class block_something extends block_base { ... }
HOWTO updated accordingly, plus some more minor polishing. More to come.
2004-11-23 18:53:34 +00:00
defacer
2456d7c815
Updated the two standard blocks that have configuration features to work
...
with the latest version of the Blocks API.
2004-11-19 02:36:57 +00:00
moodler
ade736f13c
When there are no courses to list in the block, then include a link for adding one.
2004-11-18 06:33:23 +00:00
defacer
9b4b78fd6a
Da monster-commit of blocks version 2!
...
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!
Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
stronk7
398ef378dc
admin/block.php is now using sesskey.
...
Merged from MOODLE_14_STABLE
2004-10-02 23:13:37 +00:00
gustav_delius
b4510d5333
closed some input tags
2004-09-12 22:23:51 +00:00
gustav_delius
98ea2a6e02
closed some image tags
2004-09-12 21:55:34 +00:00
defacer
2b0d60ec78
Fix for bug 1662:
...
Changed the way applicable formats for blocks are handled. The changes are
short codewise, but to grasp all the implications read the forum discussion
at the relevant URL.
2004-08-22 16:54:48 +00:00
moodler
7da0830c40
Whoops, accidentally checked in some aborted code
2004-08-12 05:06:48 +00:00
moodler
9fb216e8b6
Fixed some version numbers on three blocks
2004-08-12 04:44:14 +00:00
moodler
a4851aaf71
Add link to "all courses" for admins etc
2004-08-04 02:35:29 +00:00
moodler
2eb68e6f6b
Various cleanups of the installation process
2004-07-29 18:01:32 +00:00
gustav_delius
c293c07a5e
Make sure course list block is never empty.
2004-06-01 09:47:28 +00:00
gustav_delius
c96a69542a
Removed spurious characters from start of file (introduced by myself)
2004-05-30 10:48:11 +00:00
gustav_delius
58bed599f3
Configuration option for block_course_list to determine what admin sees
2004-05-30 09:01:56 +00:00
moodler
4588b7d2e5
Undoing Gustav's checkin ... the admin needs to see all courses
2004-05-30 05:52:26 +00:00
gustav_delius
fad21b7c7b
Also admin now sees only his or her own courses in the "My courses" block. Fixes bug 526
2004-05-30 01:02:39 +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
paca70
a595c0b6ea
Files for postgresql
2004-04-19 04:30:55 +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