Jake Dallimore
cf26b6f824
MDL-60767 admin: fix usage of admin_write_settings
...
Make sure we always checks for failed validation, before redirecting.
A positive return value does not signal that all settings were able
to be written, only that at least one was - errors still need to be
checked!
2017-12-18 09:19:55 +08:00
Frederic Massart
df7602298a
MDL-55564 core_admin: Convert admin settings to use templates
...
Part of MDL-55071
2016-09-23 10:53:56 +01:00
David Monllao
dd39020d68
Merge branch 'MDL-53356-master' of git://github.com/cameron1729/moodle
2016-03-29 15:56:13 +08:00
Brendan Heywood
2c8c24412e
MDL-53356 admin: Fixed erroneous sectionerror when upgrade is needed
2016-03-23 16:26:04 +08:00
Brendan Heywood
9c489dbcc4
MDL-53357 admin: Don't break urls after saving admin settings
2016-03-17 21:42:15 +11:00
John Okely
380001929a
MDL-45772 admin: Stop browsers from autofilling passwords incorrectly
2015-08-04 09:54:34 +08:00
David Monllao
8babb9606b
MDL-48823 admin: Just one admin tree reload after settings changes
2015-01-21 10:41:23 +08:00
Petr Škoda
61bb8c933f
MDL-41811 find out if admin tree needed in navigation
2013-10-21 14:17:53 +08:00
Frederic Massart
bf006d2c15
MDL-34455 Libraries: Replaced deprecated get_context_instance()
2012-07-23 14:33:02 +08:00
Andrew Robert Nicols
88939271a1
MDL-31660 Rename form change detection javascript file
2012-02-29 14:50:52 +00:00
Andrew Robert Nicols
00e8d08dba
MDL-31315 Ask before moving away from a modified form
2012-02-09 14:55:18 +00:00
Sam Hemelryk
83f78f8dac
MDL-26869 admin: Added page to view admin categories and included in navigation with a new setting
2012-01-03 09:39:10 +13:00
Sam Hemelryk
6be4afb1ad
MDL-30770 admin: Fixed notice about missing variable
2011-12-16 17:16:47 +13:00
Rossiani Wijaya
377d7b82f6
MDL-20410 - remove set_focuscontrol (bulk commit)
2010-07-01 05:35:27 +00:00
Petr Skoda
427649bfdf
MDL-21392 it is possible to have settings without Save button
2010-02-08 16:26:15 +00:00
jerome mouneyrac
3f77607874
administration MDL-21351 revert changes
2010-01-20 10:16:41 +00:00
jerome mouneyrac
721312bd2c
administration MDL-21392 add hidesavebutton() for admin_settingpage class
2010-01-20 09:58:17 +00:00
Petr Skoda
6ea66ff36c
MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api
2010-01-17 09:06:55 +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
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
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
47ce714bc0
MDL-21142 minor cleanup in out() default params
2009-12-16 21:33:01 +00:00
Petr Skoda
20207b827a
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 10:57:00 +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
samhemelryk
f5b5a82203
navigation MDL-20521 Fixed caching issue with admin tree
...
Added methods that allow a navigation cache to be marked as volatile so that it is destroyed on shutdown, forcing the next page to load to completely regenerate the navigation structure.
Caches are marked as volatile automatically if the load is within the system context, and can optionally be marked as volatile by calling PAGE->navigation->clear_cache() if desired.
2009-10-12 05:39:32 +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
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
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
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
tjhunt
ac9e220734
admin settings/blocklib: MDL-19108 Error when saving any admin settings
...
Regression from MDL-19010
2009-05-08 02:43:06 +00:00
tjhunt
b7b2d0f37d
moodle_page: MDL-12212 improve comments and add some work-in-progress warnings
2009-05-06 09:29:05 +00:00
tjhunt
93d4a373f9
blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere
2009-05-06 09:13:16 +00:00
tjhunt
66b10689e2
blocklib: MDL-19010 upgrade database tables ready for now blocks system
2009-05-06 09:12:03 +00:00
tjhunt
f8b80dbd95
moodle_page: MDL-12212 completely remove the old tag and admin page classes
2009-05-06 09:11:07 +00:00
tjhunt
830dd6e9cd
moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting
2009-05-06 08:59:29 +00:00
tjhunt
ad52c04f4c
moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
...
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
tjhunt
d7ab887938
moodle_page: MDL-14306 (part of MDL-12212) class name on body with ->category
...
If ->allowcategorythemes is set, includes all parent categories too
2009-05-06 08:46:48 +00:00
tjhunt
ad5d5997ed
moodle_page: MDL-12212 more ->pagepaths to kill
2009-05-06 08:43:51 +00:00
tjhunt
f230ce19ea
moodle_page: MDL-12212 implement ->pagetype
2009-05-06 08:34:32 +00:00
Jonathan Newman
4d933beb8a
cvsimport fixups
2009-01-20 23:53:34 +00:00
skodak
d4a1fcaf11
MDL-16613 sesskey cleanup
2009-01-02 10:36:25 +00:00
scyrma
2a68c5d9b9
MDL-16318: remove a few calls use_html_editor() (more to come)
2008-09-03 03:09:56 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
skodak
1d8bf5f0ab
MDL-14679 towards /admin conversion
2008-05-30 21:36:57 +00:00
skodak
9a7a785161
MDL-12714 no guest autologin for admin settings; merged from MOODLE_19_STABLE
2007-12-23 11:53:31 +00:00
skodak
220a90c5a1
MDL-11561 admin tree improvements and bugfixing
2007-12-19 17:35:20 +00:00
skodak
9f7f1a74a0
MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE
2007-11-23 16:49:51 +00:00
urs_hunkler
0dc89caf21
added clearfix to class settingsform to correct collapsing
2007-07-18 15:53:07 +00:00