42 Commits

Author SHA1 Message Date
Bas Brands
ebfee99d90 MDL-69454 core_search: consistent admin search 2020-09-21 10:15:11 +02:00
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
Marina Glancy
1095afa4f7 MDL-60108 registration: Redirect to registration form
- when first installed
- when manual update of registration information is required
2017-10-17 15:00:17 +08:00
David Mudrák
b69b6627e2 MDL-60210 admin: Check if the site needs upgrade on admin/search.php too
The page admin/search.php is the default administration page in Boost
based themes. It should behave the same as admin/index.php or
my/index.php and check if the site needs upgrade.
2017-09-22 13:24:16 +02:00
Marina Glancy
505bbe7cd6 MDL-59496 registration: display unregistered warning consistently 2017-07-31 14:29:58 +08:00
Damyon Wiese
057e1a1f6d MDL-56576 admin: Cannot edit blocks on search page
Admin search page was processing the blocks delete request before the blocks
could process it.

Added a hidden field to the search results form so it can be sure the form submission
was for saving admin settings.
2016-11-03 09:40:53 +08:00
Damyon Wiese
2a7c540c48 MDL-56641 admin: Managers can access search page 2016-11-03 09:36:33 +08:00
Damyon Wiese
99061152af MDL-55074 theme_boost: Navigation and blocks
This patch includes a big set of changes that are all designed to work together to provide
a better way to navigate in the new theme, and a different way of working with blocks.

Blocks have been moved to a "drawer" that can be opened and closed (this is remembered in a user pref).

A new "flat navigation" element is also available in a drawer - which should let you do 90% of things
without needing to open the "blocks" drawer.

The flat navigation is build from specific parts of the nav tree - the top nodes like "calendar, dashboard" are
hand picked. There is a mycourses node listing your enrolled courses.

There is a node for the current course, built from the top nodes in the current course node in the nav tree.

Administrators have a link to the Site admin settings here too.

These nav elements are used by the templates for the new theme, which also has a resigned layout for login and signup.

There have also been some additional fixes / improvements to the scss for the new theme which goes along with these
layout changes.

This set of changes is a collaboration between Martin, Damyon and Alberto (thanks!).
2016-10-21 12:37:33 +08:00
Frederic Massart
4121391d34 MDL-55805 admin: Convert admin search results to use a template
Part of MDL-55071
2016-09-23 10:55:15 +01: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
Eloy Lafuente (stronk7)
681b57bd28 Merge branch 'MDL-48921-master-2nd' of git://github.com/FMCorz/moodle 2015-01-27 01:02:39 +01:00
Frederic Massart
cd5e627de8 MDL-48921 admin: Keep the search string in the URL after form submission 2015-01-21 11:33:03 +08:00
David Monllao
8babb9606b MDL-48823 admin: Just one admin tree reload after settings changes 2015-01-21 10:41:23 +08:00
Frederic Massart
bf006d2c15 MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
Sam Hemelryk
3506dfa22f MDL-30608 Blocks: Fixed block disappering from search page 2012-01-09 11:04:10 +08:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +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
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
tjhunt
30f6bd51a3 Fix print_footer call, and some fallout from the pagelib changes. 2009-06-12 11:53:35 +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
Jonathan Newman
4d933beb8a cvsimport fixups 2009-01-20 23:53:34 +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
8bbfc1e321 MDL-12756 print save button in admin search only when there are settings to save; merged from MOODLE_19_STABLE 2007-12-29 16:49:26 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
nicolasconnault
e2e9c024e9 Corrected XHTML: hidden inputs not surrounded by container. 2007-03-23 01:17:43 +00:00
poltawski
2e2e837c80 MDL-8906 - Additional fix to prevent needless searching on blank query, merged from stable 2007-03-15 11:48:21 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
56909d267f MDL-7749 fixed stripslashes when saving admin configuration values 2006-11-30 20:37:14 +00:00
skodak
5157276977 minor xhtml fix 2006-11-30 08:42:11 +00:00
skodak
9cdb766d61 Broken handling of magic quotes in admin settings and set_config in general MDL-7668 2006-11-27 08:44:38 +00:00
skodak
da259fa10a Checkbox value not saved when saving changes from admin search page MDL-7177 + other fixes to make it behave more like settings.php; merged from MOODLE_17_STABLE 2006-10-23 12:05:33 +00:00
moodler
010b211f51 Fixes for naming of forms to make them XHTML compatible 2006-10-06 06:02:17 +00:00
moodler
44abaca047 Added another s() to the query strings. Thanks Petr! 2006-10-02 17:09:18 +00:00
moodler
8eed3b30cf Strip slashes from admin search string (it's ok, it never gets near a database) 2006-10-02 13:35:28 +00:00
moodler
86a1dca773 Fixed overzealous cleaning MDL-6779 2006-10-02 13:26:02 +00:00
moodler
36e5266fc1 Added search box for searching admin settings 2006-10-02 06:16:50 +00:00
vinkmar
e32df7aab1 links added to section titles 2006-10-02 06:02:52 +00:00
vinkmar
1857cd7ff5 Admin search function.
Takes a "query" parameter... will be written into admintree block
2006-10-02 05:52:39 +00:00