Sam Hemelryk
6919b90f05
MDL-25602 blocks Altered order of block editing icons and added CSS to better control the size of block editing icons
2011-08-12 10:26:20 +08:00
Marina Glancy
28e63a9d8c
MDL-27122 Allow admin to change CFG->undeletableblocktypes on 'Manage blocks' settings page. Instances of protected block types will be undeletable only from site context
2011-07-29 13:51:40 +08:00
Tim Hunt
fd3932fe54
MDL-26618 Moving sticky blocks on other pages does not work in Oracle.
...
This was due to some missing $DB->sql_empty() in a query affecting the
block_positions table.
2011-07-04 15:36:16 +01:00
Eloy Lafuente (stronk7)
ddaa914789
MDL-27829 block creation - ensure correct pagetypepattern in mod/ pages
2011-07-01 20:38:06 +02:00
Eloy Lafuente (stronk7)
0822174adc
Merge branch 'MDL-27812_front_page_blocks' of git://github.com/andyjdavis/moodle
2011-06-29 15:29:14 +02:00
Andrew Davis (andyjdavis)
d863aecb92
MDL-27812 blocks: fixed the ability to add a block and have it display on all pages
2011-06-28 18:50:03 +08:00
Andrew Davis (andyjdavis)
b38e2e28a1
MDL-27829 blocks: altered the algorithm used to find plugin page types
2011-06-27 12:27:41 +08:00
Andrew Davis (andyjdavis)
b822fc8511
MDL-27829 blocks: added some brains to generate_page_type_patterns() so that it can handle special cases like course reports
2011-06-22 17:01:21 +08:00
Andrew Davis (andyjdavis)
0f63f2714f
MDL-26105 blocks: made the block settings help icons work
2011-06-16 12:05:53 +02:00
Andrew Davis (andyjdavis)
84a1bea972
MDL-26105 blocks: readded the my moodle page's page type list generator function
2011-06-16 12:05:48 +02:00
Sam Hemelryk
46d3b9be73
Merged branch 's7_MDL-26105_block_settings_master' git://github.com/andyjdavis/moodle.git with changes
2011-06-13 16:54:52 +08:00
Andrew Davis (andyjdavis)
fb794ab73c
MDL-26105 blocks: fixed some php errors and made a help string better
2011-06-09 17:03:27 +08:00
Sam Hemelryk
32a510de4e
MDL-26105 block setting, improvement, replace switch-case with get_core_subsystems + get_plugin_types
2011-06-09 13:51:14 +08:00
Dongsheng Cai
b1627a92e5
MDL-26105 Block settings should contains less options, and be more user friendly
...
AMOS BEGIN
MOV [page-blog-index, pagetype], [page-blog-index, blog]
MOV [page-blog-x, pagetype], [page-blog-x, blog]
MOV [page-tag-x, pagetype], [page-tag-x, tag]
MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
Sam Hemelryk
faca4f2f29
MDL-27400 Fixed up typo in blocklib.php
2011-05-06 16:27:15 +08:00
Petr Skoda
cf717dc26b
MDL-27148 use new get_in_or_equal() param prefix instead of start
2011-04-14 15:15:01 +02:00
Tim Hunt
d9c26e2174
blocklib MDL-25654 fix API inconsistency be renaming add_pretend_block to add_fake_block.
...
I added a deprecated method add_pretend_block that forwards to add_fake_block, so old code should be break. However, I aslo updated all the callers in core code.
2010-12-20 18:22:37 +01:00
Sam Hemelryk
bf2b43dfe1
blocks MDL-25074 When adding pretend blocks if the requested region doesn't exist it now uses the default region.
2010-11-05 03:45:32 +00:00
Petr Skoda
365a594107
MDL-24321 switching to stdClass in /lib/
2010-09-21 08:07:44 +00:00
Aparup Banerjee
e2f4557a40
course MDL-24156 added deletion of user_preferences about block instances data after a course delete.
2010-09-20 02:28:42 +00:00
Petr Skoda
9311b925c6
initialized variable before include and fixed wrong require()
2010-09-17 07:52:06 +00:00
Petr Skoda
7604f5c1b0
commenting out unused broken code so that it does not irritate IDEs
2010-09-17 07:49:39 +00:00
Sam Hemelryk
d8ef60bd72
blocks MDL-24066 Blocks can now choose to be hideable + navigation and settings are no longer hideable.
2010-09-14 02:12:41 +00:00
Sam Hemelryk
4d6fd15c00
blocks MDL-23976 Added block method to determine if any of the blocks in a block region are docked. Kudo's to Brandon for the patch.
2010-09-08 09:01:15 +00:00
Petr Skoda
c6947ba7a5
MDL-23899 migration to new locale aware asort
2010-09-05 13:00:47 +00:00
Sam Marshall
51f96f5bd9
blocks MDL-24040 Creating course fails horribly if you make one of the default blocks invisible
2010-09-01 17:36:46 +00:00
Petr Skoda
847bed234d
fixed a few comment typos
2010-08-28 11:54:24 +00:00
Sam Hemelryk
05c92729f2
blocks MDL-23935 fixed abuse of moodle_page protected variables
2010-08-26 06:27:47 +00:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
Martin Dougiamas
34a988e25f
MDL-23183 Made the block config form a little more robust (check file AND class, not just file)
2010-07-18 08:05:00 +00:00
Sam Hemelryk
7e4617f7a6
navigation-dock MDL-22560 Major changes to he way the dock works
...
* Themes can now check if a region is completely docked
* Dock now delegates events to improve performance
* Dock now completely YUI3
* No longer uses YUI overlay instead has custom control
2010-05-31 03:33:34 +00:00
Sam Hemelryk
56ed242b51
navigation MDL-20276 Fixed up the navigation for the quiz module and question section as per Tim's recommendation.
...
* Routine navigation through the quiz and question modules
* Fixed navbar through quiz and questions
* Pages headers added throughout
* Added method to turn a navigation node into a tabs array suitable for use with print tabs
2010-05-21 03:15:48 +00:00
Martin Dougiamas
464c7e70c9
MDL-22313 Implemented missing method is_block_present() in block manager class, so that blocks will properly repect multiplicity settings
2010-05-04 17:58:33 +00:00
Martin Dougiamas
0184a3fd45
MDL-19124 Reimplementing the My Moodle default blocks for upgraded sites, to match new installs
2010-05-04 16:17:41 +00:00
Martin Dougiamas
03d9401e7d
My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
...
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them. I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.
There's still work to do. Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0. We also could use a much better course overview block and better CSS styling of the profile pages. But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00
David Mudrak
69c14bbd3e
MDL-15252 Got rid of yet another dependency on get_string() returning [[...]]
...
Actually none of current blocks defined the checked string 'editinga' so
it does not break BC if get_string('blockconfiga', 'moodle') is used
all the time.
2010-04-27 22:31:29 +00:00
David Mudrak
4d74c87667
MDL-15252 MDL-21375 Removing illegal stringid '*' and some whitespace
2010-04-27 13:04:15 +00:00
Sam Hemelryk
88f77c3c26
navigation MDL-22044 Added setting to limit content that is shown on the navigation back into the navigation block
2010-04-21 09:44:16 +00:00
Sam Hemelryk
3406acdef9
navigation MDL-22044 Major navigation structure changes.
...
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure .
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda
15822fe21c
MDL-22054 improving blocks management UI and removing debug message because the block manage page shows the correct info instead
2010-04-11 12:08:40 +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
Sam Hemelryk
3c14795adb
navigation MDL-21410 Fixed issue with navigation when in a blocks context and set page layout to admin when editing blocks
2010-02-18 09:23:14 +00:00
Petr Skoda
dd72b308ed
MDL-20204 blocks rendering does not depend on html_component any more
2010-02-17 18:36:26 +00:00
Petr Skoda
75015e5fc1
MDL-20204 converting link to html_writer or action_link
2010-02-11 16:27:53 +00:00
Petr Skoda
f8dab96615
MDL-20204 a lot more steps away from html_select
2010-02-10 09:37:50 +00:00
Martin Dougiamas
0aed347fd1
blocks config MDL-21375 Usability improvements for editing block stickiness, especially when dealing with frontpage and system blocks.
2010-01-20 09:08:04 +00:00
Martin Dougiamas
02ba576c27
blocks/sticky MDL-21375 This patch allows frontpage blocks to be easily turned into SYSTEM-wide sticky blocks. There is still an outstanding problem about how to deal with SYSTEM blocks that are not sticky. I think these should also be seen on the front page all the time but I'm not sure. See the bug for discussion about this.
2010-01-19 10:07:52 +00:00
Petr Skoda
24e4119a09
MDL-21369 fixed regression, thanks Mark Johnson
2010-01-18 12:12:38 +00:00
Petr Skoda
bc0663abfb
MDL-21233 fixed recent regression
2010-01-17 11:01:31 +00:00
Petr Skoda
8afba50b84
MDL-21233 get_query_string() is definitely not recommended in new code, instead use moodle_url constructors with proper parameters; removed some more legacy url concatenation operations; realized out_action is not needed often, because we shoudl pass arounf moodle_url instances instead of old url strings
2010-01-17 10:54:13 +00:00