Commit Graph

60 Commits

Author SHA1 Message Date
03e9b0766f MDL-62835 resource: Display description for book, lesson and imscp 2019-06-04 13:26:28 +08:00
9004441b7b MDL-61019 Theme boost: lesson display issues with buttons/progress bar. 2018-07-13 09:27:06 +02:00
73e571aae1 MDL-32232 lesson: changing a page type chooser option for consistency 2018-06-28 23:06:34 +02:00
ed38521b1d MDL-61832 lesson: don't hide lesson page editing options 2018-05-24 15:45:30 +02:00
3d7f501293 MDL-61581 lesson: style continue to last buttons 2018-04-06 16:44:12 +02:00
b7cc51ca60 Merge branch 'MDL-57724-master' of git://github.com/jleyva/moodle 2017-03-22 21:20:03 +01:00
dfcabd3b33 MDL-57724 mod_lesson: Move EOL code to lib methods 2017-03-22 17:23:49 +01:00
7f0ddd40fb Merge branch 'MDL-57693-master' of git://github.com/jleyva/moodle 2017-03-21 21:18:11 +01:00
66cd7b8ecc MDL-57693 mod_lesson: Refactor to move code to lesson methods
This is a big refactor to avoid code duplication in the new WS.
Basically I’ve moved code from the page and renderer to the lesson
class.
New code is into methods, there are no code functionality changes (just
minor fixes in comments).
2017-03-21 15:48:17 +01:00
c12578d3a2 Merge branch 'MDL-57664_master' of git://github.com/dmonllao/moodle 2017-03-20 11:20:22 +01:00
b584c49d03 MDL-57664 mod_lesson: New lesson method get_content_pages_viewed 2017-03-20 11:16:46 +01:00
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
9f937c3bb3 MDL-55327 mod_lesson: Added the ability to duplicate pages. 2016-09-20 10:36:13 +08:00
541c5b8552 MDL-48109 mod_lesson: prevent CSRF on password protected lesson
This commit add a new session key hidden field on the lesson password form
and confirm if the session key is valid on related pages to prevent CSRF on
password protected lessons.
2015-11-04 18:46:27 +08:00
bb685cf3fa MDL-49581 Lesson: Remove broken high score function 2015-07-20 20:06:44 -04:00
324954141e MDL-35482 lesson: return to previous page after edit and page save 2015-03-20 12:01:24 +13:00
d27e9a2cdb MDL-49296 Lesson: Add titles to action links 2015-03-16 20:33:22 -04:00
4627726954 MDL-36673 mod_lesson: slideshow mode not working 2014-12-05 18:42:03 +01:00
28928667a0 MDL-38172 Lesson: Additional Info not displayed at end of lesson 2014-10-17 17:04:57 +02:00
9b24f68bde MDL-41177 mod_lesson: unified @package use 2014-02-16 11:51:23 +13:00
3266d14bbe MDL-38850: Fixed Horizontal bar issue in lesson 2013-10-28 11:03:17 +08:00
15cf7d66d0 MDL-21801 Lesson Module: Removing import power point functionality 2012-10-05 15:31:30 +08:00
27affa2622 MDL-35226 lesson: Adding $extrapagetitle to the api mod_lesson_renderer::header() 2012-09-17 10:24:32 +08:00
5918e3715e MDL-34467 lesson: Repalce all instances of get_context_instanc() with respective context_XXX::instance() 2012-07-27 13:26:35 +08:00
32bb764891 MDL-33030 Lesson module: fixed progress bar 2012-07-02 15:43:32 +08:00
af4de0a2c2 MDL-30910: Lesson Module: fix lesson progress bar for screen readers
AMOS BEGIN
   CPY [progresscompleted, mod_lesson]
AMOS END
2012-02-21 12:31:35 +08:00
7349495160 MDL-30463 lesson module: add space between yes and no options on start last attempt page 2011-12-12 17:14:45 +08:00
c76cd2ede1 MDL-26113 Lesson: temporary fix of page content alignment
That rendering method should not use cell style attribute at all.
Instead, the alignment should be controlled by CSS. However, this will
require more massive changes in the Lesson code to be done by the module
maintainer. As a temporary fix, left alignment is set as it usually
matches the layout that students see.
2011-02-18 10:43:25 +01:00
510f8b0e5c MDL-22290 stadnardised the cancel button on lesson password page 2010-10-26 15:16:11 +00:00
b4a3af713f lesson MDL-24084 Fixed double formating of lesson page content on expanded view 2010-09-13 09:50:15 +00:00
802aa02ea8 lesson MDL-23907 fixed - $DB->get_records first selected field should be unique. 2010-08-24 06:47:46 +00:00
cc3dbaaa30 MDL-21249 improved php docs package+subpackage info in mod/lesson 2010-07-25 10:54:39 +00:00
2e3ef7c25f MDL-23385 fixed incorrect DML conversion 2010-07-25 10:17:41 +00:00
1e7f8ea232 MDL-23510 lib.php files have to be as small as possible, the actual implementation should be in locallib.php if possible === less used memory, fewer includes, ....; + coding style cleanup 2010-07-24 18:56:56 +00:00
01c37ef1b5 MDL-23197 ugly hack that adds editor support into lesson answers and responses - no files support planned for 2.0, sorry 2010-07-20 21:11:41 +00:00
a82fb0b629 Adding classes to lesson module 2010-05-03 17:35:21 +00:00
7b55e20a2a fixed typo 2010-04-08 16:36:09 +00:00
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
8cea545e0b MDL-20204 started refactoring of html_table + more cleanup 2010-02-17 19:33:24 +00:00
4ee753eb83 MDL-20204 converting html_span to html_writer 2010-02-17 17:17:45 +00:00
9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
57cd3739a4 MDL-20204 converting link to html_writer or action_link 2010-02-11 16:56:00 +00:00
f8dab96615 MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
916276fc0a MDL-20204 more outputlib changes towards separate html_writer 2010-02-07 20:12:31 +00:00
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
0f4c64b79f MDL-21235 new link method in html_write, partinally replaces old html_link, going to add new action_link soon 2010-01-14 22:10:20 +00:00
3ba60ee16a MDL-21235 new single button rendering 2010-01-14 19:18:04 +00:00
5d0c95a5ac MDL-21235 towards the final outputlib api - implementing separate html writer and implementing new render() method 2010-01-13 17:13:52 +00:00
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00