Make WordPress Core

Ticket #3136: RTL.r4210.diff

File RTL.r4210.diff, 36.1 KB (added by Sewar, 19 years ago)
  • wp-admin/admin-functions.php

     
    750750        $category->category_count = number_format( $category->category_count );
    751751        $category->link_count = number_format( $category->link_count );
    752752        return "<tr id='cat-$category->cat_ID'$class>
    753                 <th scope='row'>$category->cat_ID</th>
     753                <th scope='row' style='text-align: center'>$category->cat_ID</th>
    754754                <td>" . ( $name_override ? $name_override : $pad . ' ' . $category->cat_name ) . "</td>
    755755                <td>$category->category_description</td>
    756756                <td align='center'>$category->category_count</td>
     
    778778                $class = ('alternate' == $class) ? '' : 'alternate';
    779779?>
    780780  <tr id='page-<?php echo $id; ?>' class='<?php echo $class; ?>'>
    781     <th scope="row"><?php echo $post->ID; ?></th>
     781    <th scope="row" style="text-align: center"><?php echo $post->ID; ?></th>
    782782    <td>
    783783      <?php echo $pad; ?><?php the_title() ?>
    784784      <?php if ('private' == $post->post_status) _e(' - <strong>Private</strong>'); ?>
  • wp-admin/admin-header.php

     
    1313
    1414?>
    1515<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    16 <html xmlns="http://www.w3.org/1999/xhtml">
     16<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $wp_locale->text_direction; ?>" lang="<?php echo get_locale(); ?>" xml:lang="<?php echo get_locale(); ?>">
    1717<head>
    1818<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    1919<title><?php bloginfo('name') ?> &rsaquo; <?php echo $title; ?> &#8212; WordPress</title>
    20 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" />
    21 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?>
    22 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" />
    23 <?php endif; ?>
     20<?php if ('rtl' == $wp_locale->text_direction) : ?>
     21        <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin-rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" />
     22<?php else: ?>
     23        <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" />
     24<?php endif; ?>
    2425<script type="text/javascript">
    2526//<![CDATA[
    2627function addLoadEvent(func) {if ( typeof wpOnload!='function'){wpOnload=func;}else{ var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}
  • wp-admin/categories.php

     
    8989<table class="widefat">
    9090        <thead>
    9191        <tr>
    92                 <th scope="col"><?php _e('ID') ?></th>
    93         <th scope="col" style="text-align: left"><?php _e('Name') ?></th>
    94         <th scope="col" style="text-align: left"><?php _e('Description') ?></th>
    95         <th scope="col" width="90"><?php _e('Posts') ?></th>
    96         <th scope="col" width="90"><?php _e('Bookmarks') ?></th>
    97         <th colspan="2"><?php _e('Action') ?></th>
     92                <th scope="col" style="text-align: center"><?php _e('ID') ?></th>
     93        <th scope="col"><?php _e('Name') ?></th>
     94        <th scope="col"><?php _e('Description') ?></th>
     95        <th scope="col" width="90" style="text-align: center"><?php _e('Posts') ?></th>
     96        <th scope="col" width="90" style="text-align: center"><?php _e('Bookmarks') ?></th>
     97        <th colspan="2" style="text-align: center"><?php _e('Action') ?></th>
    9898        </tr>
    9999        </thead>
    100100        <tbody id="the-list">
  • wp-admin/edit-comments.php

     
    156156<thead>
    157157  <tr>
    158158    <th scope="col"><input type="checkbox" onclick="checkAll(document.getElementById(\'deletecomments\'));" /></th>
    159     <th scope="col" style="text-align: left">' .  __('Name') . '</th>
    160     <th scope="col" style="text-align: left">' .  __('E-mail') . '</th>
    161     <th scope="col" style="text-align: left">' . __('IP') . '</th>
    162     <th scope="col" style="text-align: left">' . __('Comment Excerpt') . '</th>
    163         <th scope="col" colspan="3">' .  __('Actions') . '</th>
     159    <th scope="col">' .  __('Name') . '</th>
     160    <th scope="col">' .  __('E-mail') . '</th>
     161    <th scope="col">' . __('IP') . '</th>
     162    <th scope="col">' . __('Comment Excerpt') . '</th>
     163        <th scope="col" colspan="3" style="text-align: center">' .  __('Actions') . '</th>
    164164  </tr>
    165165</thead>';
    166166                foreach ($comments as $comment) {
  • wp-admin/edit-pages.php

     
    3131<table class="widefat">
    3232  <thead>
    3333  <tr>
    34     <th scope="col"><?php _e('ID') ?></th>
    35     <th scope="col" style="text-align: left"><?php _e('Title') ?></th>
    36     <th scope="col" style="text-align: left"><?php _e('Owner') ?></th>
    37         <th scope="col" style="text-align: left"><?php _e('Updated') ?></th>
    38         <th scope="col" colspan="3"><?php _e('Action'); ?></th>
     34    <th scope="col" style="text-align: center"><?php _e('ID') ?></th>
     35    <th scope="col"><?php _e('Title') ?></th>
     36    <th scope="col"><?php _e('Owner') ?></th>
     37        <th scope="col"><?php _e('Updated') ?></th>
     38        <th scope="col" colspan="3" style="text-align: center"><?php _e('Action'); ?></th>
    3939  </tr>
    4040  </thead>
    4141  <tbody id="the-list">
  • wp-admin/edit.php

     
    7373?>
    7474</h2>
    7575
    76 <form name="searchform" action="" method="get" style="float: left; width: 16em; margin-right: 3em;">
     76<form name="searchform" id="searchform" action="" method="get">
    7777  <fieldset>
    7878  <legend><?php _e('Search Posts&hellip;') ?></legend>
    7979  <input type="text" name="s" value="<?php if (isset($s)) echo wp_specialchars($s, 1); ?>" size="17" />
     
    8585
    8686if ( count($arc_result) ) { ?>
    8787
    88 <form name="viewarc" action="" method="get" style="float: left; width: 20em; margin-bottom: 1em;">
     88<form name="viewarc" id="viewarc" action="" method="get">
    8989        <fieldset>
    9090        <legend><?php _e('Browse Month&hellip;') ?></legend>
    9191    <select name='m'>
     
    112112
    113113<?php } ?>
    114114
    115 <form name="viewcat" action="" method="get" style="float: left; width: 30em; margin-bottom: 1em;">
     115<form name="viewcat" id="viewcat" action="" method="get">
    116116        <fieldset>
    117117        <legend><?php _e('Browse Category&hellip;') ?></legend>
    118118        <?php wp_dropdown_categories('show_option_all='.__('All').'&hide_empty=0&hierarchical=1&show_count=1&selected='.$cat);?>
     
    169169
    170170        case 'id':
    171171                ?>
    172                 <th scope="row"><?php echo $id ?></th>
     172                <th scope="row" style="text-align: center"><?php echo $id ?></th>
    173173                <?php
    174174                break;
    175175
  • wp-admin/link-manager.php

     
    104104<table class="widefat">
    105105        <thead>
    106106        <tr>
    107                 <th width="15%" style="text-align: left"><?php _e('Name') ?></th>
    108                 <th style="text-align: left"><?php _e('URL') ?></th>
    109                 <th style="text-align: left"><?php _e('Categories') ?></th>
    110                 <th><?php _e('rel') ?></th>
    111                 <th><?php _e('Visible') ?></th>
    112                 <th colspan="2"><?php _e('Action') ?></th>
    113                 <th><input type="checkbox" onclick="checkAll(document.getElementById('links'));" /></th>
     107                <th width="15%"><?php _e('Name') ?></th>
     108                <th><?php _e('URL') ?></th>
     109                <th><?php _e('Categories') ?></th>
     110                <th style="text-align: center"><?php _e('rel') ?></th>
     111                <th style="text-align: center"><?php _e('Visible') ?></th>
     112                <th colspan="2" style="text-align: center"><?php _e('Action') ?></th>
     113                <th style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById('links'));" /></th>
    114114        </tr>
    115115        </thead>
    116116        <tbody id="the-list">
  • wp-admin/moderation.php

     
    2020
    2121        check_admin_referer('moderate-comments');
    2222
    23         if ( ! current_user_can('moderate_comments') )
    24         wp_die('<p>'.__('Your level is not high enough to moderate comments.').'</p>');
     23        if ( !current_user_can('moderate_comments') )
     24                wp_die('<p>'.__('Your level is not high enough to moderate comments.').'</p>');
    2525
    2626        $item_ignored = 0;
    2727        $item_deleted = 0;
  • wp-admin/plugins.php

     
    8181<table class="widefat">
    8282        <thead>
    8383        <tr>
    84                 <th style="text-align: left"><?php _e('Plugin'); ?></th>
    85                 <th><?php _e('Version'); ?></th>
    86                 <th style="text-align: left"><?php _e('Description'); ?></th>
    87                 <th><?php _e('Action'); ?></th>
     84                <th><?php _e('Plugin'); ?></th>
     85                <th style="text-align: center"><?php _e('Version'); ?></th>
     86                <th><?php _e('Description'); ?></th>
     87                <th style="text-align: center"><?php _e('Action'); ?></th>
    8888        </tr>
    8989        </thead>
    9090<?php
  • wp-admin/users.php

     
    378378
    379379<tr>
    380380<?php if ( !empty($role) ) : ?>
    381         <th colspan="7" align="left"><h3><?php echo $wp_roles->role_names[$role]; ?></h3></th>
     381        <th colspan="7"><h3><?php echo $wp_roles->role_names[$role]; ?></h3></th>
    382382<?php else : ?>
    383         <th colspan="7" align="left"><h3><em><?php _e('No role for this blog'); ?></h3></th>
     383        <th colspan="7"><h3><em><?php _e('No role for this blog'); ?></h3></th>
    384384<?php endif; ?>
    385385</tr>
    386386<tr class="thead">
    387         <th style="text-align: left"><?php _e('ID') ?></th>
    388         <th style="text-align: left"><?php _e('Username') ?></th>
    389         <th style="text-align: left"><?php _e('Name') ?></th>
    390         <th style="text-align: left"><?php _e('E-mail') ?></th>
    391         <th style="text-align: left"><?php _e('Website') ?></th>
    392         <th colspan="2"><?php _e('Actions') ?></th>
     387        <th><?php _e('ID') ?></th>
     388        <th><?php _e('Username') ?></th>
     389        <th><?php _e('Name') ?></th>
     390        <th><?php _e('E-mail') ?></th>
     391        <th><?php _e('Website') ?></th>
     392        <th colspan="2" style="text-align: center"><?php _e('Actions') ?></th>
    393393</tr>
    394394</thead>
    395395<tbody id="role-<?php echo $role; ?>"><?php
  • wp-admin/wp-admin-rtl.css

     
     1* html #poststuff {
     2        height: 100%; /* kill peekaboo bug in IE */
     3}
     4
     5/* This is the Holly Hack \*/
     6* html .wrap { height: 1% }
     7/* For Win IE's eyes only */
     8
     9body {
     10        border: none;
     11}
     12
     13a {
     14        border-bottom: 1px solid #69c;
     15        color: #00019b;
     16        text-decoration: none;
     17}
     18
     19a.delete:hover {
     20        background: #c00;
     21        color: #fff;
     22}
     23
     24#planetnews ul {
     25        list-style: none;
     26        margin: 0;
     27        padding: 0;
     28}
     29
     30#planetnews li {
     31        width: 17%;
     32        margin: 1%;
     33        float: right;
     34}
     35
     36#planetnews li a {
     37        display: block;
     38        padding: .5em;
     39        background: #ddd;
     40        height: 6em;
     41        overflow: hidden;
     42}
     43
     44.widefat {
     45        width: 100%;
     46}
     47
     48.widefat td, .widefat th {
     49        padding: 5px 6px;
     50}
     51
     52.widefat th {
     53        text-align: right;
     54}
     55
     56.import-system {
     57        font-size: 16px;
     58}
     59
     60thead, .thead {
     61        background: #dfdfdf
     62}
     63
     64#import-upload-form {
     65        width: 300px;
     66        margin: auto;
     67        text-align: center;
     68}
     69
     70a.edit, a.delete, a.edit:hover, a.delete:hover {
     71        border-bottom: none;
     72        display: block;
     73        padding: 5px 0;
     74        text-align: center;
     75}
     76
     77a.edit:hover {
     78        background: #ccc;
     79        color: #036;
     80}
     81
     82a:visited {
     83        color: #006;
     84}
     85
     86a:hover {
     87/*      border-bottom: 1px solid #3a75ae;*/
     88        color: #069;
     89}
     90
     91body    {
     92        background: #f9fcfe;
     93        color: #000;
     94        margin: 0;
     95        padding: 0;
     96}
     97
     98body, td {
     99        font: 13px Tahoma, "Lucida Grande", "Lucida Sans Unicode", Verdana;
     100}
     101
     102fieldset {
     103        border: none;
     104        padding: 3px;
     105}
     106
     107fieldset label.selectit {
     108        display: block;
     109        font-size: 11px;
     110        padding: 0 2px;
     111}
     112
     113fieldset label.selectit:hover {
     114        background: #e9e9e9;
     115}
     116
     117fieldset legend {
     118        padding: .1em .3em;
     119}
     120
     121fieldset.options {
     122        padding: 1em;
     123}
     124
     125fieldset.options legend {
     126        font-size: 1.5em;
     127        font-weight: bold;
     128        font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
     129}
     130
     131form, label input {
     132        margin: 0;
     133        padding: 0;
     134}
     135
     136h2 {
     137        border-bottom: .5em solid #f0f8ff;
     138        color: #333;
     139        font: normal 30px/5px serif;
     140        margin: 5px 10px;
     141}
     142
     143h2 small.quickjump {
     144        display: block;
     145        text-align: left;
     146}
     147
     148h2 small.quickjump a {
     149        text-decoration: none;
     150        border-bottom: 0;
     151        font-size: 15px;
     152        background: #f0f8ff;
     153        padding: 5px 10px;
     154}
     155
     156img, #footer a {
     157        border: 0;
     158}
     159
     160input:focus, textarea:focus, label:focus {
     161        background: #fff;
     162        border: 1px solid #686868;
     163}
     164
     165label {
     166        cursor: pointer;
     167}
     168
     169li, dd {
     170        margin-bottom: 6px;
     171}
     172
     173p, li, dl, dd, dt {
     174        line-height: 130%;
     175}
     176
     177textarea, input, select {
     178        background: #f4f4f4;
     179        border: 1px solid #b2b2b2;
     180        color: #000;
     181        font:  13px Tahoma, Verdana, Arial, Helvetica, sans-serif;
     182        margin: 1px;
     183        padding: 3px;
     184}
     185
     186#uploading {
     187        border-style: none;
     188        padding: 0px;
     189        margin-bottom: 16px;
     190        height: 15em;
     191        width: 100%;
     192/*      overflow-y: hidden;*/
     193}
     194
     195form#upload th {
     196        text-align: left;
     197}
     198
     199form#upload #post_content, form#upload #post_title {
     200        width: 250px;
     201}
     202
     203form#upload #post_content {
     204        height: 50px;
     205}
     206
     207.attpreview {
     208        width: 1px; /* hug */
     209        text-align: center;
     210}
     211
     212.alignleft {
     213        float: right
     214}
     215
     216.alignright {
     217        float: left;
     218}
     219
     220.alternate {
     221        background: #f1f1f1;
     222}
     223
     224.anchors {
     225        margin: 10px 20px 10px 20px;
     226}
     227
     228.available-theme {
     229        width: 30%;
     230        margin: 0 1em;
     231        float: right;
     232        text-align: center;
     233        height: 28em;
     234        overflow: hidden;
     235}
     236
     237.available-theme a.screenshot {
     238        width: 250px;
     239        height: 200px;
     240        display: block;
     241        margin: auto;
     242        background: #f1f1f1;
     243        border: 1px solid #ccc;
     244        margin-bottom: 10px;
     245        overflow: hidden;
     246}
     247
     248.available-theme a.screenshot:hover {
     249/*      border: 1px solid #666;*/
     250}
     251
     252.available-theme img {
     253        width: 100%;
     254}
     255
     256.checkbox {
     257        background: #fff;
     258        border: none;
     259        margin: 0;
     260        padding: 0;
     261}
     262
     263.code {
     264        font-family: "Courier New", Courier, monospace;
     265}
     266
     267.commentlist li {
     268        border-bottom: 1px solid #ccc;
     269        padding: 1em 1em .2em;
     270        margin: 0;
     271}
     272
     273.commentlist p {
     274        padding: 0;
     275        margin: 0 0 .8em;
     276}
     277
     278.clear {
     279        clear: both;
     280        height: 2px;
     281}
     282
     283.hidden {
     284        display: none;
     285}
     286
     287.navigation {
     288        display: block;
     289        text-align: center;
     290        margin-top: 10px;
     291        margin-bottom: 30px;
     292}
     293
     294.post-categories {
     295        display: inline;
     296        margin: 0;
     297        padding: 0;
     298}
     299
     300.post-categories li, #ed_toolbar {
     301        display: inline;
     302}
     303
     304.quicktags, .search {
     305        background: #ccc;
     306        color: #000;
     307        font: 12px Tahoma, Georgia, "Times New Roman", Times, serif;
     308}
     309
     310.submit input, .submit input:focus, .button {
     311        background: url( images/fade-butt.png );
     312        border: 3px double #999;
     313        border-right-color: #ccc;
     314        border-top-color: #ccc;
     315        color: #333;
     316        padding: 0.25em;
     317}
     318
     319.submit input:active, .button:active {
     320        background: #f4f4f4;
     321        border: 3px double #ccc;
     322        border-right-color: #999;
     323        border-top-color: #999;
     324}
     325
     326.submit, .editform th, #postcustomsubmit {
     327        text-align: left;
     328}
     329
     330.optiontable {
     331        width: 100%;
     332}
     333
     334.optiontable td, .optiontable th {
     335        padding: .5em;
     336}
     337
     338.optiontable th {
     339        width: 33%;
     340        text-align: right;
     341        font-size: 1.3em;
     342        font-weight: normal;
     343}
     344
     345.unapproved {
     346        color: #888;
     347}
     348
     349.unapproved a:link {
     350        color: #b9bcff;
     351}
     352
     353.unapproved a:visited {
     354        color: #696dff;
     355}
     356
     357.unapproved a:hover {
     358        color: #009ef0;
     359}
     360
     361.approve {
     362        display: none;
     363}
     364
     365.unapproved .approve {
     366        display: inline;
     367}
     368
     369.unapproved .unapprove {
     370        display: none;
     371}
     372
     373.updated, .confirm {
     374        background: #CFEBF7 url(images/notice.gif) no-repeat 1em;
     375        border: 1px solid #2580B2;
     376        margin: 1em 5% 10px;
     377        padding: 0 3em 0 1em;
     378}
     379
     380.error {
     381        background: #FFEFF7;
     382        border: 1px solid #c69;
     383        margin: 1em 5% 10px;
     384        padding: 0 1em 0 1em;
     385}
     386
     387.wrap {
     388        background: #fff;
     389        border: 1px solid #ccc;
     390        clear: both;
     391        margin: 15px 5%;
     392        padding: .5em 1em;
     393}
     394
     395.wrap h2 {
     396        margin: .8em 0 .5em;
     397        clear: both;
     398}
     399
     400table .vers {
     401        text-align: center;
     402}
     403
     404#adminmenu {
     405        background: #83B4D8;
     406        border-top: 3px solid #448abd;
     407        margin: 0;
     408        padding: .2em 2em .3em .2em;
     409        height: 30px;
     410}
     411
     412#adminmenu .current, #submenu .current {
     413        font-weight: bold;
     414        text-decoration: none;
     415}
     416
     417#adminmenu a {
     418        color: #000;
     419        font-size: 14px;
     420        font-weight: normal;
     421        margin: 0 0 0 10px;
     422        padding: 3px 5px;
     423        display: block;
     424        float: right;
     425        text-decoration: underline;
     426        border-bottom: none;
     427}
     428
     429#adminmenu a:hover, #adminmenu a.current {
     430        background: #ddeaf4;
     431        color: #333;
     432}
     433
     434#adminmenu li, #submenu li {
     435        display: inline;
     436        line-height: 200%;
     437        list-style: none;
     438        text-align: center;
     439}
     440
     441#submenu {
     442        background: #0d324f;
     443        border-bottom: none;
     444        height: 21px;
     445        margin: 0;
     446        padding: 3px 3em 0 2em;
     447}
     448
     449#submenu .current {
     450        background: #f9fcfe;
     451        border-top: 1px solid #045290;
     452        border-left: 2px solid #045290;
     453        color: #000;
     454}
     455
     456#submenu a {
     457        border: none;
     458        color: #fff;
     459        font-size: 12px;
     460        padding: .3em .4em .33em .4em;
     461        margin: 0 0 0 10px;
     462        display: block;
     463        float: right;
     464}
     465
     466#submenu a:hover {
     467        background: #ddeaf4;
     468        color: #393939;
     469}
     470
     471#submenu li {
     472        line-height: 100%;
     473}
     474
     475#categorydiv input, #poststatusdiv input, #commentstatusdiv input, #pingstatusdiv input {
     476        border: none;
     477}
     478
     479#titlediv, #guiddiv {
     480        margin: 0 0 0 8px;
     481        padding: 0px;
     482}
     483
     484#postdiv {
     485        margin: 0 0 0 8px;
     486        padding: 0px;
     487}
     488
     489#postdivrich {
     490        margin: 0px;
     491        padding: 0px;
     492}
     493
     494#content {
     495        margin: 0 0 0 0;
     496        width: 100%;
     497}
     498
     499#titlediv input, #guiddiv input {
     500        margin: 0px;
     501        width: 100%;
     502}
     503
     504#currenttheme img {
     505        float: right;
     506        border: 1px solid #666;
     507        margin-left: 1em;
     508        margin-bottom: 1.5em;
     509        width: 300px;
     510}
     511
     512#deletepost:hover, #deletecomment:hover {
     513        background: #ce0000;
     514        color: #fff;
     515}
     516
     517#deletebookmarks:hover {
     518        background: #ce0000;
     519        color: #fff;
     520}
     521
     522#postdivrich #quicktags {
     523        background: #f0f0ee;
     524        padding: 0px;
     525        border: 1px solid #ccc;
     526        border-bottom: none;
     527}
     528
     529#postdiv #quicktags {
     530        padding-left: 6px;
     531}
     532
     533#postdivrich #quicktags {
     534        display: none;
     535}
     536
     537#quicktags #ed_toolbar {
     538        padding: 0px 0 0 2px;
     539}
     540
     541#ed_toolbar input {
     542        background: #fff url( images/fade-butt.png ) repeat-x 0px -2px;
     543        margin: 3px 0 2px 2px;
     544}
     545
     546#quicktags #ed_strong {
     547        font-weight: bold;
     548}
     549
     550#quicktags #ed_link {
     551        color: blue;
     552        text-decoration: underline;
     553}
     554
     555#quicktags #ed_del {
     556        text-decoration: line-through;
     557}
     558
     559#quicktags #ed_em {
     560        font-style: italic;
     561}
     562
     563#quicktags #ed_code {
     564        font-family: "Courier New", Courier, mono;
     565}
     566
     567#title {
     568        font-size: 1.5em;
     569}
     570
     571#postexcerpt div, #attachmentlinks div {
     572        margin-left: 8px;
     573}
     574
     575#attachmentlinks textarea {
     576        width: 100%;
     577        height: 2.5em;
     578        margin-bottom: 6px;
     579}
     580
     581* html #postexcerpt .dbx-toggle-open, * html #postexcerpt .dbx-toggle-open {
     582        padding-left: 8px;
     583}
     584
     585#excerpt, .attachmentlinks {
     586        margin: 0px;
     587        height: 4em;
     588        width: 100%;
     589}
     590
     591#footer {
     592        clear: both;
     593        text-align: center;
     594}
     595
     596#login {
     597        position: relative;
     598        background: url('images/login-bkg-tile.gif') no-repeat top center #fbfbfb;
     599        color: #fff;
     600        /* height: 430px; */
     601        margin: 5em auto;
     602        padding: 45px 50px 0;
     603        width: 325px;
     604}
     605
     606#login #login_error {
     607        background: #0e3350;
     608        border: 1px solid #2571ab;
     609        color: #ebcd4e;
     610        font-size: 11px;
     611        font-weight: bold;
     612        padding: .6em;
     613        text-align: center;
     614}
     615
     616#login #send {
     617        color: #fff;
     618        text-align: right;
     619        font-weight: normal;
     620        font-size: 1.1em;
     621}
     622
     623#login h1 {
     624        margin: 0 auto;
     625        padding-bottom: 10px;
     626        right: 137px;
     627        height: 75px;
     628        width: 75px;
     629}
     630
     631#login h1 a {
     632        display: none;
     633        /*text-indent: -9999px;*/
     634        border-bottom: none;
     635}
     636
     637#login input {
     638        padding: 4px;
     639}
     640
     641#login ul {
     642        background: url('images/login-bkg-bottom.gif') no-repeat bottom center;
     643        list-style: none;
     644        margin: 0 -50px;
     645        padding: 0 50px 5px;
     646}
     647
     648#login ul:after {
     649  content: ".";
     650  display: block;
     651  height: 0;
     652  clear: both;
     653  visibility: hidden;
     654}
     655
     656#login ul li {
     657        float: right;
     658        font-size: 11px;
     659        padding: 15px 0;
     660        text-align: center;
     661}
     662
     663#login ul li a {
     664        display: block;
     665        color: #84c4f0;
     666        border: none;
     667        padding: 4px 1px 5px;
     668        width: 160px;
     669}
     670
     671#login ul li a:hover {
     672        background: #0e3350;
     673        border: 1px solid #2571ab;
     674        padding: 3px 0 4px;
     675        color: #fff;
     676}
     677
     678#login #log, #pwd, #user_login, #email {
     679        font-size: 1.8em;
     680        margin-top: 3px;
     681        width: 97%;
     682}
     683
     684#login p label {
     685        font-size: 11px;
     686}
     687
     688#login #submit {
     689        margin: 0;
     690        font-size: 1.2em;
     691}
     692
     693#searchform {
     694        float: right;
     695        margin-left: 3em;
     696        width: 16em;
     697}
     698
     699#viewarc {
     700        float: right;
     701        width: 20em;
     702        margin-bottom: 1em;
     703}
     704
     705#viewcat {
     706        float: right;
     707        width: 30em;
     708        margin-bottom: 1em;
     709}
     710
     711#postcustom .updatemeta, #postcustom .deletemeta {
     712        margin: auto;
     713}
     714
     715#postcustom table {
     716        border: 1px solid #ccc;
     717        margin: 0px;
     718        width: 100%;
     719}
     720
     721#postcustom table input, #postcustom table textarea {
     722        width: 95%;
     723}
     724
     725#poststuff {
     726        margin-left: 16em;
     727}
     728
     729#save {
     730        width: 15em;
     731}
     732
     733#template div {
     734        margin-left: 190px;
     735}
     736
     737* html #template div {
     738        margin-left: 0px;
     739}
     740
     741#template, #template div, #editcat, #addcat {
     742        zoom: 1;
     743}
     744
     745#template textarea {
     746        font: small 'Courier New', Courier, monospace;
     747        width: 97%;
     748}
     749
     750#templateside {
     751        float: left;
     752        width: 170px;
     753}
     754
     755#templateside h3, #postcustom p.submit {
     756        margin: 0;
     757}
     758
     759#templateside ol, #templateside ul {
     760        list-style: none;
     761        margin: .5em;
     762        padding: 0;
     763}
     764
     765#user_info {
     766        position: absolute;
     767        left: 1em;
     768        top: 0;
     769        color: #fff;
     770        font-size: .9em;
     771}
     772
     773#user_info a {
     774        color: #fff;
     775}
     776
     777#wphead {
     778        background: #14568a;
     779        padding: .8em 2em .8em 19em;
     780        color: #c3def1;
     781}
     782
     783#wphead a {
     784        color: #fff;
     785}
     786
     787#wphead h1 {
     788        font-size: 2.4em;
     789        font-weight: normal;
     790        letter-spacing: -.05em;
     791        margin: 0;
     792        font-family: Tahoma, Georgia, "Times New Roman", Times, serif
     793}
     794
     795#wphead h1 span {
     796        font-size: .4em;
     797        letter-spacing: 0;
     798}
     799
     800#zeitgeist {
     801        background: #eee;
     802        border: 1px solid #69c;
     803        float: left;
     804        font-size: 90%;
     805        margin-bottom: .5em;
     806        margin-right: 1em;
     807        margin-top: .5em;
     808        padding: 1em;
     809        width: 40%;
     810}
     811
     812#zeitgeist h2, fieldset legend a {
     813        border-bottom: none;
     814}
     815
     816#zeitgeist h2 {
     817        margin-top: .4em;
     818}
     819
     820#zeitgeist h3 {
     821        border-bottom: 1px solid #ccc;
     822        font-size: 16px;
     823        margin: 1em 0 0;
     824}
     825
     826#zeitgeist h3 cite {
     827        font-size: 12px;
     828        font-style: normal;
     829}
     830
     831#zeitgeist li, #zeitgeist p {
     832        margin: .2em 0;
     833}
     834
     835#zeitgeist ul {
     836        margin: 0 .6em .3em 0;
     837        padding: 0 .6em 0 0;
     838}
     839
     840.active td {
     841        background: #BEB;
     842}
     843.active .name {
     844        background: #9C9;
     845}
     846.alternate.active td {
     847        background: #ADA;
     848}
     849.alternate.active .name {
     850        background: #8B8;
     851}
     852
     853#namediv, #emaildiv, #uridiv {
     854        float: right;
     855}
     856
     857#ajax-response {
     858        padding: .5em;
     859}
     860
     861/* A handy div class for hiding controls.
     862   Some browsers will disable them when you
     863   set display:none; */
     864.zerosize {
     865        height: 0px;
     866        width: 0px;
     867        margin: 0px;
     868        border: 0px;
     869        padding: 0px;
     870        overflow: hidden;
     871        position: absolute;
     872}
     873
     874/* Box stuff */
     875.dbx-clone {
     876        position:absolute;
     877        visibility:hidden;
     878}
     879.dbx-clone, .dbx-clone .dbx-handle-cursor {
     880        cursor:move !important;
     881}
     882.dbx-dummy {
     883        display:block;
     884        width:0;
     885        height:0;
     886        overflow:hidden;
     887}
     888.dbx-group, .dbx-box, .dbx-handle {
     889        position:relative;
     890        display:block;
     891}
     892
     893#grabit {
     894        width: 188px;
     895}
     896
     897* html #themeselect {
     898        padding: 0px 3px;
     899        height: 22px;
     900}
     901
     902/****************************************************************
     903  avoid padding, margins or borders on dbx-box,
     904  to reduce visual discrepancies between it and the clone. 
     905  overall, dbx-box is best left as visually unstyled as possible
     906*****************************************************************/
     907.dbx-box {
     908        margin:0;
     909        padding:0;
     910        border:none;
     911}
     912
     913/* Can change this */
     914#moremeta fieldset, #advancedstuff fieldset {
     915        margin-bottom: 1em;
     916}
     917#moremeta fieldset div {
     918        margin: 2px 0px 0 0;
     919        padding: 7px;
     920}
     921#moremeta {
     922        line-height: 130%;
     923        margin-left: 15px;
     924        position: absolute;
     925        left: 5%;
     926        width: 14.5em;
     927}
     928#moremeta select {
     929        width: 96%;
     930}
     931
     932#slugdiv input, #passworddiv input, #authordiv select, #thumbdiv input, #parentdiv input {
     933        margin-top: .5em;
     934        width: 90%;
     935}
     936
     937#moremeta h3, #advancedstuff h3 {
     938        padding: 3px;
     939        font-weight: normal;
     940        font-size: 13px;
     941}
     942
     943#advancedstuff div {
     944        margin-top: .5em;
     945}
     946
     947#categorydiv ul {
     948        list-style: none;
     949        padding: 0;
     950        margin-right: 10px;
     951}
     952
     953#categorychecklist {
     954        height: 12em;
     955        overflow: auto;
     956        margin-top: 8px;
     957}
     958
     959#categorychecklist li {
     960        margin: 0;
     961        padding: 0;
     962}
     963
     964#ajaxcat input {
     965        border: 1px solid #ccc;
     966}
     967
     968#your-profile #rich_editing {
     969        border: none;
     970        background: #fff;
     971}
     972
     973#your-profile fieldset {
     974        border: 1px solid #ccc;
     975        float: right;
     976        width: 40%;
     977        padding: .5em 2em 1em;
     978        margin: 1em 1em 1em 0;
     979}
     980
     981#your-profile fieldset input  {
     982        width: 100%;
     983        font-size: 20px;
     984        padding: 2px;
     985}
     986
     987#your-profile fieldset textarea {
     988        width: 100%;
     989        padding: 2px;
     990}
     991
     992#your-profile legend {
     993        font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
     994        font-size: 22px;
     995}
     996
     997/* default box styles */
     998
     999/* toggle state of inner content area */
     1000.dbx-box-open .dbx-content {
     1001        display: block;
     1002}
     1003.dbx-box-closed .dbx-content {
     1004        display: none;
     1005}
     1006
     1007#moremeta .dbx-content {
     1008        background: url(images/box-butt.gif) no-repeat bottom left;
     1009        padding-bottom: 15px;
     1010        padding-left: 2px;
     1011}
     1012
     1013#moremeta fieldset.dbx-box-closed {
     1014        background: url(images/box-butt.gif) no-repeat bottom;
     1015        padding-bottom: 9px;
     1016}
     1017
     1018/* handles */
     1019
     1020.dbx-handle  {
     1021        background: #2685af;
     1022        padding: 6px 1em 2px;
     1023        font-size: 12px;
     1024        margin: 0;
     1025        color: #E3EFF5;
     1026}
     1027
     1028#moremeta .dbx-handle {
     1029        padding: 6px 1em 2px;
     1030        font-size: 12px;
     1031        background: #2685af url(images/box-head.gif) no-repeat left;
     1032}
     1033
     1034#moremeta .dbx-box {
     1035        background: url(images/box-bg.gif) repeat-y left;
     1036}
     1037
     1038#advancedstuff h3.dbx-handle {
     1039        margin-left: 7px;
     1040        margin-bottom: -7px;
     1041        padding: 6px 1em 0 3px;
     1042        background: #2685af url(images/box-head-right.gif) no-repeat top right;
     1043}
     1044
     1045#advancedstuff div.dbx-handle-wrapper {
     1046        margin: 0 0 0 -7px;
     1047        background: #fff url(images/box-head-left.gif) no-repeat top left;
     1048}
     1049
     1050#advancedstuff div.dbx-content {
     1051        margin-left: 8px;
     1052        background: url(images/box-bg-right.gif) repeat-y right;
     1053        padding: 10px 10px 15px 0px;
     1054}
     1055
     1056#postexcerpt div.dbx-content {
     1057        margin-right: 0;
     1058        padding-right: 17px;
     1059}
     1060
     1061#advancedstuff div.dbx-content-wrapper {
     1062        margin-left: -7px;
     1063        margin-right: 0;
     1064        background: url(images/box-bg-left.gif) repeat-y left;
     1065}
     1066
     1067#advancedstuff fieldset.dbx-box {
     1068        padding-bottom: 9px;
     1069        margin-left: 6px;
     1070        background: url(images/box-butt-right.gif) no-repeat bottom right;
     1071}
     1072
     1073#advancedstuff div.dbx-box-wrapper {
     1074        background: url(images/box-butt-left.gif) no-repeat bottom left;
     1075}
     1076
     1077#advancedstuff .dbx-box-closed div.dbx-content-wrapper {
     1078        padding-bottom: 2px;
     1079        background: url(images/box-butt-left.gif) no-repeat bottom left;
     1080}
     1081
     1082#advancedstuff .dbx-box {
     1083        background: url(images/box-butt-right.gif) no-repeat bottom right;
     1084}
     1085
     1086
     1087/* handle cursors */
     1088.dbx-handle-cursor {
     1089        cursor: move;
     1090}
     1091
     1092/* toggle images */
     1093a.dbx-toggle, a.dbx-toggle:visited {
     1094        display:block;
     1095        overflow: hidden;
     1096        background-image: url( images/toggle.gif );
     1097        position: absolute;
     1098        top: 0px;
     1099        left: 2px;
     1100        background-repeat: no-repeat;
     1101        border: 0px;
     1102        margin: 0px;
     1103        padding: 0px;
     1104}
     1105
     1106#moremeta a.dbx-toggle, #moremeta a.dbx-toggle-open:visited {
     1107        height: 25px;
     1108        width: 27px;
     1109        background-position: 0 0px;
     1110}
     1111
     1112#moremeta a.dbx-toggle-open, #moremeta a.dbx-toggle-open:visited {
     1113        height: 25px;
     1114        width: 27px;
     1115        background-position: 0 -25px;
     1116}
     1117
     1118#advancedstuff a.dbx-toggle, #advancedstuff a.dbx-toggle-open:visited {
     1119        height: 22px;
     1120        width: 22px;
     1121        top: 3px;
     1122        left: 5px;
     1123        background-position: 0 -3px;
     1124}
     1125
     1126#advancedstuff a.dbx-toggle-open, #advancedstuff a.dbx-toggle-open:visited {
     1127        height: 22px;
     1128        width: 22px;
     1129        top: 3px;
     1130        left: 5px;
     1131        background-position: 0 -28px;
     1132}
     1133
     1134#categorychecklist {
     1135        margin-left: 6px;
     1136}
     1137
     1138/* additional clone styles */
     1139.dbx-clone {
     1140        opacity: 0.8;
     1141        -moz-opacity: 0.8;
     1142        -khtml-opacity: 0.8;
     1143        filter: alpha(opacity=80);
     1144}
     1145
     1146#newcat {
     1147        width: 120px;
     1148        margin-right: 5px;
     1149}
     1150
     1151input#catadd {
     1152        background: #a4a4a4;
     1153        border-bottom: 1px solid #898989;
     1154        border-left: 1px solid #bcbcbc;
     1155        border-right: 1px solid #898989;
     1156        border-top: 1px solid #bcbcbc;
     1157        color: #fff;
     1158        font-size: 10px;
     1159        padding: 0;
     1160        margin: 0;
     1161        font-weight: bold;
     1162        height: 20px;
     1163        margin-bottom: 2px;
     1164        text-align: center;
     1165        width: 37px;
     1166}
     1167
     1168#howto {
     1169        font-size: 11px;
     1170        margin: 0 5px;
     1171        display: block;
     1172}
     1173
     1174#jaxcat {
     1175        margin: 0;
     1176        padding: 0;
     1177}
     1178
     1179#ajax-response.alignleft {
     1180        margin-right: 2em;
     1181}
     1182
     1183#postdivrich #edButtons {
     1184        padding-right: 3px;
     1185}
     1186
     1187#postdivrich #content, #postdivrich #content:active {
     1188        border: 1px solid #ccc;
     1189}
     1190
     1191#edButtons input, #edButtons input:active {
     1192        margin: 0px 0 -1px 2px;
     1193}
     1194
     1195#edButtons input.edButtonFore, #edButtons input.edButtonFore:active {
     1196        background: #f0f0ee;
     1197        border-bottom: 1px solid #f0f0ee;
     1198}
     1199
     1200#edButtons input.edButtonBack, #edButtons input.edButtonBack:active {
     1201        background: #fff url( images/fade-butt.png ) repeat-x 0px 15px;
     1202        border-bottom: 1px solid #ccc;
     1203}
  • wp-admin/wp-admin.css

     
    4848        padding: 5px 6px;
    4949}
    5050
     51.widefat th {
     52        text-align: left;
     53}
     54
    5155.import-system {
    5256        font-size: 16px;
    5357}
     
    366370}
    367371
    368372.updated, .confirm {
    369         background: #CFEBF7 url(images/notice.gif) no-repeat 1em ;
     373        background: #CFEBF7 url(images/notice.gif) no-repeat 1em;
    370374        border: 1px solid #2580B2;
    371375        margin: 1em 5% 10px;
    372376        padding: 0 1em 0 3em;
     
    514518        border: 1px solid #ccc;
    515519        border-bottom: none;
    516520}
     521
    517522#postdiv #quicktags {
    518523        padding-right: 6px;
    519524}
     525
    520526#postdivrich #quicktags {
    521527        display: none;
    522528}
     529
    523530#quicktags #ed_toolbar {
    524531        padding: 0px 2px;
    525532}
     
    633640}
    634641
    635642#login ul:after {
    636   content: "."; 
    637   display: block; 
    638   height: 0; 
    639   clear: both; 
     643  content: ".";
     644  display: block;
     645  height: 0;
     646  clear: both;
    640647  visibility: hidden;
    641648}
    642649
     
    677684        font-size: 1.2em;
    678685}
    679686
     687#searchform {
     688        float: left;
     689        margin-right: 3em;
     690        width: 16em;
     691}
     692
     693#viewarc {
     694        float: left;
     695        width: 20em;
     696        margin-bottom: 1em;
     697}
     698
     699#viewcat {
     700        float: left;
     701        width: 30em;
     702        margin-bottom: 1em;
     703}
     704
    680705#postcustom .updatemeta, #postcustom .deletemeta {
    681706        margin: auto;
    682707}
     
    916941#categorydiv ul {
    917942        list-style: none;
    918943        padding: 0;
    919         margin-left:10px;
     944        margin-left: 10px;
    920945}
     946
    921947#categorychecklist {
    922948        height: 12em;
    923949        overflow: auto;
    924950        margin-top: 8px;
    925951}
     952
    926953#categorychecklist li {
    927954        margin: 0;
    928955        padding: 0;
    929956}
     957
    930958#ajaxcat input {
    931959        border: 1px solid #ccc;
    932960}
     
    941969        float: left;
    942970        width: 40%;
    943971        padding: .5em 2em 1em;
    944         margin: 1em 1em 1em 0; 
     972        margin: 1em 1em 1em 0;
    945973}
    946974
    947975#your-profile fieldset input  {
     
    11091137        filter: alpha(opacity=80);
    11101138}
    11111139
    1112 #newcat { width: 120px; margin-right: 5px; }
    1113 input#catadd {  background: #a4a4a4;
     1140#newcat {
     1141        width: 120px;
     1142        margin-right: 5px;
     1143}
     1144
     1145input #catadd {
     1146        background: #a4a4a4;
    11141147        border-bottom: 1px solid #898989;
    11151148        border-left: 1px solid #bcbcbc;
    11161149        border-right: 1px solid #898989;
     
    11231156        height: 20px;
    11241157        margin-bottom: 2px;
    11251158        text-align: center;
    1126         width: 37px; }
     1159        width: 37px;
     1160}
     1161
    11271162#howto {
    11281163        font-size: 11px;
    11291164        margin: 0 5px;
    11301165        display: block;
    11311166}
     1167
    11321168#jaxcat {
    11331169        margin: 0;
    11341170        padding: 0;
    11351171}
     1172
    11361173#ajax-response.alignleft {
    11371174        margin-left: 2em;
    11381175}
     1176
    11391177#postdivrich #edButtons {
    11401178        padding-left: 3px;
    11411179}
     1180
    11421181#postdivrich #content, #postdivrich #content:active {
    11431182        border: 1px solid #ccc;
    11441183}
     1184
    11451185#edButtons input, #edButtons input:active {
    11461186        margin: 0px 2px -1px;
    11471187}
     1188
    11481189#edButtons input.edButtonFore, #edButtons input.edButtonFore:active {
    11491190        background: #f0f0ee;
    11501191        border-bottom: 1px solid #f0f0ee;
    11511192}
     1193
    11521194#edButtons input.edButtonBack, #edButtons input.edButtonBack:active {
    11531195        background: #fff url( images/fade-butt.png ) repeat-x 0px 15px;
    11541196        border-bottom: 1px solid #ccc;
  • wp-includes/functions.php

     
    11611161
    11621162function _mce_set_direction() {
    11631163        global $wp_locale;
    1164         if ('rtl' == $wp_locale->text_direction)
     1164
     1165        if ('rtl' == $wp_locale->text_direction) {
    11651166                echo 'directionality : "rtl" ,';
     1167                echo 'theme_advanced_toolbar_align : "right" ,';
     1168        }
    11661169}
    11671170
    11681171function _mce_load_rtl_plugin($input) {
    1169         global $wp_locale;
     1172        global $wp_locale;
     1173
    11701174        if ('rtl' == $wp_locale->text_direction)
    11711175                $input[] = 'directionality';
    11721176
     
    11741178}
    11751179
    11761180function _mce_add_direction_buttons($input) {
    1177         global $wp_locale;
     1181        global $wp_locale;
     1182
    11781183        if ('rtl' == $wp_locale->text_direction) {
    11791184                $new_buttons = array('separator', 'ltr', 'rtl');
    11801185                $input = array_merge($input, $new_buttons);
  • wp-includes/languages/ar.php

     
     1<?php
     2
     3// Arabic
     4
     5$website_url = 'http://wordpress-ar.sourceforge.net';
     6$documentation_url = '';
     7$forums_url = 'http://wordpress-ar.sourceforge.net/forums/';
     8
     9$text_direction = 'rtl';
     10
     11?>
     12 No newline at end of file
  • wp-includes/languages/en_US.php

     
     1<?php
     2
     3// English - United States
     4
     5$website_url = 'http://www.wordpress.org';
     6$documentation_url = 'http://codex.wordpress.org';
     7$forums_url = 'http://www.wordpress.org/support/';
     8
     9$text_direction = 'ltr';
     10
     11?>
     12 No newline at end of file
  • wp-includes/languages/fa.php

     
     1<?php
     2
     3// Farsi (Persian)
     4
     5$website_url = 'http://www.wp-persian.com';
     6$documentation_url = '';
     7$forums_url = '';
     8
     9$text_direction = 'rtl';
     10
     11?>
     12 No newline at end of file
  • wp-includes/locale.php

     
    1313        var $meridiem;
    1414
    1515        var $text_direction = '';
    16         var $locale_vars = array('text_direction');
     16        var $locale_vars = array('text_direction', 'website_url', 'documentation_url', 'forums_url');
    1717
    1818        function init() {
    1919                // The Weekdays