Sam Hemelryk
e5824bb9c6
MDL-25394 Tidied up several things in order to get this integrated
2011-05-31 14:28:03 +08:00
Anthony Forth
37959dd471
MDL-25394 Improved support for mobile and device themes
2011-05-31 14:25:52 +08:00
Petr Skoda
ce8b66c67f
MDL-26881 work around the block context setting problems
2011-03-27 16:39:27 +02:00
Petr Skoda
4478743ca4
MDL-26265 use cm_info in PAGE->cm because it has more useful information; add context property to cm_info
2011-02-07 23:11:43 +01:00
Sam Hemelryk
82721a2f9f
NOBUG: Fixed up annoying type in moodle_page @property list
2010-12-08 02:04:47 +00:00
Andrew Davis
e7f93d5cb5
message MDL-25148 added method to $PAGE to allow or disallow popup notifications
2010-11-11 06:06:11 +00:00
Sam Hemelryk
66f6369763
output MDL-24895 Removed debugging notice when setting an unchangeable pagelayout
2010-11-05 04:19:08 +00:00
Sam Hemelryk
367a75fae4
themes lib MDL-24895 Multiple fixes to better handle overflow.
...
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Sam Hemelryk
b4c91012d4
output MDL-24683 Fixed up premature initialisation of theme and output through the admin structure.
2010-10-15 02:04:17 +00:00
Petr Skoda
17c70aa007
MDL-16723 automatic redirects to https when loginhttps enabled - this solves accidental usage of http version + it also solves recent navigation regressions + fixed regression from PAGE conversions + deprecated old httpsrequired() and $HTTPSPAGEREQUIRED
2010-10-10 15:04:19 +00:00
Petr Skoda
6a630a1093
improved PHP docs
2010-09-18 12:12:33 +00:00
Petr Skoda
bd348bdaa4
fixed missing global causing regression
2010-09-17 08:05:35 +00:00
Aparup Banerjee
39726f35aa
navigation MDL-24129 showing the hidden regions when moving blocks. This also adds the 'blocks-moving' class to the body as an indicator for themers.
2010-09-10 07:20:41 +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
7db8dd1ea4
MDL-23922 preventing invalid modifications of PAGE object
2010-08-24 13:39:13 +00:00
Petr Skoda
eb5bdb3510
MDL-23797 improved detection of PAGE->context abuse andproblems; fixed incorrect use of this->context instead of this->_context; missing PAGE->context does not throw fatal error any more
2010-08-16 19:11:21 +00:00
Aparup Banerjee
59e2121e16
theme MDL-23363 config setting showblocksonmodpages (theme settings) & usages now removed
2010-08-06 06:20:28 +00:00
Petr Skoda
4ee513460d
MDL-23655 fixed yet another PAGE->context issue - let's make system context default PAGE->context in CLI scripts
2010-08-04 07:55:49 +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
Petr Skoda
39530dcae2
MDL-23062 reverting incorrect fix, this needs to be fixed directly in accesslib
2010-07-07 08:01:41 +00:00
aparup
dbd9b303cc
Glossary MDL-23063 fixed bug with the way get_record was being called.. kudos to Stephen
2010-07-07 07:21:13 +00:00
aparup
8d6d7d4291
Course MDL-23062 turned off $doanything super admin power for a editing capability check to effect a switched to role from admin.
2010-07-07 05:49:24 +00:00
Andrew Davis
54caa598ee
gradebook MDL-22522 fixed navigation issues around editing letters
2010-05-25 07:03:06 +00:00
Petr Skoda
01ee99f4c5
yet more comment typos
2010-05-22 20:19:23 +00:00
Sam Hemelryk
59c58c360d
yui MDL-20204 Added body class yui3-sam-skin
2010-05-06 09:32:00 +00:00
Andrew Davis
9d88a01ba6
pagelib MDL-22282 Fixed a php syntax error
2010-05-03 05:26:30 +00:00
Sam Hemelryk
ee8df661dc
themes MDL-21489 Added support for a legacy theme used with old browsers. Thanks Brendan for the patch
...
Admin can now select a theme for modern browsers and old browsers, the user then sees the modern theme with modern browsers and legacy theme with old browsers. Currenlty IE6 (or less) are considered old browsers.
2010-04-21 04:21:53 +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
e372f4c7c1
MDL-22050 removing moodle/langconfig duplicates
...
AMOS BEGIN
MOV [thisdirection,core],[thisdirection,core_langconfig]
AMOS END
2010-04-10 18:26:20 +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
90723839ca
themes MDL-21862 Implements base theme and standard theme.
...
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
* Plugin CSS has been pushed back into the plugin directories as styles.css files.
* Install_print_header has been corrected.
* Redundant or deprecated rules have been removed.
* Several minor class changes throughout Moodle.
* CSS is now single line rules not multiline indented.
* Installs with theme=standardold automatically switch to standard.
* body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
* There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
* I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
Petr Skoda
4aea3cc7cd
MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout
2010-02-11 13:27:02 +00:00
Sam Hemelryk
4ac8345ff5
NOBUG: Updated the docs for the moodle_page class to cover the magic get functions
2010-01-28 03:19:21 +00:00
Petr Skoda
b9bc201962
MDL-21233 escaped parameter is far more importatnt than the overrideparams in out() method - especially all JS urls should be converted to out(false); also it is possible to create new url with overrided parameters in constructor which might be actually work around the double encoding problems in the url (we should never use the out() in moodle_url constructor itself!)
2010-01-17 09:50:55 +00:00
Petr Skoda
eb7880654f
MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead
2010-01-17 09:37:30 +00:00
Petr Skoda
340d461269
MDL-21233 simplifying moodle_url->out() api
2010-01-17 09:18:11 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
David Mudrak
c909711ac5
Fixed a typo in loginas.php + added a parameter control in moodle_url::set_url() to discover similar issues in the future
2010-01-07 20:17:38 +00:00
Petr Skoda
42174e18fb
MDL-21210 hopefully fixed $PAGE->set_url() weirdness and added more diagnostics
2009-12-29 14:30:15 +00:00
Petr Skoda
191b267bcd
MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically
2009-12-27 12:02:04 +00:00
Petr Skoda
cbcc9852e0
MDL-21125 removing obsolete global $THEME
2009-12-23 18:23:21 +00:00
Petr Skoda
054652d623
MDL-20204 removed some forgotten legacy code
2009-12-23 17:27:29 +00:00
Sam Hemelryk
d8ae33a95c
question MDL-21169 removed update_module_button calls from question these are now added by the module extending the navigation if there is a module specified for question pages.
...
Also fixed bug in moodle_url object coding_error to coding_exception
2009-12-23 02:45:22 +00:00
Petr Skoda
c927e35c48
MDL-21148 geenral support for rendering targets, this should give us more flexibility; please propose improvements in the tracker if necessary, thanks
2009-12-17 22:43:27 +00:00
Petr Skoda
649cf95d0b
MDL-21147 renamed find_renderer back to get_renderer() - there are no more collisions with those magic getters
2009-12-17 14:06:22 +00:00
Petr Skoda
5515b53605
MDL-21147 do not use standard "get_x" methods for "magic" $PAGE stuff + fixed incorrect ->get_x uses
2009-12-17 14:04:15 +00:00
Petr Skoda
56cbc53b76
MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements
2009-12-17 13:45:54 +00:00
Petr Skoda
47ce714bc0
MDL-21142 minor cleanup in out() default params
2009-12-16 21:33:01 +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
Sam Hemelryk
7231e2de74
navigation MDL-20833 Moved has_navbar from OUTPUT to PAGE as it is logic
2009-11-16 01:12:16 +00:00