diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2011-04-13 07:47:02 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2011-04-13 07:47:02 +0400 |
commit | d2f2fb5b3b036a38db185a259bd11d06413b7ce4 (patch) | |
tree | 22d479e262b3ec60c1a1d79a56a4d02c52d66551 /plugins/Login | |
parent | 3e04bd143cfc868ecaf90a50143bedaf4367424d (diff) |
Refs #733
* adding stub themes/default/rtl.css file loaded when the language is RTL (currently loaded for Arabic and Hebrew)
* this stub file will be used to overwrite CSS properties to set text-align:right float:right etc. for all elements requiring to be aligned differently
* Following screens use the RTL: Login, Admin screens, main dashboard reports, Update screen & Installation screens
git-svn-id: http://dev.piwik.org/svn/trunk@4431 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Login')
-rw-r--r-- | plugins/Login/templates/header.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Login/templates/header.tpl b/plugins/Login/templates/header.tpl index 203f8ae1be..e7e69f97b1 100644 --- a/plugins/Login/templates/header.tpl +++ b/plugins/Login/templates/header.tpl @@ -37,6 +37,9 @@ </script> {/literal} <script type="text/javascript" src="libs/jquery/jquery.js"></script> +{if 'General_LayoutDirection'|translate =='rtl'} +<link rel="stylesheet" type="text/css" href="themes/default/rtl.css" /> +{/if} </head> <body class="login"> {if isset($enableFramedLogins) && !$enableFramedLogins} |