Commit graph

278 commits

Author SHA1 Message Date
Sam Hemelryk
06a72e0192 MDL-39824 output: tidied up output before bootstrap cleaning 2013-06-07 17:31:59 +12:00
Sam Hemelryk
36b77e3a88 MDL-39871 themes: can now specify regions to swap when using rtl langs 2013-06-07 17:31:27 +12:00
Petr Škoda
fe7b75f85c MDL-35434 add support for theme setting files
This patch is based on work by Gareth J Barnard, Pau Ferrer Ocaña (crazyserver) and others.
2013-04-15 10:58:00 +08:00
Marina Glancy
27efa6bfac MDL-37404 add class 'format-xxx' to the body for the current course format 2013-01-08 11:50:01 +11:00
Marina Glancy
695705f5d4 MDL-36317 Execute course format callback when course or module is set on page 2012-11-02 11:02:22 +08:00
Simon Coggins
e97ddbd8ff MDL-35472: Prevent html tags appearing in page titles
Only a problem when formatstringstriptags is disabled
2012-09-17 15:25:55 +12:00
Petr Škoda
3edc37cb13 MDL-34740 add class file option to $CFG->moodlepageclass and $CFG->blockmanagerclass 2012-08-18 10:02:46 +02:00
Adrian Greeve
b0c6dc1cac MDL-34465 - lib - Replacing get_context_instance with context_XXXX::instance (group 8) 2012-07-27 10:10:46 +08:00
Aparup Banerjee
88b907fdac MDL-34449 phpdoc typo correction 2012-07-23 16:39:25 +08:00
Aparup Banerjee
ad1097c2d6 Merge branch 'w30_MDL-34449_m24_layoutmaddness' of git://github.com/skodak/moodle 2012-07-23 16:27:15 +08:00
Petr Škoda
e9324a2274 MDL-34449 lazy load theme layout otpions
This should allow us to switch page layout on admin pages and elsewhere before $OUTPUT->header() call.
2012-07-22 15:33:30 +02:00
Rajesh Taneja
11ad98ff0c MDL-31023 Libraries: removed legacypageobject usage 2012-07-19 15:48:45 +08:00
Rajesh Taneja
afb92f1b9e MDL-31023 libraries: removed deprecated function and classes from pagelib.php 2012-07-19 15:48:45 +08:00
Mary Evans
c6e8b3b235 MDL-32684 lib/pagelib: adds break; statements to theme order in lib/pagelib.php 2012-05-02 01:20:04 +01:00
Eloy Lafuente (stronk7)
47e5997851 MDL-30977 page phpdocs: 2 minor fixes in 2 functions 2012-02-20 11:28:08 +01:00
Sam Hemelryk
670b098b3d MDL-30977 moodle_page: Changes as required after further validation 2012-02-17 14:53:06 +13:00
Sam Hemelryk
5edb0fb8bf MDL-30977 moodle_page: Made changes noted in peer-review 2012-02-17 14:53:06 +13:00
Sam Hemelryk
cd4ee5ea0c MDL-30977 moodle_page: Adjustments to match recent changes in coding style doc 2012-02-17 14:53:06 +13:00
Sam Hemelryk
0a0034f8ed MDL-30977 moodle_page: Tidied up and completed phpdocs 2012-02-17 14:53:05 +13:00
Petr Skoda
33dca15616 MDL-30613 use standard https checks 2011-12-09 21:28:04 +01:00
Dan Poltawski
831b73773e MDL-28228 pagelib - incorrect DEBUG constant used 2011-07-25 13:04:46 +08:00
Aparup Banerjee
3b1b5018f7 MDL-28135 general Updated broken and typo docs links 2011-07-05 14:41:29 +08:00
Aparup Banerjee
728ebac7f2 MDL-28135 general Updating all hardcoded "docs.moodle.org/en/Development:" type doc links to "docs.moodle.org/dev/" 2011-07-05 14:27:31 +08:00
Mark Johnson
c78f8443e6 MDL-28025 pagelib improve error message when $PAGE->context isn't set 2011-06-27 08:22:43 +01:00
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