aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoru@09c8cbfd758dbd0224174f3bdf0ec5b8007c7be7 <u@web>2015-10-26 07:59:56 -0400
committeradmin <admin@branchable.com>2015-10-26 07:59:56 -0400
commit7ba7a574f6b41d696590a882f0e3fed31ab4938f (patch)
treeee2ab5b379740ea2c6b2a5bbbf1a3d32f5d5ea7f
parent1007f09c160cb3eb8ef83d83165edf81b7ebfc42 (diff)
downloadikiwiki-7ba7a574f6b41d696590a882f0e3fed31ab4938f.tar
ikiwiki-7ba7a574f6b41d696590a882f0e3fed31ab4938f.tar.gz
-rw-r--r--doc/todo/Page_template_with_RTL_support.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/todo/Page_template_with_RTL_support.mdwn b/doc/todo/Page_template_with_RTL_support.mdwn
index b25e69928..1993fb473 100644
--- a/doc/todo/Page_template_with_RTL_support.mdwn
+++ b/doc/todo/Page_template_with_RTL_support.mdwn
@@ -6,5 +6,25 @@ I've modified page.tmpl to take into account rtl languages. Basically I've modif
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:
+
+<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.