]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/Page_template_with_RTL_support.mdwn
update for rename of recentchanges.mdwn to json.tl.ph.mdwn
[git.ikiwiki.info.git] / doc / todo / Page_template_with_RTL_support.mdwn
index 1993fb47364614f33a088fd8d605a931b19b4867..7f11fd5b550c91fe76403d2c5d7a05aa27c2bc7a 100644 (file)
@@ -1,30 +1,16 @@
 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.
 
 I can't seem to attach a patch - sending it to Joey.
 Copy pasting markup here seems to be quite problematic.
-Trying anyway:
+Pasting it here: https://paste.debian.net/318146/
 
-<pre>
-    diff --git a/templates/page.tmpl b/templates/page.tmpl
-    index 9e8b330..7f1c0cb 100644
-    --- a/templates/page.tmpl
-    +++ b/templates/page.tmpl
-    @@ -1,5 +1,9 @@
-     <!DOCTYPE html>
-    +<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>
-</pre>
-Cheers
-u.
+
+Cheers.
+
+> [[applied|done]] --[[Joey]]