Commit Graph

2600 Commits

Author SHA1 Message Date
mudrd8mz ed996ede96 MDL-20191 Subplugins are uninstalled together with the parent plugin
This is a first working implementation I have. I need to so I can
continue with the Workshop development. I think the performance can be
significantly improved here as the location of the subplugins is
evaluated atr least twice, I guess.
2009-08-31 15:23:02 +00:00
nicolasconnault 1f1aa44525 MDL-19756 Corrected an incorrect default text for the "cancel" button of a confirm dialog 2009-08-28 08:00:15 +00:00
moodler 7689a0f34b admin/settings MDL-20180 Moved "Debugging" from the Server menu to the Development menu where it makes more sense.
Also moved some things around a bit to make them look a little better.  Ideally Experimental would be last but this is not easy to do because unit tests adds items to the end later.
2009-08-28 07:34:39 +00:00
nicolasconnault 04eb4d1ebb MDL-19787 Upgraded calls to link_to_popup_window() 2009-08-20 13:13:50 +00:00
nicolasconnault 414a4a91b1 MDL-19787 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:07 +00:00
nicolasconnault 8fbce1c8c8 MDL-19878 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:28:40 +00:00
jonathanharker 324265457c MDL-20114 admin/cron.php: Fix SQL bug when emailing new passwords.
Author: Jonathan Harker <jonathan@catalyst.net.nz>
2009-08-18 00:07:00 +00:00
nicolasconnault b324b47e36 MDL-19787 Upgraded calls to choose_from_menu 2009-08-17 15:15:20 +00:00
jerome bff522352e repository MDL-15402 replace print_simple_box function call by new OUTPUT function 2009-08-14 08:08:01 +00:00
nicolasconnault 7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault 20486a5a21 MDL-19787 Converted print_box* to $OUTPUT->box* 2009-08-10 04:53:22 +00:00
nicolasconnault 4784db9a4e MDL-19787 Converted calls to popup_form() 2009-08-10 03:35:38 +00:00
nicolasconnault eecc6a17bc MDL-19787 Converted calls to print_paging_bar 2009-08-07 00:29:59 +00:00
nicolasconnault 73d6f52f6a MDL-19787 Converted all print_footer() calls 2009-08-06 14:12:46 +00:00
nicolasconnault 2fff8846f2 MDL-19787 Migrated calls to print_heading 2009-08-06 08:17:12 +00:00
nicolasconnault bfe5741703 MDL-19787 Migrated calls to print_checkbox() 2009-08-06 06:56:33 +00:00
nicolasconnault c41f376d1f MDL-19787 Migrated calls to close_window_button() 2009-08-06 02:54:23 +00:00
skodak 0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
nicolasconnault a85975848b MDL-19787 Changed Yes button to using GET instead of POST 2009-08-03 07:15:21 +00:00
peterbulmer 9cb267e62f MDL17980 remove redundant files 2009-08-03 03:46:58 +00:00
peterbulmer 1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
nicolasconnault 74623e0a3a MDL-19756 Improved API of OUTPUT->confirm() 2009-07-30 06:09:45 +00:00
nicolasconnault 816086f1b8 MDL-19787 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:36:32 +00:00
tjhunt ee73b1ffc2 admin: MDL-19787 $PAGE->set_url on admin/index.php 2009-07-28 04:00:33 +00:00
skodak 360dde50ba MDL-19943 new debug optiosn for validators link and page info in footer 2009-07-27 20:36:28 +00:00
dongsheng 1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +00:00
peterbulmer 81e2ef2e26 MDL19901 fix typeo
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-07-22 01:09:55 +00:00
tjhunt ebff477995 MDL-19882 Add missing require_login-s before require_capability. 2009-07-20 08:57:18 +00:00
tjhunt 929d3d873c admin: broken icons on question type page. 2009-07-17 05:51:52 +00:00
tjhunt 7cf51142ab blocks editing ui: MDL-19398 Make block config_global.html files more strongly deprecated. 2009-07-15 08:52:33 +00:00
tjhunt 95eecbd893 blocks editing ui: MDL-19398 block.multiple column no longer exists, so remove admin for it. 2009-07-15 08:24:12 +00:00
tjhunt 4a3b462021 blocks editing ui: MDL-19398 give users a path back after assigning block roles 2009-07-15 06:33:13 +00:00
tjhunt 1a6c857b6a filters admin: Re-fix heading. 2009-07-15 05:40:15 +00:00
tjhunt 704ac34407 outputlib tables: MDL-19755 fix all cases of deprecated $table->rowclass
Also fix wrong title on Manage filters admin page.
2009-07-15 05:37:31 +00:00
tjhunt e727b6e5d5 blocks: MDL-19010 Delete weird line of legacy code. 2009-07-14 08:36:40 +00:00
tjhunt e92c286c20 block contexts: MDL-19098 every block should have a context
even non-course and sticky blocks.

The parent context is block_instances.parentcontextid.

The block context should be used for checking permissions directly
related to the block, like moodle/block:view or moodle/site:manageblocks.

However, if the block is displaying information about the current page,
for example the participants block showing who 'here', then it may be
better to use the context of the page where the bloack is appearing -
in other words $this->page->context - to check permissions about the
user's ability to see participants here.

Or, if the block is displaying something stronly related to courses,
for example, a course meny block, the block should probably use the
context for $this->page->course to check permissions.
2009-07-13 08:37:34 +00:00
tjhunt 45c6de041b Remove unnecessary 'none' passed to footer. 2009-07-10 05:37:36 +00:00
skodak 8b6a09680a fixed whitespace 2009-07-09 19:54:54 +00:00
tjhunt d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
dongsheng abdcded6c7 "MDL-13766, use OUTPUT to print box" 2009-07-09 07:17:18 +00:00
samhemelryk e11a8328b3 javascript MDL-16673 Removed all removeable uses of CFG->javascript
In doing this I was able to eliminate the need for javascript.php files, now removed.
I will also be filing several subtasks to clean up the linked to JS files in OUTPUT as well
as all instance of the old style of focusing.
2009-07-07 09:09:16 +00:00
skodak d128a46db8 fixed missing OUTPUT global regression 2009-07-04 16:31:33 +00:00
tjhunt e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt 6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
tjhunt 5d3b999468 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:26:02 +00:00
tjhunt 73511be761 MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:12:19 +00:00
tjhunt 4096752d1d MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +00:00
tjhunt 67255ce1d3 XHTML strict 2009-07-02 06:57:21 +00:00
nicolasconnault 54dad8a88f MDL-19677 Removing prematurally added setting 2009-07-02 05:55:24 +00:00
samhemelryk 2a29ba7edb admin reports MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 04:10:56 +00:00