Changeset 4258
- Timestamp:
- 09/27/2006 12:51:17 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r4220 r4258 751 751 $category->link_count = number_format( $category->link_count ); 752 752 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> 754 754 <td>" . ( $name_override ? $name_override : $pad . ' ' . $category->cat_name ) . "</td> 755 755 <td>$category->category_description</td> … … 779 779 ?> 780 780 <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> 782 782 <td> 783 783 <?php echo $pad; ?><?php the_title() ?> -
trunk/wp-admin/categories.php
r4022 r4258 90 90 <thead> 91 91 <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> 98 98 </tr> 99 99 </thead> -
trunk/wp-admin/edit-comments.php
r4133 r4258 156 156 <thead> 157 157 <tr> 158 <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>158 <th scope="col" style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById(\'deletecomments\'));" /></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> 164 164 </tr> 165 165 </thead>'; -
trunk/wp-admin/edit-pages.php
r3788 r4258 32 32 <thead> 33 33 <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> 39 39 </tr> 40 40 </thead> -
trunk/wp-admin/edit.php
r4165 r4258 74 74 </h2> 75 75 76 <form name="searchform" action="" method="get" style="float: left; width: 16em; margin-right: 3em;">76 <form name="searchform" id="searchform" action="" method="get"> 77 77 <fieldset> 78 78 <legend><?php _e('Search Posts…') ?></legend> … … 86 86 if ( count($arc_result) ) { ?> 87 87 88 <form name="viewarc" action="" method="get" style="float: left; width: 20em; margin-bottom: 1em;">88 <form name="viewarc" id="viewarc" action="" method="get"> 89 89 <fieldset> 90 90 <legend><?php _e('Browse Month…') ?></legend> … … 113 113 <?php } ?> 114 114 115 <form name="viewcat" action="" method="get" style="float: left; width: 30em; margin-bottom: 1em;">115 <form name="viewcat" id="viewcat" action="" method="get"> 116 116 <fieldset> 117 117 <legend><?php _e('Browse Category…') ?></legend> … … 170 170 case 'id': 171 171 ?> 172 <th scope="row" ><?php echo $id ?></th>172 <th scope="row" style="text-align: center"><?php echo $id ?></th> 173 173 <?php 174 174 break; -
trunk/wp-admin/link-manager.php
r4133 r4258 105 105 <thead> 106 106 <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> 114 114 </tr> 115 115 </thead> -
trunk/wp-admin/moderation.php
r4144 r4258 21 21 check_admin_referer('moderate-comments'); 22 22 23 if ( ! 24 wp_die('<p>'.__('Your level is not high enough to moderate comments.').'</p>');23 if ( !current_user_can('moderate_comments') ) 24 wp_die(__('Your level is not high enough to moderate comments.')); 25 25 26 26 $item_ignored = 0; -
trunk/wp-admin/plugins.php
r4202 r4258 82 82 <thead> 83 83 <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> 88 88 </tr> 89 89 </thead> -
trunk/wp-admin/rtl.css
r4201 r4258 1 body { 2 direction: rtl; 1 #viewarc, #viewcat, #namediv, #emaildiv, #uridiv, #planetnews li, #login ul li, #your-profile fieldset, .alignleft .available-theme { 2 float: right 3 } 4 5 #templateside, .alignright { 6 float: left; 7 } 8 9 #login, #send, .widefat th { 10 text-align: right 11 } 12 13 #postcustomsubmit, h2 small.quickjump, form#upload th, .submit, .editform th { 14 text-align: left 3 15 } 4 16 … … 7 19 } 8 20 9 h2 small.quickjump { 10 text-align: left; 11 } 12 13 h2 small.quickjump a { 14 font-size: 12px; 15 font-family: Tahoma, sans-serif; 21 fieldset.options legend { 22 font-family: Tahoma, Georgia, "Times New Roman", Times, serif; 16 23 } 17 24 18 25 textarea, input, select { 19 font: 12px Tahoma, Arial, Helvetica, sans-serif; 26 font: 13px Tahoma, Verdana, Arial, Helvetica, sans-serif; 27 } 28 29 .quicktags, .search { 30 font: 12px Tahoma, Georgia, "Times New Roman", Times, serif; 31 } 32 33 .submit input, .submit input:focus, .button { 34 border-right-color: #ccc; 35 } 36 37 .submit input:active, .button:active { 38 border-right-color: #999; 39 } 40 41 .updated, .confirm { 42 padding: 0 3em 0 1em; 20 43 } 21 44 22 45 #adminmenu { 23 float: right;24 width: 100%;46 padding: .2em 2em .3em .2em; 47 height: 30px; 25 48 } 26 49 27 50 #adminmenu a { 28 font-size: 16px; 29 font-weight: bold; 30 font-family: georgia; 31 margin: 0px 2px; 32 padding: 1px 5px; 51 margin: 0 0 0 10px; 52 display: block; 33 53 float: right; 34 54 } 35 55 36 56 #submenu { 37 clear: both; 38 float: right; 39 width: 100%; 57 height: 21px; 58 padding: 3px 3em 0 2em; 59 } 60 61 #submenu .current { 62 border-left: 2px solid #045290; 40 63 } 41 64 42 65 #submenu a { 43 padding: .1em .33em; 44 float: right; 45 margin: 0px 2px; 46 } 47 48 #title { 49 font-family: georgia; 66 padding: .3em .4em .33em .4em; 67 margin: 0 0 0 10px; 68 display: block; 69 float: right; 70 } 71 72 #submenu li { 73 line-height: 100%; 74 } 75 76 #postdiv , #titlediv, #guiddiv { 77 margin: 0 0 0 8px; 78 } 79 80 #currenttheme img { 81 float: right; 82 margin-right: auto; 83 margin-left: 1em; 84 } 85 86 #postdiv #quicktags { 87 padding-right: auto; 88 padding-left: 6px; 89 } 90 91 #quicktags #ed_toolbar { 92 padding: 0px 0 0 2px; 93 } 94 95 #ed_toolbar input { 96 margin: 3px 0 2px 2px; 97 } 98 99 * html #postexcerpt .dbx-toggle-open, * html #postexcerpt .dbx-toggle-open, #postexcerpt div, #attachmentlinks div { 100 padding-right: auto; 101 padding-left: 8px; 50 102 } 51 103 52 104 #login h1 { 53 direction: ltr; 54 } 55 56 #postcustom .updatemeta, #postcustom .deletemeta { 57 width: 5em; 105 left: auto; 106 right: 137px; 107 } 108 109 #login h1 a { 110 display: none; 111 } 112 113 #searchform { 114 float: right; 115 margin-right: auto; 116 margin-left: 3em; 117 } 118 119 #poststuff { 120 margin-right: auto; 121 margin-left: 16em; 58 122 } 59 123 60 124 #template div { 61 direction: ltr; 125 margin-right: auto; 126 margin-left: 190px; 127 } 128 129 * html #template div { 130 margin-right: auto; 131 margin-left: 0px; 62 132 } 63 133 64 134 #user_info { 135 right: auto; 65 136 left: 1em; 66 top: 0;67 right: auto;68 137 } 69 138 … … 72 141 } 73 142 143 #wphead h1 { 144 font-size: 2.4em; 145 font-family: Tahoma, Georgia, "Times New Roman", Times, serif 146 } 147 148 #zeitgeist { 149 float: left; 150 margin-left: auto; 151 margin-right: 1em; 152 } 153 154 #zeitgeist ul { 155 margin: 0 .6em .3em 0; 156 padding: 0 .6em 0 0; 157 } 158 74 159 #moremeta fieldset div { 75 padding: 0 7px 0 0; 160 margin: 2px 0px 0 0; 161 } 162 #moremeta { 163 margin-right: auto; 164 margin-left: 15px; 165 right: auto; 166 left: 5%; 167 } 168 #categorydiv ul { 169 margin-left: auto; 170 margin-right: 10px; 171 } 172 173 #your-profile legend { 174 font-family: Tahoma, Georgia, "Times New Roman", Times, serif; 76 175 } 77 176 78 177 #moremeta .dbx-content { 79 178 background: url(images/box-butt.gif) no-repeat bottom left; 80 padding: 5px 10px 15px 5px; 179 padding-right: auto; 180 padding-left: 2px; 81 181 } 82 182 83 183 #moremeta .dbx-handle { 84 background: url(images/box-head.gif) no-repeat right; 85 } 86 87 /* toggle images */ 184 background: #2685af url(images/box-head.gif) no-repeat left; 185 } 186 187 #moremeta .dbx-box { 188 background: url(images/box-bg.gif) repeat-y left; 189 } 190 88 191 a.dbx-toggle, a.dbx-toggle:visited { 192 right: auto; 193 left: 2px; 194 } 195 196 #advancedstuff a.dbx-toggle, #advancedstuff a.dbx-toggle-open:visited { 197 right: auto; 89 198 left: 5px; 90 right: auto;91 199 } 92 200 93 201 #advancedstuff a.dbx-toggle-open, #advancedstuff a.dbx-toggle-open:visited { 94 95 } 96 97 /* Ali ix Corrections and Additions ;) */ 98 99 td.desc, td.name, textarea#ping_sites, textarea#moderation_keys, textarea#blacklist_keys, input#home, input#admin_email, input#siteurl, input#mailserver_url, input#mailserver_port, input#mailserver_login, input#mailserver_pass, input#blog_charset, input#permalink_structure, input#post_name, input#trackback { 100 direction: ltr; 101 text-align: left; 102 } 103 .mceToolbarTop { 104 direction: ltr; 105 } 106 107 div#zeitgeist ul, div.wrap ul { 108 list-style: none; 109 } 110 111 table.widefat th, tr.thead { 112 text-align: right; 113 } 202 right: auto; 203 left: 5px; 204 } 205 206 #categorychecklist { 207 margin-right: auto; 208 margin-left: 6px; 209 } 210 211 #ajax-response.alignleft { 212 margin-left: auto; 213 margin-right: 2em; 214 } 215 216 #postdivrich #edButtons { 217 padding-left: auto; 218 padding-right: 3px; 219 } 220 221 #edButtons input, #edButtons input:active { 222 margin: 0px 0 -1px 2px; 223 } -
trunk/wp-admin/users.php
r4196 r4258 379 379 <tr> 380 380 <?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> 382 382 <?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> 384 384 <?php endif; ?> 385 385 </tr> 386 386 <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> 393 393 </tr> 394 394 </thead> -
trunk/wp-admin/wp-admin.css
r4214 r4258 47 47 .widefat td, .widefat th { 48 48 padding: 5px 6px; 49 } 50 51 .widefat th { 52 text-align: left; 49 53 } 50 54 … … 367 371 368 372 .updated, .confirm { 369 background: #CFEBF7 url(images/notice.gif) no-repeat 1em 373 background: #CFEBF7 url(images/notice.gif) no-repeat 1em; 370 374 border: 1px solid #2580B2; 371 375 margin: 1em 5% 10px; … … 515 519 border-bottom: none; 516 520 } 521 517 522 #postdiv #quicktags { 518 523 padding-right: 6px; 519 524 } 525 520 526 #postdivrich #quicktags { 521 527 display: none; 522 528 } 529 523 530 #quicktags #ed_toolbar { 524 531 padding: 0px 2px; … … 634 641 635 642 #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; 640 647 visibility: hidden; 641 648 } … … 676 683 margin: 0; 677 684 font-size: 1.2em; 685 } 686 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; 678 703 } 679 704 … … 917 942 list-style: none; 918 943 padding: 0; 919 margin-left:10px; 920 } 944 margin-left: 10px; 945 } 946 921 947 #categorychecklist { 922 948 height: 12em; … … 924 950 margin-top: 8px; 925 951 } 952 926 953 #categorychecklist li { 927 954 margin: 0; 928 955 padding: 0; 929 956 } 957 930 958 #ajaxcat input { 931 959 border: 1px solid #ccc; … … 942 970 width: 40%; 943 971 padding: .5em 2em 1em; 944 margin: 1em 1em 1em 0; 972 margin: 1em 1em 1em 0; 945 973 } 946 974 … … 1112 1140 } 1113 1141 1114 #newcat { width: 120px; margin-right: 5px; } 1115 input#catadd { background: #a4a4a4; 1142 #newcat { 1143 width: 120px; 1144 margin-right: 5px; 1145 } 1146 1147 input #catadd { 1148 background: #a4a4a4; 1116 1149 border-bottom: 1px solid #898989; 1117 1150 border-left: 1px solid #bcbcbc; … … 1126 1159 margin-bottom: 2px; 1127 1160 text-align: center; 1128 width: 37px; } 1161 width: 37px; 1162 } 1163 1129 1164 #howto { 1130 1165 font-size: 11px; … … 1132 1167 display: block; 1133 1168 } 1169 1134 1170 #jaxcat { 1135 1171 margin: 0; 1136 1172 padding: 0; 1137 1173 } 1174 1138 1175 #ajax-response.alignleft { 1139 1176 margin-left: 2em; 1140 1177 } 1178 1141 1179 #postdivrich #edButtons { 1142 1180 padding-left: 3px; 1143 1181 } 1182 1144 1183 #postdivrich #content, #postdivrich #content:active { 1145 1184 border: 1px solid #ccc; 1146 1185 } 1186 1147 1187 #edButtons input, #edButtons input:active { 1148 1188 margin: 0px 2px -1px; 1149 1189 } 1190 1150 1191 #edButtons input.edButtonFore, #edButtons input.edButtonFore:active { 1151 1192 background: #f0f0ee; 1152 1193 border-bottom: 1px solid #f0f0ee; 1153 1194 } 1195 1154 1196 #edButtons input.edButtonBack, #edButtons input.edButtonBack:active { 1155 1197 background: #fff url( images/fade-butt.png ) repeat-x 0px 15px; -
trunk/wp-includes/functions.php
r4201 r4258 1162 1162 function _mce_set_direction() { 1163 1163 global $wp_locale; 1164 if ('rtl' == $wp_locale->text_direction) 1164 1165 if ('rtl' == $wp_locale->text_direction) { 1165 1166 echo 'directionality : "rtl" ,'; 1167 echo 'theme_advanced_toolbar_align : "right" ,'; 1168 } 1166 1169 } 1167 1170 1168 1171 function _mce_load_rtl_plugin($input) { 1169 global $wp_locale; 1172 global $wp_locale; 1173 1170 1174 if ('rtl' == $wp_locale->text_direction) 1171 1175 $input[] = 'directionality'; … … 1175 1179 1176 1180 function _mce_add_direction_buttons($input) { 1177 global $wp_locale; 1181 global $wp_locale; 1182 1178 1183 if ('rtl' == $wp_locale->text_direction) { 1179 1184 $new_buttons = array('separator', 'ltr', 'rtl'); -
trunk/wp-includes/js/tinymce/wp-mce-help.php
r4144 r4258 1 <?php 2 3 require_once('../../../wp-config.php'); 4 5 ?> 1 <?php require_once('../../../wp-config.php'); ?> 6 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 7 <html xmlns="http://www.w3.org/1999/xhtml" >3 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 8 4 <head> 5 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 9 6 <title><?php _e('Rich Editor Help') ?></title> 10 7 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 8 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 9 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 10 <?php endif; ?> 11 11 <style type="text/css"> 12 12 #wphead { … … 79 79 } 80 80 </style> 81 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 82 <style type="text/css"> 83 #wphead, #adminmenu { 84 padding-left: auto; 85 padding-right: 15px; 86 } 87 #flipper { 88 margin: 5px 0 3px 10px; 89 } 90 #keys .left, .top, .action { text-align: right; } 91 #keys .right { text-align: left; } 92 td b { font-family: Tahoma, "Times New Roman", Times, serif } 93 </style> 94 <?php endif; ?> 81 95 <script type="text/javascript"> 82 96 window.onkeydown = window.onkeypress = function (e) {
Note: See TracChangeset
for help on using the changeset viewer.