Commit graph

33 commits

Author SHA1 Message Date
Bas Brands
5d80184dfd MDL-63107 mod_book: rewrite styles for book chapter block
* using flexbox to position titles
* fix for title overlap on edit mode
* show correct bullets, number or indent
2019-12-16 13:26:53 +01:00
Peter
448584b5df MDL-60384 mod_book: Add a label to highlight the previous chapter
* Added current chapter's title to the button title so it's clear where you're adding the chapter to.
* Update the behat tests to reflect the changes made to the title
2019-02-11 11:16:39 +01:00
Eloy Lafuente (stronk7)
9fed2066ca Merge branch 'MDL-50793-master-2' of git://github.com/mihailges/moodle 2019-02-05 16:14:26 +01:00
Mihail Geshoski
8cf64176a7 MDL-43385 booktool_print: Improve print output 2019-02-05 16:10:31 +08:00
Mihail Geshoski
854f6116f3 MDL-50793 mod_book: Display hidden chapters to teachers 2019-02-05 09:46:48 +08:00
Andrew Hancox
0178314682 MDL-57457 mod_book: Implement tagging 2017-04-21 10:06:08 +08:00
Eloy Lafuente (stronk7)
ffe9505d2b Merge branch 'MDL-56295-master' of git://github.com/andrewnicols/moodle 2016-10-18 20:02:22 +02:00
Eloy Lafuente (stronk7)
05e588a056 Merge branch 'MDL-56293-master' of git://github.com/andrewnicols/moodle 2016-10-18 19:08:08 +02:00
Andrew Nicols
4f1f2a3468 MDL-53752 mod_book: Clarify book title 2016-10-14 12:48:10 +08:00
Andrew Nicols
6942122290 MDL-56295 mod_book: JS Confirmation of chapter removal 2016-10-14 11:29:16 +08:00
Andrew Nicols
d93c3b6890 MDL-56293 mod_book: Add ToC block in chapter edit/deletes 2016-10-06 15:43:03 +08:00
Cameron Ball
48ae4707cc
MDL-47371 mod_book: Fix out of scope $unescapedtitle 2016-07-13 10:26:24 +08:00
Cameron Ball
a9ebd43b27
MDL-47371 mod_book: Don't double escape book titles 2016-07-12 10:31:17 +08:00
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Gareth J Barnard
6eaa3230ba MDL-53029 mod_book: Hidden chapter has markup in alt and title attrs. 2016-02-10 18:10:24 +00:00
Ankit Agarwal
22255d8c78 MDL-43730 mod_book: Make chapter action links accessible 2014-12-17 22:28:05 +05:30
David Balch
f4de846143 MDL-36874 mod_book: Add text navigation.
Based on a patch by Matthew Cannings, this replaces Book's previous/next arrow
image links with a choice of: no links, image links, or chapter title text links.
2014-10-29 09:43:10 +00:00
Mary Evans
f6fa4b7b91 MDL-41595 mod_book: Book mod does not add TOC to default region 2013-09-08 17:40:30 +01:00
Frederic Massart
bdb66a4635 MDL-36628 usability: CSS adjustments for book module 2012-11-23 11:30:05 +08:00
Marina Glancy
43aadf0401 MDL-33857 Increase performance of queries for Server files repository (small improvements) 2012-10-10 15:21:27 +08:00
Marina Glancy
b8de262139 MDL-33857 Increase performance of queries for Server files repository
- file_info class now has new methods get_non_empty_children and count_non_empty_children; added default implementation;
- all core classes extending file_info have their implementation of those methods;
- class repository_local_file used for caching get_children() results is removed;
- class repository_local rewritten to use new methods from file_info;
- added caching of retrieved modules in file_browser::get_file_info_context_module() - this query is slow and executed multiple times on big servers
2012-10-10 15:21:26 +08:00
Dan Poltawski
34741af185 Merge branch 'MDL-33121' of git://github.com/rwijaya/moodle 2012-06-19 14:14:54 +08:00
Rossiani Wijaya
0a5b9e79e3 MDL-33121 Book Module: removing prev/next value from book_preload_chapters and more code cleaning 2012-06-18 16:10:15 +08:00
Rossiani Wijaya
fb909757a6 MDL-33121 Book Module: Removing unused book_log(), renamed css class and fixed the book_preload_chpaters: next and previous values 2012-06-13 15:42:58 +08:00
Tõnis Tartes
5b7e511ea8 MDL-33121 Book Module: performed minor changes and cleanup for the module 2012-06-13 15:28:07 +08:00
Rossiani Wijaya
b15ef0b058 MDL-33121 Book Module: Fixed documentation header 2012-06-13 15:25:23 +08:00
Ankit Agarwal
b0b30cb648 MDL-33123 book: Fixing numbering issue with hidden sub-chapters 2012-06-12 16:03:40 +08:00
Eloy Lafuente (stronk7)
a60d964abc MDL-33120 book: changes in code based on amended strings
- Replace numberingoptions_help by numberingoptions_desc.
- Delete the faq code and related styles.
- Bump version to force lang/style refresh.
2012-05-27 17:42:53 +02:00
Sam Hemelryk
2cd972c1c6 MDL-32709 Pre-integration trivial clean up
* Added a comment for the BOOK_NUM_* defines.
* Fixed broken redirects in tool/importhtml/index.php
* Fixed typo in book_preload_chapters [subchpaters => subchapters]
* Fixed copy paste docblock error in tool/print/locallib.php
* Removed the .gitignore file as Eloy had previously mentioned that.
2012-05-21 14:06:00 +12:00
Eloy Lafuente (stronk7)
29656fe24b MDL-32709 book: coding style, deprecated and minor fixes 2012-05-20 21:47:58 +02:00
Eloy Lafuente (stronk7)
1fc9e895ef MDL-32709 book: replace some deprecated stuff. Some pending yet, blame $PAGE 2012-05-20 21:47:50 +02:00
Eloy Lafuente (stronk7)
3542c4f4a9 MDL-32709 book: general comments and phpdocs cleanup 2012-05-20 21:47:29 +02:00
Eloy Lafuente (stronk7)
e81c01b676 Subtree merged git://github.com/skodak/moodle-mod_book.git (master branch) into mod/book 2012-05-20 21:43:40 +02:00