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
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
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
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
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
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
486c53f25c
Merge branch 'wip-mdl-37015' of git://github.com/rajeshtaneja/moodle
2012-12-24 10:55:31 +13:00
Rajesh Taneja
e5ad278a94
MDL-37015 Resource: link in onclick should not contain html special char
2012-12-20 10:21:36 +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
Dan Poltawski
8ca70aff14
Merge branch 'wip-mdl-36736' of git://github.com/rajeshtaneja/moodle
2012-12-17 12:08:57 +08:00
Petr Škoda
75427a824c
MDL-37171 fix multiple spreadsheet related PHP4isms
2012-12-15 12:36:40 +01: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
Mark Nielsen
e893c6d442
MDL-36607: Improve block drag and drop
...
* Adding support for subpage
* Adding support for regions that do not start with "side-"
2012-12-10 14:12:57 +13:00
Sam Hemelryk
533469cba4
Merge branch 'MDL-36640-master' of git://git.luns.net.uk/moodle
2012-12-10 11:42:57 +13:00
Jason Fowler
ceb3551726
MDL-35884 - Course - Remove text from ALT attribute for activity chooser
2012-12-07 13:50:08 +08:00
Sam Hemelryk
ad47d02595
MDL-36878 course: fixed issue with module metadata cache
...
Credit goes to Sam Chaffee.
2012-11-29 12:56:55 +13:00
sam marshall
da6076f1cc
MDL-36808 Completion: Incorrect escaping for activity name in completion tickbox
2012-11-27 13:00:59 +00:00
David Monllao
4bcbdb3e88
MDL-30899 moodle-core-notification Adding close button title for accessibility
2012-11-27 14:41:42 +08:00
Dan Poltawski
981f72be5e
Merge branch 'MDL-36623-master-int' of git://github.com/FMCorz/moodle
2012-11-27 10:40:24 +08:00
Frederic Massart
e40bd74620
MDL-36550 usability: CSS updates on course page
2012-11-26 17:00:29 +08:00
Frederic Massart
65edd8ad6d
MDL-36623 usability: CSS adjustments for new course and courses access icons
2012-11-22 17:26:09 +08:00
Rajesh Taneja
588b94ac65
MDL-36736 course: Availability information should not be visible for hidden modules
...
If user is viewing hidden module, availability information should only be visible to
user when editing and module is visible. If editing and module is hidden, then hide
availablilty information as it's invalid.
When user is not editing and activity is hidden then don't add availability information.
2012-11-22 15:11:26 +08:00
Rajesh Taneja
7b4737de26
MDL-36736 course: Availability information will use hide class for hidding
2012-11-22 15:11:25 +08:00
Dan Poltawski
1b01909597
Merge branch 'w47_MDL-36547_m24_sectiongen' of git://github.com/skodak/moodle
2012-11-21 15:26:15 +08:00
Rajesh Taneja
6402047395
MDL-36707 Course: set conditionalhidden class properly, so it doesn't overlap with dimmed class
2012-11-20 13:40:25 +08:00
Petr Škoda
46453565f3
MDL-36547 do not use modinfo when creating new modules, improve coding style
2012-11-17 09:05:29 +01:00
Andrew Robert Nicols
3186c12412
MDL-36640 Logging: Correct testing of log->info.
...
log->info sometimes contains additional information which can be looked up
from other tables. This should only be attempted if the field is numeric,
but the CSV, XLS, and ODS outputs were not making this check.
There is an additional case for the print_mnet_log function which has not
been covered - this is because the mnet logging is currently broken beyond
the scope of this bug rendering this section untestable. These issues are
raised in MDL-36642.
2012-11-16 11:21:29 +00:00
Dan Poltawski
e7468fb2ed
Merge branch 'wip-MDL-35770-master' of git://github.com/marinaglancy/moodle
2012-11-15 16:26:26 +08:00
Marina Glancy
a062c97ce8
MDL-36594 reset cache inside course format when course marker is changed
2012-11-15 16:20:05 +08:00
Dan Poltawski
e4a9cc642f
Merge branch 'MDL-36417-master' of git://github.com/FMCorz/moodle
2012-11-15 10:39:08 +08:00
Dan Poltawski
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
Frederic Massart
fbb207c57a
MDL-36323 usability: New icon names to assign and switch roles
2012-11-14 14:07:40 +08:00
Frederic Massart
10994f27a1
MDL-36449 usability: Improved renaming toolbox and alignment on course page
2012-11-14 11:38:11 +08:00
Frederic Massart
bb128107e3
MDL-36449 usability: Normalising icons on course page
2012-11-14 11:38:06 +08:00
Frederic Massart
00a342341c
MDL-36417 course: Toggling section visibility update module visibility
2012-11-14 09:32:38 +08:00
Adrian Greeve
fae51910bf
MDL-31750 - course: Creating a consistent api for checking permissions for moving courses to different categories.
2012-11-13 09:42:45 +08:00
Marina Glancy
3776335ce2
MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled
2012-11-10 15:34:29 +08:00
Dan Poltawski
2ac705c41d
Merge branch 'MDL-36092-master' of git://git.luns.net.uk/moodle
2012-11-07 16:56:11 +08:00
Frederic Massart
281d730ea6
MDL-36392 course: Adding a module to a section does not corrupt its sequence
2012-11-06 17:00:47 +08:00
Dan Poltawski
918085d048
Revert "MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled"
...
This reverts commit 45f93db912 .
This reverts commit 3f798d4a3d .
2012-11-05 15:20:22 +08:00
Marina Glancy
45f93db912
MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled
2012-11-05 11:46:34 +08:00
Marina Glancy
850acb3560
MDL-35768 MDL-36017 Avoid calling format_base::get_course() when not necessary
...
- If we want to check fields 'numsections' or 'hiddensections' call course_get_format()->get_format_options()
- We still use extended course object in course/edit.php, update_course(), create_course(), and inside course formats
2012-11-05 11:22:06 +08:00
Marina Glancy
b5cf83f080
MDL-36017 Fields numsections, hiddensections and coursedisplay are now format-specific options
...
- Fields added to format_legacy as default course format options;
- Upgrade script copies fields values from table course to course_format_options;
- Fields removed from table course;
- Fields removed from edit course form;
- Since front-page course has a 'numsections' setting, format_site defines it as it's option;
- Removed accessing those fields in core code unless we know that format supports them and in this
case instead of $course = $DB->get_record('course'); we use:
$course = course_get_format($courseorid)->get_course(); This way all format-specific options
are added to the $course object
2012-11-02 10:56:19 +08:00