| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 9349|Reply: 3
Collapse the left

[Solved] UCenter: No RTL

[Copy link]
Post time: 2012-02-25 01:28
| Show all posts |Read mode
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:







This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2012-02-25 11:49
| Show all posts
Fix:
UCenter: Added UC_DEFAULT_DIR and RTLSUFFIX definitions.
Added admincp_rtl.css.

http://code.google.com/p/discuzx-en/source/detail?r=372
 Author| Post time: 2012-02-25 18:36
| Show all posts
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:

  1. .dbtb tbody tr td select
Copy the Code


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:






This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2012-02-25 19:18
| Show all posts
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-24 03:33 GMT+3 , Processed in 0.046497 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list