Browse Source
Add locale to templates
It was already added to the user template but we should add it to all
templates. Else apps that want the locale but use special templating (hi
richdocuments!) will fail.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/10128/head
Roeland Jago Douma
8 years ago
No known key found for this signature in database
GPG Key ID: F941078878347C0C
3 changed files with
3 additions and
3 deletions
core/templates/layout.base.php
core/templates/layout.guest.php
core/templates/layout.public.php
@ -1,5 +1,5 @@
<! DOCTYPE html >
< html class = " ng-csp " data - placeholder - focus = " false " lang = " <?php p( $_['language'] ); ?> " >
< html class = " ng-csp " data - placeholder - focus = " false " lang = " <?php p( $_['language'] ); ?> " data - locale = " <?php p( $_['locale'] ); ?> " >
< head data - requesttoken = " <?php p( $_['requesttoken'] ); ?> " >
< meta charset = " utf-8 " >
< title >
@ -1,5 +1,5 @@
<! DOCTYPE html >
< html class = " ng-csp " data - placeholder - focus = " false " lang = " <?php p( $_['language'] ); ?> " >
< html class = " ng-csp " data - placeholder - focus = " false " lang = " <?php p( $_['language'] ); ?> " data - locale = " <?php p( $_['locale'] ); ?> " >
< head data - requesttoken = " <?php p( $_['requesttoken'] ); ?> " >
< meta charset = " utf-8 " >
< title >
@ -1,5 +1,5 @@
<! DOCTYPE html >
< html class = " ng-csp " data - placeholder - focus = " false " lang = " <?php p( $_['language'] ); ?> " >
< html class = " ng-csp " data - placeholder - focus = " false " lang = " <?php p( $_['language'] ); ?> " data - locale = " <?php p( $_['locale'] ); ?> " >
< head data - user = " <?php p( $_['user_uid'] ); ?> " data - user - displayname = " <?php p( $_['user_displayname'] ); ?> " data - requesttoken = " <?php p( $_['requesttoken'] ); ?> " >
< meta charset = " utf-8 " >
< title >