Nicer solution for the rtl problem. Thanks Jon!

git-svn-id: file:///svn/phpbb/trunk@6484 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Dominik Dröscher 2006-10-11 22:54:10 +00:00
parent 7c328f2de0
commit cd37633cde
3 changed files with 10 additions and 4 deletions

View file

@ -12,7 +12,7 @@
<!-- IF forumrow.S_IS_CAT -->
<tr>
<td class="cat" colspan="2"><h4><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td>
<td <!-- IF S_CONTENT_DIRECTION eq 'rtl' -->class="catdiv-rtl"<!-- ELSE -->class="catdiv"<!-- ENDIF --> colspan="3">&nbsp;</td>
<td class="catdiv" colspan="3">&nbsp;</td>
</tr>
<!-- ELSEIF forumrow.S_IS_LINK -->
<tr>

View file

@ -78,7 +78,7 @@ function marklist(id, name, state)
//-->
</script>
</head>
<body>
<body class="{S_CONTENT_DIRECTION}">
<a name="top"></a>

View file

@ -293,7 +293,7 @@ td {
background-color: #A9B8C2;
}
.catdiv, .catdiv-rtl {
.catdiv {
height: 28px;
margin: 0px;
padding: 0px;
@ -302,8 +302,14 @@ td {
background-image: url('./images/cellpic2.jpg');
background-repeat: repeat-y;
}
.catdiv-rtl {
.rtl .catdiv {
height: 28px;
margin: 0px;
padding: 0px;
border: 0px;
background-color: white;
background-image: url('./images/cellpic2_rtl.jpg');
background-repeat: repeat-y;
}
.cat {