Marina Glancy
9a36be7361
MDL-37085 Properly deprecated functions print_xxx() from course/lib.php
...
- get_print_section_cm_text()
- print_section_add_menus()
- print_section()
- make_editing_buttons()
2013-01-14 15:01:28 +11:00
Marina Glancy
c58a25d6eb
MDL-37085 Move print_section() to the course renderer
...
Added two functions in the renderer:
- core_course_renderer::course_section_cm_list()
- core_course_renderer::course_section_cm()
2013-01-14 15:01:27 +11:00
Marina Glancy
ed513fad52
MDL-37085 partly moved code from print_section() to renderer
...
- added function core_course_renderer::course_section_cm_name()
- added function core_course_renderer::course_section_cm_text()
- added function core_course_renderer::course_section_cm_availability()
2013-01-14 15:01:26 +11:00
Marina Glancy
5c016ab30d
MDL-37085 fixed mess with code overwriting cm_info properties
...
In case when groupmode is forced by the course we should take it from the
course and not overwrite cm_info::groupmode externally
2013-01-14 15:01:25 +11:00
Marina Glancy
7e29340f7c
MDL-37085 Moved completion info box rendering code to renderer
...
Was part of function print_section(), now it is
new function core_course_renderer::course_section_cm_completion()
2013-01-14 15:01:24 +11:00
Marina Glancy
9a6aa5c17d
MDL-37085 Substitute function print_section_add_menus() with core_course_renderer::course_section_add_cm_controls()
2013-01-14 15:01:23 +11:00
Marina Glancy
697ff99997
MDL-37085 Load modchooser only when needed
2013-01-14 15:01:23 +11:00
Marina Glancy
170793359a
MDL-37085 get_module_metadata() now returns link as moodle_url instead of string
2013-01-14 15:01:22 +11:00
Marina Glancy
f89c53f679
MDL-37085 Substitute get_print_section_cm_text() with cm_info functions
2013-01-14 15:01:21 +11:00
Marina Glancy
f558b291c1
MDL-37085 separated logic and html in make_editing_buttons()
...
- added function course_get_cm_edit_actions()
- added function core_course_renderer::course_section_cm_edit_actions()
- removed completely presently not working moveup/movedown controls
- removed not working duplicate controls from front page
2013-01-14 15:01:20 +11:00
Marina Glancy
49aa038b4e
MDL-37085 Minor UI and code improvements in print_section()
2013-01-14 15:01:19 +11:00
Rossiani Wijaya
6fc61f2d08
MDL-36554 Admin settings: make tables class consistent throughout admin settings
2013-01-14 10:10:54 +08:00
Jason Fowler
b4a7ce9e71
MDL-35818 - Enrolment - Changing all enrolment method icon alt text attributes to include the name of the course
2013-01-14 09:46:04 +08:00
Sam Hemelryk
f5c51a6d64
Merge branch 'MDL-35568_dndupload_hidden' of git://github.com/davosmith/moodle
2013-01-14 13:51:48 +13:00
Sam Hemelryk
469749706a
Merge branch 'MDL-36095-master' of git://github.com/sammarshallou/moodle
2013-01-14 12:24:06 +13:00
Sam Hemelryk
8d9c15a44e
Merge branch 'MDL-36511' of git://github.com/srynot4sale/moodle
2013-01-14 12:13:00 +13:00
Sam Hemelryk
f1ac8520ae
MDL-36035 course: renamed new functions and cleaned up docs
2013-01-11 15:03:49 +13:00
Brian King
e226a86d76
MDL-36035 course: reduce database queries when calling print_whole_category_list
...
On a Moodle with 1252 course categories, this reduces the database
reads from 1313 to 62 for course/index.php
2013-01-11 15:03:32 +13:00
Frederic Massart
95d1d0373b
MDL-34435 reports: Log category actions
2013-01-10 15:10:22 +08:00
Dan Poltawski
319d937602
Revert "Merge branch 'wip-MDL-31750-master' of git://github.com/abgreeve/moodle"
...
This reverts commit 8361f557a1
,
2b9e957a27
and
fae51910bf
2013-01-10 11:17:33 +08:00
Jerome Mouneyrac
fb695f6e3d
MDL-37354 clean return value for each externallib PHPUnit tests
2013-01-09 13:47:01 +08:00
Aaron Barnes
16d89d6604
MDL-36511 course: Save "completion starts on enrolment" disabled state
2013-01-09 15:29:57 +13:00
Eloy Lafuente (stronk7)
8361f557a1
Merge branch 'wip-MDL-31750-master' of git://github.com/abgreeve/moodle
...
Conflicts:
course/tests/courselib_test.php
2013-01-09 01:31:50 +01:00
Paul Nicholls
0d47afe69d
MDL-37162: Use CSS to make mod show/hide icons not look "clickable" in hidden sections
...
Previously, the resource toolbox initialiser was using JS to find the show/hide icon, then find its section ancestor, then check if the section was hidden - only to pointlessly set pointer:auto if it was. That didn't meet the aim stated in the comments ("Disable" show/hide icons (change cursor to not look clickable) if section is hidden), but this patch meets that goal with a single CSS rule.
2013-01-09 11:44:15 +13:00
Sam Hemelryk
f44e7d0a77
Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle
...
Conflicts:
user/view.php
2013-01-09 09:34:22 +13:00
Jerome Mouneyrac
c2bc5a7008
MDL-37194 activity chooser displays entire list of default activities/resources
2013-01-08 16:39:55 +08:00
sam marshall
e81da1540a
MDL-36095 Section availability: Make behaviour consistent with activities
2013-01-07 15:57:00 +00:00
Simon Coggins
fd1d829500
MDL-35991 - use PARAM_LOCALURL for local urls
2013-01-07 10:09:20 +08:00
Rajesh Taneja
30697cf3fe
MDL-37062 Course: Show one 'Add new course' button
...
Currently if there is no course and admin/course creator go to create course, he/she see two
'Add new course' buttons.
2013-01-07 09:44:36 +08:00
Sam Hemelryk
f27cbf0790
Merge branch 'MDL-35887_dnd_completion' of git://github.com/davosmith/moodle
2013-01-07 11:06:41 +13:00
Davo Smith
0470a094e2
MDL-35568 course dndupload - resources created with the same visibility as the section they are dragged onto
2013-01-04 12:31:31 +00:00
Dan Poltawski
1b5c5e5788
Merge branch 'wip-MDL-37290-m25' of git://github.com/samhemelryk/moodle
2012-12-24 10:54:51 +08:00
Sam Hemelryk
3330e65354
MDL-37290 course: fixed up navbar when editing categories
2012-12-24 13:05:56 +13:00
Sam Hemelryk
486c53f25c
Merge branch 'wip-mdl-37015' of git://github.com/rajeshtaneja/moodle
2012-12-24 10:55:31 +13:00
Petr Škoda
49ee37d3ac
MDL-36898 use only enrolled users as course contacts
2012-12-20 22:38:50 +01:00
Rajesh Taneja
e5ad278a94
MDL-37015 Resource: link in onclick should not contain html special char
2012-12-20 10:21:36 +08:00
Davo Smith
c7e61fba0a
MDL-35887 course dndupload - correct default used for completion tracking when resources created by drag and drop
2012-12-18 20:46:26 +00:00
Dan Poltawski
22898af76f
MDL-36259 - change case of table alias to match definition
2012-12-18 14:27:46 +08:00
Dan Poltawski
3ab43c0502
Merge branch 'MDL-36259' of git://github.com/timhunt/moodle
2012-12-18 14:25:52 +08:00
Dan Poltawski
3280819b20
Merge branch 'MDL-30899_master' of git://github.com/dmonllao/moodle
2012-12-18 09:10:42 +08:00
Eloy Lafuente (stronk7)
7039c823dc
Merge branch 'w50_MDL-37171_m25_outdatedexcel' of git://github.com/skodak/moodle
2012-12-18 00:13:45 +01:00
Jason Fowler
c8d1e4aa8c
MDL-35056 - Backup/Restore - Converting the 'Unmet Dependencies' Message to be a Developer Debug message to make moodle less confusing to the average user
2012-12-18 09:58:53 +13:00
Dan Poltawski
8ca70aff14
Merge branch 'wip-mdl-36736' of git://github.com/rajeshtaneja/moodle
2012-12-17 12:08:57 +08:00
Sam Hemelryk
6a1273cbc7
MDL-25928 course: Fixed course info on the combo list to be a popup
2012-12-17 16:03:06 +13:00
Petr Škoda
75427a824c
MDL-37171 fix multiple spreadsheet related PHP4isms
2012-12-15 12:36:40 +01:00
Thanh Le
31f4086460
MDL-36259 course short names: ensure it displays when enabled in admin
...
Fixed 5 Moodle pages that does not display the course short name even if "Display extended course names" setting is on. In fixing this, search.php also included related minor code to change to minimise DB calls to improve performance.
2012-12-15 10:44:34 +00:00
Dan Poltawski
4cc8e8cbb1
Merge branch 'MDL-34791-master' of git://git.luns.net.uk/moodle
2012-12-11 13:22:42 +08:00
Dan Poltawski
358414748c
Merge branch 'MDL-36808-master' of git://github.com/sammarshallou/moodle
2012-12-11 12:18:12 +08:00
Dan Poltawski
595282dfcc
Merge branch 'wip-MDL-35884-master' of git://github.com/phalacee/moodle
2012-12-11 11:17:29 +08:00
Andrew Robert Nicols
a71d9a9414
MDL-34791 AJAX Update a graded activity's title in the gradebook on rename
2012-12-10 14:14:28 +00:00