stable

Clone or download

Read-only

refactor: introduce {Header,Footer}Configuration

We should stop using associative array to configure display of header/footer. This focuses only on what is being used by OpenInOnlyOfficeController, the remaining associative key are left untouched to keep the change small. Took the opportunity to remove Layout::footer() which seems to be dead code. Part of story #27555: display Office documents stored in the Document plugin Change-Id: I05ef0abc31823a1e168f347d098c946cda4bb281

Modified Files

Name
M plugins/baseline/include/ServiceController.php +2 −1 Go to diff View file
M plugins/docman/include/Docman_Error_PermissionDenied.class.php +1 −1 Go to diff View file
M plugins/document/include/Tree/DocumentTreeController.php +2 −1 Go to diff View file
M plugins/ldap/include/WelcomeUpdateController.php +1 −1 Go to diff View file
M plugins/onlyoffice/include/Open/OpenInOnlyOfficeController.php +6 −7 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/AccountLinker/Controller.php +2 −1 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/LoginController.php +2 −1 Go to diff View file
M src/common/Dashboard/User/UserDashboardController.php +2 −1 Go to diff View file
M src/common/Layout/BaseLayout.php +2 −2 Go to diff View file
A src/common/Layout/FooterConfiguration.php +38 −0 Go to diff View file
A src/common/Layout/HeaderConfiguration.php +38 −0 Go to diff View file
M src/common/Layout/Layout.class.php +0 −48 Go to diff View file
M src/common/Project/Registration/ProjectRegistrationController.php +2 −1 Go to diff View file
M src/common/search/SearchController.class.php +4 −2 Go to diff View file
M src/themes/BurningParrot/include/BurningParrotTheme.php +17 −9 Go to diff View file
M src/www/account/login.php +3 −1 Go to diff View file
M src/www/account/register.php +2 −1 Go to diff View file
M src/www/include/exit.php +1 −1 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +15 −8 Go to diff View file
D src/www/themes/common/images/black.png +- −- Go to diff View file
D src/www/themes/common/images/clear.png +- −- Go to diff View file
M tests/lib/Builders/TestLayout.php +4 −2 Go to diff View file
M tests/unit/common/Layout/LayoutTest.php +4 −1 Go to diff View file