David Balch
9dcd50358a
MDL-50839 user_menu: Allow themes to set User menu avatar size.
...
Added an @array "options" parameter to user_get_user_navigation_info(),
for passing in avatarsize, and possibly other options in future.
Also removed an errant parameter in the /lib/outputrenderers.php
user_get_user_navigation_info() call, as there was no corresponding
parameter in the function definition.
(Test written by Jetha Chan.)
2015-08-11 13:57:17 +01:00
Dan Poltawski
356fd5bae7
Merge branch 'm29_MDL-49628a' of https://github.com/totara/moodle
2015-06-02 13:54:01 +01:00
Jetha Chan
b146b6a8c3
MDL-48664 output: change paging_bar to not use non-breaking spaces
2015-05-26 12:13:14 +08:00
Andrew Nicols
d29bfb25ca
Merge branch 'MDL-50084-master' of git://github.com/gurgus/moodle
2015-05-05 10:18:21 +08:00
Andrew Nicols
8ac391b826
Merge branch 'MDL-50059-master' of git://github.com/damyon/moodle
2015-05-05 09:55:11 +08:00
Damyon Wiese
003577cd85
MDL-50085 output: Remove component and subtype from renderer
...
They were only added to support templates, and due to refactoring
are not required any more. So we should remove this API change.
2015-05-05 03:19:47 +02:00
Damyon Wiese
fcc383db0f
MDL-50085 Mustache : Strictly define the search paths for templates.
...
This change moves several repeated sections of code that was searching
for templates and valid template locations to a new class. It adds
unit tests for the new class and verifies subsystem support for templates.
2015-05-05 03:19:25 +02:00
Damyon Wiese
3454072f31
MDL-50059 Output: Remove heading param from full_header
...
It was only used for a hack in clean to show the logo.
2015-05-04 17:02:33 +08:00
Dave Cooper
eb42bb7e83
MDL-50084 pix: Updated pix to use the templatable interface
2015-05-04 15:56:45 +08:00
Dan Poltawski
0627d5802c
Merge branch 'wip-MDL-45774-master' of git://github.com/abgreeve/moodle
2015-04-14 15:32:13 +08:00
Damyon Wiese
6bdc788054
MDL-45774 Navigation: Hide the second dashboard node from the navbar
2015-04-10 17:18:23 +08:00
Adrian Greeve
45367bdf0c
MDL-49688 navigation: First review fixes and version bump.
...
Part of MDL-45774.
2015-04-10 17:18:03 +08:00
Adrian Greeve
f495187da7
MDL-48935 navigation: Update the user nav breadcrumbs.
...
Part of MDL-45774.
2015-04-10 17:17:07 +08:00
Adrian Greeve
e42fb2dddf
MDL-48931 navigation: Update to context header renderer.
...
Update to the context_header render to include the messaging
JavaScript. Also updates to profile pages to remove duplicated
code.
Part of MDL-45774
2015-04-10 17:17:07 +08:00
Adrian Greeve
3b927d357b
MDL-45896 navigation: CSS and renderer improvements.
...
Part of MDL-45774.
2015-04-10 17:17:06 +08:00
Jetha Chan
ccb76d43c2
MDL-45896 navigation: CSS for the context header.
...
Part of MDL-45774
2015-04-10 17:17:06 +08:00
Adrian Greeve
261bdb24d9
MDL-45896 navigation: Created a user context header.
...
Part of MDL-45774
2015-04-10 17:17:06 +08:00
Frederic Massart
0e8418a8de
MDL-45895 user: Scaffold of the new preferences page
...
Part of MDL-45774
2015-04-10 17:17:06 +08:00
Damyon Wiese
9ee83b0d30
MDL-49650 Templates: Move templates out of invalid sub directory.
...
Also add comments so they render in the template library.
2015-04-09 13:17:59 +08:00
Brian Barnes
32bd11cb39
MDL-49628 general: improved accessibility of single selects
2015-04-09 11:12:16 +12:00
Jetha Chan
263fb9d1bc
MDL-41608 lib: add notification renderable using mustache
2015-03-30 14:29:11 +08:00
Damyon Wiese
9bdcf57951
MDL-49152 output: Templates for renderers (JS and PHP)
...
Mustache support for rendering templates from either php or js.
2015-03-14 22:48:40 +08:00
Andrew Nicols
eb67d5a690
MDL-49094 dock: Add -only class to body for non-legacy regions
...
This also tidies up the dock region code.
2015-03-06 11:09:44 +08:00
David Monllao
6e47fb1da3
Merge branch 'MDL-49024_master' of git://github.com/nadavkav/moodle
2015-02-10 12:32:23 +08:00
Nadav Kavalerchik
05da285001
MDL-49024 output: Add new translation token 'erroroutput'
2015-02-06 23:02:45 +02:00
Dan Poltawski
6cc38fb64d
MDL-48960 output: use nofollow attribute to stop crawling invalid links
...
Both the calendar set url and switch theme links are displayed to
non-logged in users which mean they get crawled by search bots. This
prevents the search bots following these links.
2015-02-05 08:13:19 +00:00
Andrew Nicols
ade0072379
MDL-48542 user_menu: Increment index for all menu items
...
The invalid type was not causing the idx to incremented, thus missing off
the final divider.
2015-01-28 12:09:23 +08:00
Andrew Nicols
0977d3d404
Merge branch 'MDL-48542-master' of git://github.com/jethac/moodle
2015-01-28 12:02:28 +08:00
Jetha Chan
22893d6f47
MDL-48542 user_menu: add proper divider support
...
Added divider support to the user menu; hardened the custom user menu against invalid input.
2015-01-19 23:58:11 +08:00
Patrik Granlöv
06844353e5
MDL-35486 outputlib: Fix typos in comments
...
Just a copy-past text error in two comments.
2015-01-14 10:53:25 +00:00
Andrew Nicols
0e61dba339
MDL-38663 login: Remove login info from forgot password page
...
Since this is checked in several locations, I have introduced a new
protected function to check whether the current page is a login page.
This could potentially be exposed as a public function, but Sam's original
comment suggests that this is undesirable.
2014-12-18 11:58:26 +08:00
Dan Poltawski
4b0c38daee
Merge branch '38663-29' of git://github.com/samhemelryk/moodle
2014-12-16 18:45:33 +00:00
Sam Hemelryk
6d7e9d2464
MDL-38663 login: forgot password login links removed
2014-12-12 13:17:48 +13:00
Jetha Chan
92037ec8c8
MDL-48394 core_renderers: remove role=presentation on user picture links
2014-11-27 15:24:33 +08:00
Dan Poltawski
c8b01e0c7d
Merge branch 'MDL36874_Text_navigation_for_Books' of git://github.com/Dave-B/moodle
...
Conflicts:
mod/book/version.php
mod/book/db/upgrade.php
2014-11-18 13:54:05 +00:00
Eloy Lafuente (stronk7)
ec070d2cf7
Merge branch '48026-28' of git://github.com/samhemelryk/moodle
2014-11-06 00:33:46 +01:00
Damyon Wiese
888d0822bd
Merge branch 'MDL-47806' of github.com:mr-russ/moodle
2014-11-04 14:34:43 +08:00
Sam Hemelryk
84d5a89c84
MDL-48026 usermenu: convert menu nowrap from CSS to method
2014-11-03 13:44:58 +13:00
David Balch
7b2eff2886
MDL-36874 mod_book: Add uarrow() output renderer.
...
In preparation for Book navigation improvements in MDL-36874, this commit
adds a uarrow() output renderer, to complement rarrow() and larrow().
2014-10-28 09:29:28 +00:00
Jetha Chan
b865a3e2d1
MDL-47559 user_menu: customusermenu setting
2014-10-27 20:04:45 +08:00
Russell Smith
34f5a2bc4f
MDL-47806: Add footer function for command line output.
2014-10-22 14:32:15 +11:00
Jetha Chan
f89a85f81c
MDL-47576 user_menu: improved dropdown styles, added JS-less styles
2014-10-14 14:59:42 +08:00
Jetha Chan
854a647e62
MDL-45893 user_menu: responsive approach; fixed minor issues
2014-10-07 23:31:47 +08:00
Jetha Chan
6da0e4cfff
MDL-45893 user_menu: based on action_menu, new responsive approach
2014-10-03 15:12:59 +08:00
Jetha Chan
46629116cc
MDL-46523 navigation: add body class when roleswitched and not in initial install
2014-09-16 13:41:41 +08:00
Marina Glancy
de9c82953f
Revert "Merge branch 'MDL-46523-master' of git://github.com/jethac/moodle"
...
This reverts commit 68373c7821
, reversing
changes made to 62d61619e8
.
2014-07-30 15:28:55 +08:00
Dan Poltawski
70acf8388b
Merge branch 'MDL-46206-master' of git://github.com/jethac/moodle
2014-07-28 17:25:04 +01:00
Jetha Chan
a9e05f49db
MDL-46523 navigation: add body class when logged in as other role
2014-07-28 15:47:46 +08:00
Jason Fowler
ae4086bd6e
MDL-46206 Accessibility: Add aria role to footer image
2014-07-25 14:37:29 +08:00
Dan Poltawski
c7075c0c91
MDL-46285 coding style fix
...
(no double newlines)
2014-07-21 14:07:39 +01:00