[Tickets #11785] RTL bugs in horde

bugs at horde.org bugs at horde.org
Thu Nov 29 17:58:21 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11785
------------------------------------------------------------------------------
  Ticket             | 11785
  Created By         | esr+hord-bugs at g.jct.ac.il
  Summary            | RTL bugs in horde
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


esr+hord-bugs at g.jct.ac.il (2012-11-29 17:58) wrote:

When viewing horde in RTL mode (hebrew/arabic) the layout breaks  
terribly, I jave started identifying some problems but since I am not  
familiar with the framework I don't necisarrily know how to solve them.

One problem is some inline stile that assumes LTR languages:
# grep -R 'style="left:' /usr/share/horde4/
/usr/share/horde4/templates/sidebar/sidebar.html.php:<div  
id="horde-slideleft" class="horde-splitbar-vert" style="left:<?php  
echo $this->width ?>px">
/usr/share/horde4/kronolith/templates/dynamic/index.inc:<div  
id="horde-page" style="left:<?php echo  
$prefs->getValue('sidebar_width') ?>px">
/usr/share/horde4/kronolith/templates/fbview/busyblock.html:<td><div  
class="kronolithFBBusy" style="left:<tag:left />;width:<tag:width  
/>;"> </div></td>
/usr/share/horde4/kronolith/templates/fbview/meetingblock.html:<td><div  
class="kronolithFBFree" style="left:<tag:left />;width:<tag:width  
/>;"> </div></td>

In the above examples a direction check should have been done and in  
the case of RTL they should have read:
style="right:<?php echo $this->width ?>px"

I realize some of these are part of the kronolith project and not  
horde at large, if you so prefer I will open a seperate bug for them.

In screen.css there are also several parameters that should be  
direction dependent, I still need to sit down longer to identify them  
all but as a start:
#horde-page has a padding that should be direction dependent.





More information about the bugs mailing list