67 Commits

Author SHA1 Message Date
Francois Marier
6280ef3e58 Fix CVS-git drift (remove some files deleted in CVS) 2009-02-01 23:43:28 +00:00
peterbulmer
d3c9affc98 MDL-16264 Make mnet courses affect course_list block
If a user has mnet courses, these should affect block display in the same way as local courses do.
2008-08-29 04:09:27 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
skodak
c7da43571b MDL-14679 converted some count_records 2008-06-02 21:47:31 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
dongsheng
cf603034e6 MDL-14367, change alt text, see tracker, merged from MOODLE_19_STABLE 2008-04-16 02:37:51 +00:00
moodler
433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
poltawski
6255645f47 MDL-13112 - order my courses block alphabetically when only displaying a users
individual courses.
merged from MOODLE_19_STABLE
2008-01-23 15:40:56 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
poltawski
ac17355524 MDL-12415 - When we have more than one category/lots of courses the course
block shows two links next to search other (Search Courses/All courses)
which point to the same place....

The all courses link is able to be switched off and the search courses is not,
for this reason i've gone for removing the search courses link.

Merged from MOODLE_19_STABLE
2007-12-04 12:57:02 +00:00
stronk7
e3fc108e41 Let's use the default (cached) list of fields here. MDL-10571
Merged from MOODLE_18_STABLE
2007-07-23 16:34:41 +00:00
stronk7
993b052886 Small improvement. Reducing the list of fields returned
by get_my_courses() in this block.

Merged from MOODLE_18_STABLE
2007-07-22 10:30:28 +00:00
moodler
78d4a57d30 Merged display footer fixes for block course_list 2007-03-07 02:02:17 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
moodler
fb6e87f373 Merged additions from stable 2007-02-26 08:52:38 +00:00
toyomoyo
e2cd3ed012 merged nick's fix for MDL-8582, ampersand in course name/shortname causes xtheml strict problems 2007-02-23 06:03:09 +00:00
martinlanghoff
db4b12eb70 mnet: introducing get_my_remotecourses() and get_my_remotehosts() -- use them too 2007-01-19 08:57:13 +00:00
martinlanghoff
0743661ea5 mnet: it is $USER->mnet_foreign_host_array instead of $SESSION->mnet_foreign_host_array. $SESSION is fraught with peril as it persists acros logins/logouts 2007-01-19 08:36:02 +00:00
martinlanghoff
f3203630ca mnet: this stuff is only for logged in users! 2007-01-19 08:14:18 +00:00
martinlanghoff
b90052f253 mnet: fix logic and html layout in block_course_list 2007-01-19 07:54:41 +00:00
martinlanghoff
5e142a172c mnet: pix for mnethost is now the tiny moodle icon ;-) 2007-01-19 07:15:12 +00:00
donal72
afbedfb8d8 Mnet: Bugfix: Faulty logic - if the user has no local courses, we didn't bother to check for remote courses. 2007-01-16 22:52:24 +00:00
donal72
4d8c087e02 MNET: MyCourses block enriched with links to remote Moodles when roaming 2007-01-16 05:00:18 +00:00
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