Note that I modified the patch slightly, to avoid blank lines before the
<html>, on the off chance bad html parsers care.
[ Joey Hess ]
* emailauth: Added emailauth_sender config.
+ * Modified page.tmpl to to set html lang= and dir= when
+ values have been specified for them, which the po plugin does.
-- Simon McVittie <smcv@debian.org> Mon, 15 Jun 2015 18:13:23 +0100
Hi,
-I've modified page.tmpl to take into account rtl languages. Basically I've modified the <html> tag to generate
+I've modified page.tmpl to take into account rtl languages. Basically I've modified the `<html>` tag to generate
-<html dir="$DIRECTION" lang="$LANG">
+ <html dir="$DIRECTION" lang="$LANG">
if the PO plugin is enabled.
Cheers.
+
+> [[applied|done]] --[[Joey]]
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<TMPL_IF HTML_LANG_CODE><html lang="<TMPL_VAR HTML_LANG_CODE>" dir="<TMPL_VAR HTML_LANG_DIR>" xmlns="http://www.w3.org/1999/xhtml"><TMPL_ELSE><html xmlns="http://www.w3.org/1999/xhtml"></TMPL_IF>
<head>
<TMPL_IF DYNAMIC>
<TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>