charafweb Publish time 2012-02-25 01:28

UCenter: No RTL

hello vot,
The UCenter panel is styled using uc_server\images\admincp.css. In fact, there is no admincp_rtl.css in that folder. I created one, and correct it. But still not used by template, because of this line:

<link rel="stylesheet" href="images/admincp.css" type="text/css" media="all" />

that have to be changed in these 3 files:

uc_server\data\view\header.php
uc_server\view\default\admin_frame_header.htm
uc_server\view\default\admin_frame_index.htm

I tried and replaced this line with:

<link rel="stylesheet" href="images/admincp{RTLSUFFIX}.css" type="text/css" media="all" />

But no luck, it's not as simple as that.

Thank you for correcting this issue.

And here is the admincp_rtl.css I created:







vot Publish time 2012-02-25 11:49

Fix:
UCenter: Added UC_DEFAULT_DIR and RTLSUFFIX definitions.
Added admincp_rtl.css.

http://code.google.com/p/discuzx-en/source/detail?r=372

charafweb Publish time 2012-02-25 18:36

Edited by charafweb at 2012-2-25 15:41

Hello vot,
There was 2 errors in the added admincp_rtl.css:
1- An entry with no values:

.dbtb tbody tr td select

2- some background images you use url(images/xxxx.gif) instead of url(xxxx.gif), the browser fails to retrieve them


And I corrected two minor things:





Here are the patch and the modified file:






vot Publish time 2012-02-25 19:18

Fix:
http://code.google.com/p/discuzx-en/source/detail?r=373
Pages: [1]
View full version: UCenter: No RTL