stable

Clone or download

Read-only

refactor: Use HeaderConfiguration as much as possible

Every simple cases where only a title is passed in the associative array of BaseLayout::header(), we should use HeaderConiguration. For less simple cases where both title and body class are used, we can also use a HeaderConfiguration instead of an array. Other cases are left as is, we must augment HeaderConfiguration capabilities beforehand. No functional changes. Part of story #34002: see promoted trackers in sidebar Change-Id: I757ba96b93e92a175af5dabfa52cf79032ae6216

Modified Files

Name
M plugins/create_test_env/include/CreateTestEnv/ActivitiesAnalytics/ListActivitiesController.php +1 −1 Go to diff View file
M plugins/create_test_env/include/CreateTestEnv/ActivitiesAnalytics/WeeklySummaryController.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_Error_PermissionDenied.class.php +1 −1 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/AccountLinker/Controller.php +4 −4 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/LoginController.php +7 −4 Go to diff View file
M plugins/webauthn/include/WebAuthn/Controllers/LoginController.php +6 −4 Go to diff View file
M src/common/Dashboard/User/UserDashboardController.php +6 −4 Go to diff View file
M src/common/Error/PermissionDeniedPrivateProjectController.php +1 −1 Go to diff View file
M src/common/Error/PermissionDeniedRestrictedAccountController.php +1 −1 Go to diff View file
M src/common/Error/PermissionDeniedRestrictedAccountProjectController.php +1 −1 Go to diff View file
M src/common/Error/ProjectAccessSuspendedController.php +1 −1 Go to diff View file
M src/common/Layout/BaseLayout.php +1 −1 Go to diff View file
M src/common/Layout/HeaderConfiguration.php +9 −3 Go to diff View file
M src/common/Layout/SiteHomepageController.php +7 −8 Go to diff View file
M src/common/Project/Registration/ProjectRegistrationController.php +1 −1 Go to diff View file
M src/common/Search/SearchController.class.php +11 −3 Go to diff View file
M src/common/User/Profile/ProfileController.php +4 −4 Go to diff View file
M src/common/wiki/views/WikiViews.class.php +1 −1 Go to diff View file
M src/www/account/deleted.php +1 −1 Go to diff View file
M src/www/account/login.php +6 −1 Go to diff View file
M src/www/include/exit.php +1 −1 Go to diff View file
M src/www/include/html.php +4 −6 Go to diff View file
M src/www/my/bookmark_add.php +2 −2 Go to diff View file
M src/www/my/bookmark_delete.php +1 −1 Go to diff View file
M src/www/my/bookmark_edit.php +1 −1 Go to diff View file
M src/www/my/redirect.php +1 −1 Go to diff View file
M src/www/my/stop_monitor.php +1 −1 Go to diff View file
M src/www/tos/privacy.php +1 −1 Go to diff View file