44 Commits

Author SHA1 Message Date
Jun Pataleta
1eb8ee32bb
MDL-78806 core: Remove redundant site name
MDL-78806 core: Remove redundant site name on page titles

* With the site name now being appended to the page titles, there
is no need to manually append the page titles.
2023-09-09 08:58:54 +08:00
Sujith Haridasan
73d604369d MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
Marina Glancy
6e65554ea1 MDL-58010 user: allow to update only whitelisted user preferences 2017-03-10 18:04:47 +00:00
Stephen Bourget
67a1f63913 MDL-36713 Blog: Display accurate error when a guest views a user blog 2016-08-15 21:46:48 -04:00
Damyon Wiese
4e1f60478a MDL-49635 Navigation: Site pages consistent headers + navigation for preferences
Preferences pages cancel and continue buttons should lead back to preferences page.

Site pages should have consistent headers and breadcrumbs.

Hide the "Preferences" node in the navigation.

Part of MDL-45774
2015-04-10 17:17:07 +08:00
Adrian Greeve
880c50731f MDL-48930 navigation: Using user headers in user pages.
Pages that are percieved to be in a user context are now
using a user context for the header.

Part of MDL-45774
2015-04-10 17:17:07 +08:00
Andrew Davis
2b6e53e8e2 MDL-46346 blog: coding style fixes 2014-07-14 10:45:33 +08:00
Sam Hemelryk
566889aaa8 MDL-42317 output: reviewed standard/base layouts and converted where a better option was available 2014-04-06 15:57:32 +12:00
Ankit Agarwal
68fc1cc279 MDL-27814 blogs: Cleaning up contexts in blogs
All blogs pages should be in system context. Blogs are in system context just about various things (course, activity etc)
2013-04-12 16:03:02 +08:00
Dan Poltawski
850d2db82a MDL-25012 - blogs: introduce a specific 'enabled' config setting
Rather than overloading the $CFG->bloglevel setting which had a
confusing UI in the appearance subsystem.

In order to achieve this we modify take the defaults from the existing
bloglevel setting and set that for $CFG->enableblogs. Note that in order
to prevent a bad default settings from being set we also set
$CFG->bloglevel to a valid 'enabled' setting.
2012-08-06 11:25:22 +08:00
Adrian Greeve
41b3836067 MDL-33061 - lib - Replacement of get_context_instance with the new function call (group 3) 2012-07-24 09:52:41 +08:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Dan Poltawski
9268148966 blog MDL-23393 - Tidy up preferences form
Make form display set value and use mforms type checking
2011-01-09 18:03:58 +00:00
Petr Skoda
897aa80c05 MDL-23310 fixed undefined page layouts 2010-07-15 18:09:11 +00:00
Martin Dougiamas
74fd6b11b6 MDL-22524 Fixed a bad layout (should be general, not standard) 2010-07-09 04:20:12 +00:00
Sam Hemelryk
2713c6bd7c navigation MDL-22524 Integrated blogs with the settings navigation. 2010-05-20 08:04:20 +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
nicolasconnault
b0e90a0ccd MDL-19792 Fixed number of bugs in URLs 2009-09-09 03:26:18 +00:00
nicolasconnault
e640790eb6 MDL-19792 Applied Sam's patch 2009-09-07 10:01:26 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
nicolasconnault
d383a3c4cc MDL-19792 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:29:42 +00:00
nicolasconnault
033e4aff8c MDL-19792 Converted all print_footer() calls 2009-08-06 14:22:50 +00:00
nicolasconnault
16ba76bd1c MDL-19792 Migrated calls to print_heading 2009-08-06 08:26:20 +00:00
dongsheng
d9d16e56a3 "MDL-14460,fix get_context_instance, merged from MOODLE_19_STABLE" 2008-04-30 04:46:46 +00:00
dongsheng
8b141784a8 MDL-14129, fix print_error() call, see tracker 2008-04-23 08:00:05 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault
73c24ef80b MDL-10870 All files updated to new build_navigation() method. 2007-08-16 15:01:25 +00:00
skodak
e96f2a77db Code cleanup in blog.
MDL-6805  Fixed redirects in blog; MDL-6807  partially fixed use of capabilitites - it needs more testing and possibly minor fixing, the commit contains other blog bugfixes too. In general it should work exactly the same. The introduction of roles makes proper setup more difficult :-(

Expect some more fixes soon, no other bigger changes...
2006-10-06 10:11:52 +00:00
skodak
db837673df MDL-6805 Fix redirects in blog; MDL-6807 fix blog capability checks 2006-10-03 20:41:15 +00:00
skodak
ab2f17b05b Completely disable all blog scripts when blog system disabled from site preferences MDL-6803 2006-10-03 19:21:35 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
toyomoyo
b744c0c3ec took out a print header that was generating a warning 2006-04-12 04:14:45 +00:00
toyomoyo
c2ee4e8788 various changes and cleaning, removing BlogEntry, BlogInfo, BlogFilter class next, things could be broken 2006-04-12 02:05:46 +00:00
toyomoyo
3d624b9831 formattign issues 2006-03-16 08:22:53 +00:00
toyomoyo
e97e16dfe2 min pagesize = 1 2006-03-16 07:55:22 +00:00
toyomoyo
e17426ca5f more cleaning 2006-03-15 02:17:35 +00:00
toyomoyo
954cfa1bfa httpclient only used in trackbacks, which is not supported in this version, removed 2006-03-14 02:46:46 +00:00
toyomoyo
752c0c4d29 some cleaning, removed config.html for admin 2006-03-14 02:26:44 +00:00
toyomoyo
5c625033c0 _params and other cleaning, blogs might be broken 2006-03-13 08:46:13 +00:00
moodler
25a784066a Moved some strings! 2006-03-13 07:54:44 +00:00
toyomoyo
9154b44000 some cleaning, not very clean yet 2006-03-13 06:05:44 +00:00
toyomoyo
4a173181f4 blog (development code) 2006-03-10 06:53:01 +00:00