494 Commits

Author SHA1 Message Date
Petr Skoda
dc6896efe0 MDL-21198 used new simple_button class when doing OUTPUT->confirm() - more consistent and hopefully easier to remember than html_form::make_button() ;-) 2010-01-03 20:47:13 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
7a82b2afc8 MDL-21204 fixed incorrect url params, credit goes to Gabriel Dias 2009-12-28 19:42:19 +00:00
Petr Skoda
92e01ab771 MDL-21125 obsoleting global $THEME 2009-12-23 17:44:17 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Andrew Davis
994cc719a6 role administration MDL-20413 up arrow next to top-most role in admin -> users -> permissions -> define roles 2009-11-25 06:03:25 +00:00
Andrew Davis
616fb016a2 roles MDL-20686 Provided a convenient breadcrumb link back to the category from the category role assignment screen 2009-11-20 01:59:46 +00:00
Andrew Davis
6b2226c96c roles MDL-20686 Provided a convenient breadcrumb link back to the category from the category role assignment screen 2009-11-20 01:53:01 +00:00
Petr Skoda
0df0df23f4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:55:31 +00:00
Petr Skoda
11b749ca90 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:32:02 +00:00
samhemelryk
c5e4f81d9a admin MDL-19787 Added PAGE->set_url calls and removed $Id tags 2009-10-15 02:19:51 +00:00
samhemelryk
fac052675a admin-roles MDL-19787 Fixed regression in recent upgrades of link_to_popup_window 2009-10-01 02:39:37 +00:00
samhemelryk
9e492db050 admin MDL-19787 Upgrade deprecated function calls 2009-09-30 06:32:25 +00:00
samhemelryk
96db467adb lib MDL-19799 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents 2009-09-08 01:39:12 +00:00
samhemelryk
d972bad1b0 navigationMDL-20216 Moved type argument to third argument 2009-09-04 08:43:49 +00:00
samhemelryk
91152a3518 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:12:01 +00:00
samhemelryk
d5bfce1f86 admin MDL-19787 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 05:31:38 +00:00
samhemelryk
69d77c232a admin MDL-19787 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 05:11:33 +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
nicolasconnault
b324b47e36 MDL-19787 Upgraded calls to choose_from_menu 2009-08-17 15:15:20 +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
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
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
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
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
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
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
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
tjhunt
946a23bd03 XHTML strict. 2009-06-12 07:30:07 +00:00
tjhunt
e03c0c1d49 blocklib: MDL-19010 fix editing block config and block roles. 2009-05-08 07:47:50 +00:00
tjhunt
66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
tjhunt
948203a5e8 moodle_page: MDL-12212 ->category and ->categories 2009-05-06 08:46:05 +00:00
skodak
8ead7b5983 MDL-19009 cleanup - there is no CONTEXT_GROUP and pinned block context 2009-05-04 20:23:20 +00:00
tjhunt
9c3ea65295 XHTML strict 2009-04-23 06:25:51 +00:00
tjhunt
109bce7971 filtering capability lists: MDL-16605 - followup - make it case-insensitive 2009-04-16 10:44:40 +00:00
tjhunt
6246de9526 filters: MDL-7336 settings page for setting the local enabled/disabled state
- managed to missed this bit when transferring my changes from git.
2009-04-13 08:24:20 +00:00
tjhunt
c468795ce9 switch roles: MDL-18132 New Role allow switches page finished.
I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.
2009-03-25 04:20:57 +00:00
tjhunt
91eb445ca0 switch roles: MDL-18132 Convert allow override page to use the shared code. 2009-03-25 02:17:14 +00:00
tjhunt
9654643e88 switch roles: MDL-18132 Refactor role allow assign page
This is ready to eliminate the duplication between this and role allow override, and the soon-to-be-written role allow switch page.
2009-03-25 01:50:55 +00:00
tjhunt
02193ad706 accesslib: MDL-18620 - followup - remove the one case of external code using one of the accesslib private globals. 2009-03-23 04:02:28 +00:00