Commit graph

84 commits

Author SHA1 Message Date
Juan Leyva
bc72a54cb1 MDL-65400 block: Support returning settings for core blocks 2019-10-23 15:33:56 +02:00
Marina Glancy
beff3806d6 MDL-10965 courses: capability to browse course list 2019-04-10 12:35:28 +02:00
Marina Glancy
442f12f81a MDL-62742 core: rename coursecat->core_course_category
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
David Mudrák
04985346a2 MDL-57564 enrol: Make use of the new default sort parameter
Now when enrol_get_my_courses(), enrol_get_users_courses() and
enrol_get_all_users_courses() methods automatically reflect the
navsortmycoursessort setting by default, we do not need to manually
compose the sorting any more.
2017-12-06 23:15:17 +01:00
Damyon Wiese
663640f5b3 MDL-40759 icons: convert uses of pix_url to pix_icon
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Sam Hemelryk
f25a6839fd MDL-44120 block: tidied up block @package uses 2014-02-16 12:17:14 +13:00
Frederic Massart
67850301d0 MDL-40436 block_course_list: Fix bad context resolution
We were trying to get the course context of a remote course
from a completely unrelated ID. It would sometimes work if the
ID was matching the one of a local course. In other places
we are not trying to find a context for the remote course, we
simply use the $PAGE context in format_string. So the usage
of the context has been removed here too.
2013-12-12 09:04:19 +01:00
Sam Hemelryk
19b13d531a MDL-42060 block_course_list: fixed sorting of mycourses 2013-11-18 11:15:02 +13:00
James Henestofel
9d82f6a836 MDL-37558 Block course_overview/course_list use setting courselistshortname to show shortname and fullname 2013-09-24 10:38:44 -04:00
Marina Glancy
30142c1905 MDL-38593 Merge code from /course/category.php into /course/index.php 2013-04-09 12:21:05 +10:00
Marina Glancy
e1d54562ce MDL-38147 deprecated get_categories(), change usage to coursecat 2013-03-25 13:23:06 +11:00
Frederic Massart
11f8718780 MDL-36323 usability: Normalising icons used in blocks 2012-11-14 14:07:40 +08:00
Sam Hemelryk
697f7bd701 MDL-30921 blocks: Added a method to inject aria roles into block structure 2012-11-02 10:58:23 +13:00
Frederic Massart
fe2fdd11e4 MDL-34456 Librairies: Replaced deprecated get_context_instance() 2012-07-24 09:49:47 +08:00
Gerard (Gerry) Caulfield
bc9cc60191 MDL-29178 Fix block naming inconsistencies 2012-02-24 16:28:17 +08:00
Aparup Banerjee
7eae2c5ae2 Merge branch MDL-29187-master of git://github.com/samhemelryk/moodle
- resolved conflict.
2011-09-13 13:52:31 +08:00
Sam Hemelryk
63390481c4 MDL-29187 multilang Reviewed the uses of category name and ensured things are being formatted correctly 2011-09-08 09:37:07 +12:00
Sam Hemelryk
8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Rossiani Wijaya
710363c97a MDL-6820 - make block icons clickable 2010-08-20 06:29:22 +00:00
David Mudrak
ec2c36f872 NOMDL MNet language pack cleanup: getting rid of Moodle Networking (replaced with MNet) and Camel Case in titles 2010-07-19 14:49:12 +00:00
Petr Skoda
8571833f0b MDL-23069 moving version and cron info into standard version.php - finally, yay! 2010-07-04 12:18:22 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
4ca6cfbfd4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:00:47 +00:00
samhemelryk
4cdb8d70ae blocks MDL-19791 Upgrade deprecated function calls 2009-09-30 06:54:07 +00:00
skodak
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
peterbulmer
1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
tjhunt
6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
tjhunt
4096752d1d MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +00:00
tjhunt
c207b6bece Remove a few unnecessary references to global $THEME. 2009-06-25 03:26:58 +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
c7da43571b MDL-14679 converted some count_records 2008-06-02 21:47:31 +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
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