aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #35071 from ↵Julia Kirschenheuter2022-12-081-4/+5
|\ | | | | | | | | nextcloud/fix/384-missing_alt_text_for_logo_on_multiple_pages Add alt to the logo, adapt css for logo
| * Add alt to the logo, adapt css for logojulia.kirschenheuter2022-12-081-4/+5
| | | | | | | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Use single resource locator instanceJulius Härtl2022-12-071-25/+18
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow single character search by defaultChristopher Ng2022-11-111-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Move app menu to vueJulius Härtl2022-08-311-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add skip content buttons to the public page layoutJulius Härtl2022-07-181-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to override #app-content and #app-navigation hrefs for content skippingJulius Härtl2022-07-161-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove SCSSCacherJohn Molakvoæ2022-05-131-8/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix `Undefined array key "enabledThemes"` on layout.user.phpJohn Molakvoæ2022-04-281-0/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix default fallback theme on setup ang guests pagesJohn Molakvoæ2022-04-261-1/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add default theming disabled fallbackJohn Molakvoæ2022-04-221-0/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Write body theme selector straight in the templateJohn Molakvoæ2022-04-211-0/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Start theming providersJoas Schilling2022-04-211-11/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make typeahead and search limit/length configurableJulius Härtl2022-04-131-1/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Retrieve user status only once when displaying pageCarl Schwan2022-04-051-13/+0
| | | | | | | We don't need to inject it in the template if the data is already available in the initial state. This is also a bit cleaner. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Adapt more code to migration to LoggerInterfaceCôme Chilliet2022-03-241-2/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* allow changing the top-left logo link target in system configJulien Veyssier2022-01-201-0/+4
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Split common vendor chunkJohn Molakvoæ (skjnldsv)2022-01-081-1/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move bundles to /distJohn Molakvoæ (skjnldsv)2022-01-081-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Allow scripts prioritization based on other appsJohn Molakvoæ (skjnldsv)2021-12-021-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-301-4/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add current status in navbarCarl Schwan2021-10-151-1/+15
| | | | | | | | | | This ports the code to vue and if the user_status app is disabled this goes back to the previous behavior. The Avatar vue components detects changes of the status automatically. Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use proper methods for display name retrievalMorris Jobke2021-06-171-2/+12
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Drop \OCP\Util::isIeChristoph Wurst2021-03-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Document the behaviour inlineMorris Jobke2020-11-041-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* No need to check if there is an avatar available, because it is generated on ↵Morris Jobke2020-11-021-1/+1
| | | | | | the fly nowadays Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make sure that getConfig is still called for browsers that do not support CSPv3Julius Härtl2020-09-071-14/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Don't use deprecated getIniWrapper() anymoreJoas Schilling2020-08-201-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Show mime icon, bump bundles, make the SearchResultEntry class ↵John Molakvoæ (skjnldsv)2020-08-041-3/+13
| | | | | | non-abstract, Fix header search icon, various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-031-12/+19
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add constants for the magic strings of template renderingJoas Schilling2020-07-161-6/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Provide config though initial state serviceJulius Härtl2020-04-231-1/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-19/+14
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-12/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiline commentsChristoph Wurst2020-04-081-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-2/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+2
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #17674 from nextcloud/enh/do_not_show_footer_subRoeland Jago Douma2019-10-301-1/+9
|\ | | | | Do not show 'Get your own free account' on services under subscription
| * Do not show 'Get your own free account' on services under subscriptionRoeland Jago Douma2019-10-251-1/+9
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Don't pass in the locale as the languageRoeland Jago Douma2019-10-251-2/+1
|/ | | | | | This messes with the translation of the date names etc. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* autoloader.php could raise Not AllowedExceptionGuillaume COMPAGNON2019-08-201-0/+2
| | | | | | | | when theming is off Signed-off-by: Guillaume Compagnon <gcompagnon@outlook.com> modified: lib/private/TemplateLayout.php
* Fix "Undefined index: user_uid" on login pageJoas Schilling2019-02-221-4/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix OC.getCurrentUser() on guest pagesJoas Schilling2019-02-191-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>