Ticket #440: RTL.diff
| File RTL.diff, 22.1 KB (added by , 20 years ago) |
|---|
-
bb-settings.php
67 68 require( BBPATH . BBINC . '/wp-functions.php'); 68 69 if ( !( defined('WP_BB') && WP_BB ) ) { // Don't include these when WP is running. 69 70 require( BBPATH . BBINC . '/kses.php'); 70 if ( defined(' WPLANG') && '' != constant('WPLANG') ) {71 if ( defined('BBLANG') && '' != constant('BBLANG') ) { 71 72 include_once(BBPATH . BBINC . '/streams.php'); 72 73 include_once(BBPATH . BBINC . '/gettext.php'); 73 74 } … … 128 129 129 130 $bb_cache = new BB_Cache(); 130 131 131 $bb_roles = new BB_Roles(); 132 // Load the default text localization domain. 133 load_default_textdomain(); 134 135 // Pull in locale data after loading text domain. 136 require_once(BBPATH . BBINC . '/locale.php'); 137 138 $bb_locale = new BB_Locale(); 139 $bb_roles = new BB_Roles(); 140 132 141 do_action('bb_got_roles', ''); 133 142 134 143 function bb_shutdown_action_hook() { -
config-sample.php
34 34 // Your timezone offset. Example: -7 for Pacific Daylight Time. 35 35 $bb->gmt_offset = 0; 36 36 37 // Change this to localize bbPress. A corresponding MO file for the 38 // chosen language must be installed to bb-includes/languages. 39 // For example, install de.mo to bb-includes/languages and set BBLANG to 'de' 40 // to enable German language support. 41 define('BBLANG', ''); 42 37 43 // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage 38 44 // of Akismet's powerful spam blocking, you'll need one. You can get an Akismet key at 39 45 // http://wordpress.com/api-keys/ -
bb-admin/admin-header.php
1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php _e('en'); ?>">2 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 3 3 <head> 4 4 <title><?php bb_admin_title() ?></title> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <style type="text/css"> 7 @import url(<?php option('uri'); ?>bb-admin/style.css); 8 </style> 6 <link rel="stylesheet" href="<?php option('uri'); ?>bb-admin/style.css" type="text/css" /> 7 <?php global $bb_locale; if ( ('rtl' == $bb_locale->text_direction) ) : ?> 8 <link rel="stylesheet" href="<?php option('uri'); ?>bb-admin/style-rtl.css" type="text/css" /> 9 <?php endif; ?> 9 10 </head> 10 11 11 12 <body> -
bb-admin/install-rtl.css
1 body { font-family: Tahoma, Georgia, "Times New Roman", Times, serif; } 2 No newline at end of file -
bb-admin/install.css
1 html { background: #eee; } 2 3 body { 4 background: #fff; 5 color: #000; 6 font-family: Georgia, "Times New Roman", Times, serif; 7 margin-left: 20%; 8 margin-right: 20%; 9 padding: .2em 2em; 10 } 11 12 h1 { 13 color: #006; 14 font-size: 18px; 15 font-weight: lighter; 16 } 17 18 h2 { font-size: 16px; } 19 20 p, li, dt { 21 line-height: 140%; 22 padding-bottom: 2px; 23 } 24 25 ul, ol { padding: 5px 5px 5px 20px; } 26 27 #logo { margin-bottom: 2em; } 28 29 .step a, .step input { font-size: 2em; } 30 31 td input { font-size: 1.5em; } 32 33 .step, th { text-align: right; } 34 35 #footer { 36 text-align: center; 37 border-top: 1px solid #ccc; 38 padding-top: 1em; 39 font-style: italic; 40 } 41 No newline at end of file -
bb-admin/style-rtl.css
1 body, td { font: 13px Tahoma, "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana; } 2 3 fieldset label.selectit { padding: 0 0 0 2px; } 4 5 fieldset legend { padding: .1em 0 0 .3em; } 6 7 fieldset span.cat-nest { 8 margin-left: auto; 9 margin-right: 10px; 10 } 11 12 h2 { 13 font: normal 30px/5px serif; 14 margin: 5px 0 0 10px; 15 } 16 17 textarea, input, select { 18 font: 13px Verdana, Arial, Helvetica, sans-serif; 19 } 20 21 .alignleft { 22 float: right; 23 } 24 25 .alignright { 26 float: left; 27 } 28 29 .submit input:active, .button:active { 30 border-left-color: #ccc; 31 border-right-color: #999; 32 } 33 34 .submit, .editform th { 35 text-align: left; 36 } 37 38 .updated, .error { 39 margin: 1em 5% 10px; 40 } 41 42 .wrap { 43 margin: 15px 5%; 44 padding: .5em 1em; 45 } 46 47 .wrap h2 { 48 margin: .8em 0 .5em; 49 } 50 51 .widefat td, .widefat th { 52 padding: 5px 0 0 6px; 53 } 54 55 .widefat th { 56 text-align: right; 57 } 58 59 #bb-admin-menu { 60 padding: .2em 2em .3em .2em; 61 height: 30px; 62 } 63 64 #bb-admin-menu a { 65 margin: 0 0 0 10px; 66 display: block; 67 float: right; 68 } 69 70 #bb-admin-menu li { line-height: 180%; } 71 72 #bb-admin-submenu { 73 padding: 3px 3em 0 2em; 74 height: 25px; 75 } 76 77 #bb-admin-submenu .current a { 78 border-right: 0; 79 border-left: 2px solid #049052; 80 } 81 82 #bb-admin-submenu a { 83 padding: .3em .4em .4em .4em; 84 margin: 0 0 0 10px; 85 display: block; 86 float: right; 87 } 88 89 #bb-admin-submenu li { 90 line-height: 120%; 91 } 92 93 #top { 94 padding: .8em 2em .8em 19em; 95 } 96 97 #top h1 { 98 font-family: Tahoma, Georgia, "Times New Roman", Times, serif 99 } 100 101 #top .login { 102 right: auto; 103 left: 1em; 104 } 105 106 #zeitgeist { 107 float: left; 108 margin: .5em 0 .5em 1em; 109 } 110 111 #zeitgeist ul { 112 margin: 0 .6em .3em 0; 113 padding: 0 .6em 0 0; 114 } -
bb-includes/locale.php
1 <?php 2 3 // Date and Time 4 5 class BB_Locale { 6 var $weekday; 7 var $weekday_initial; 8 var $weekday_abbrev; 9 10 var $month; 11 var $month_abbrev; 12 13 var $meridiem; 14 15 var $text_direction = ''; 16 var $locale_vars = array('text_direction'); 17 18 function init() { 19 // The Weekdays 20 $this->weekday[0] = __('Sunday'); 21 $this->weekday[1] = __('Monday'); 22 $this->weekday[2] = __('Tuesday'); 23 $this->weekday[3] = __('Wednesday'); 24 $this->weekday[4] = __('Thursday'); 25 $this->weekday[5] = __('Friday'); 26 $this->weekday[6] = __('Saturday'); 27 28 // The first letter of each day. The _%day%_initial suffix is a hack to make 29 // sure the day initials are unique. 30 $this->weekday_initial[__('Sunday')] = __('S_Sunday_initial'); 31 $this->weekday_initial[__('Monday')] = __('M_Monday_initial'); 32 $this->weekday_initial[__('Tuesday')] = __('T_Tuesday_initial'); 33 $this->weekday_initial[__('Wednesday')] = __('W_Wednesday_initial'); 34 $this->weekday_initial[__('Thursday')] = __('T_Thursday_initial'); 35 $this->weekday_initial[__('Friday')] = __('F_Friday_initial'); 36 $this->weekday_initial[__('Saturday')] = __('S_Saturday_initial'); 37 38 foreach ($this->weekday_initial as $weekday_ => $weekday_initial_) { 39 $this->weekday_initial[$weekday_] = preg_replace('/_.+_initial$/', '', $weekday_initial_); 40 } 41 42 // Abbreviations for each day. 43 $this->weekday_abbrev[__('Sunday')] = __('Sun'); 44 $this->weekday_abbrev[__('Monday')] = __('Mon'); 45 $this->weekday_abbrev[__('Tuesday')] = __('Tue'); 46 $this->weekday_abbrev[__('Wednesday')] = __('Wed'); 47 $this->weekday_abbrev[__('Thursday')] = __('Thu'); 48 $this->weekday_abbrev[__('Friday')] = __('Fri'); 49 $this->weekday_abbrev[__('Saturday')] = __('Sat'); 50 51 // The Months 52 $this->month['01'] = __('January'); 53 $this->month['02'] = __('February'); 54 $this->month['03'] = __('March'); 55 $this->month['04'] = __('April'); 56 $this->month['05'] = __('May'); 57 $this->month['06'] = __('June'); 58 $this->month['07'] = __('July'); 59 $this->month['08'] = __('August'); 60 $this->month['09'] = __('September'); 61 $this->month['10'] = __('October'); 62 $this->month['11'] = __('November'); 63 $this->month['12'] = __('December'); 64 65 // Abbreviations for each month. Uses the same hack as above to get around the 66 // 'May' duplication. 67 $this->month_abbrev[__('January')] = __('Jan_January_abbreviation'); 68 $this->month_abbrev[__('February')] = __('Feb_February_abbreviation'); 69 $this->month_abbrev[__('March')] = __('Mar_March_abbreviation'); 70 $this->month_abbrev[__('April')] = __('Apr_April_abbreviation'); 71 $this->month_abbrev[__('May')] = __('May_May_abbreviation'); 72 $this->month_abbrev[__('June')] = __('Jun_June_abbreviation'); 73 $this->month_abbrev[__('July')] = __('Jul_July_abbreviation'); 74 $this->month_abbrev[__('August')] = __('Aug_August_abbreviation'); 75 $this->month_abbrev[__('September')] = __('Sep_September_abbreviation'); 76 $this->month_abbrev[__('October')] = __('Oct_October_abbreviation'); 77 $this->month_abbrev[__('November')] = __('Nov_November_abbreviation'); 78 $this->month_abbrev[__('December')] = __('Dec_December_abbreviation'); 79 80 foreach ($this->month_abbrev as $month_ => $month_abbrev_) { 81 $this->month_abbrev[$month_] = preg_replace('/_.+_abbreviation$/', '', $month_abbrev_); 82 } 83 84 // The Meridiems 85 $this->meridiem['am'] = __('am'); 86 $this->meridiem['pm'] = __('pm'); 87 $this->meridiem['AM'] = __('AM'); 88 $this->meridiem['PM'] = __('PM'); 89 90 $this->_load_locale_data(); 91 } 92 93 function _load_locale_data() { 94 $locale = get_locale(); 95 $locale_file = BBPATH . "bb-includes/languages/$locale.php"; 96 if ( !file_exists($locale_file) ) 97 return; 98 99 include($locale_file); 100 101 foreach ( $this->locale_vars as $var ) { 102 $this->$var = $$var; 103 } 104 } 105 106 function get_weekday($weekday_number) { 107 return $this->weekday[$weekday_number]; 108 } 109 110 function get_weekday_initial($weekday_name) { 111 return $this->weekday_initial[$weekday_name]; 112 } 113 114 function get_weekday_abbrev($weekday_name) { 115 return $this->weekday_abbrev[$weekday_name]; 116 } 117 118 function get_month($month_number) { 119 return $this->month[zeroise($month_number, 2)]; 120 } 121 122 function get_month_initial($month_name) { 123 return $this->month_initial[$month_name]; 124 } 125 126 function get_month_abbrev($month_name) { 127 return $this->month_abbrev[$month_name]; 128 } 129 130 function get_meridiem($meridiem) { 131 return $this->meridiem[$meridiem]; 132 } 133 134 // Global variables are deprecated. For backwards compatibility only. 135 function register_globals() { 136 $GLOBALS['weekday'] = $this->weekday; 137 $GLOBALS['weekday_initial'] = $this->weekday_initial; 138 $GLOBALS['weekday_abbrev'] = $this->weekday_abbrev; 139 $GLOBALS['month'] = $this->month; 140 $GLOBALS['month_abbrev'] = $this->month_abbrev; 141 } 142 143 function BB_Locale() { 144 $this->init(); 145 $this->register_globals(); 146 } 147 } 148 149 ?> 150 No newline at end of file -
bb-includes/functions.php
305 305 case 'edit_lock' : 306 306 return $bb->edit_lock; 307 307 break; 308 case 'language': 309 return str_replace('_', '-', get_locale()); 310 break; 311 case 'text_direction': 312 global $bb_locale; 313 return $bb_locale->text_direction; 314 break; 308 315 case 'version' : 309 316 return '0.72'; 310 317 break; … … 1433 1440 } 1434 1441 1435 1442 function bb_die($message, $title = '') { 1443 global $bb_locale; 1444 1436 1445 header('Content-Type: text/html; charset=utf-8'); 1437 1446 1438 1447 if ( empty($title) ) 1439 1448 $title = __('bbPress › Error'); 1440 1449 ?> 1441 1450 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1442 <html xmlns="http://www.w3.org/1999/xhtml" >1451 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 1443 1452 <head> 1444 1453 <title><?php echo $title ?></title> 1445 1454 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 1446 <style media="screen" type="text/css"> 1447 <!-- 1448 html { 1449 background: #eee; 1450 } 1451 body { 1452 background: #fff; 1453 color: #000; 1454 font-family: Georgia, "Times New Roman", Times, serif; 1455 margin-left: 25%; 1456 margin-right: 25%; 1457 padding: .2em 2em; 1458 } 1459 1460 h1 { 1461 color: #060; 1462 font-size: 18px; 1463 font-weight: lighter; 1464 } 1465 1466 h2 { 1467 font-size: 16px; 1468 } 1469 1470 p, li, dt { 1471 line-height: 140%; 1472 padding-bottom: 2px; 1473 } 1474 1475 ul, ol { 1476 padding: 5px 5px 5px 20px; 1477 } 1478 #logo { 1479 margin-bottom: 2em; 1480 } 1481 --> 1482 </style> 1455 <link rel="stylesheet" href="<?php echo option('uri'); ?>bb-admin/install.css" type="text/css" /> 1456 <?php if ( ('rtl' == $bb_locale->text_direction) ) : ?> 1457 <link rel="stylesheet" href="<?php echo option('uri'); ?>bb-admin/install-rtl.css" type="text/css" /> 1458 <?php endif; ?> 1483 1459 </head> 1484 1460 <body> 1485 <h1 id="logo"><img alt="bbPress" src="<?php option('uri'); ?>bb-images/bbpress.png" /></h1>1461 <h1 id="logo"><img alt="bbPress" src="<?php echo option('uri'); ?>bb-images/bbpress.png" /></h1> 1486 1462 <p><?php echo $message; ?></p> 1487 1463 </body> 1488 1464 </html> -
bb-includes/l10n.php
5 5 if (isset($locale)) 6 6 return $locale; 7 7 8 // WPLANG is defined in wp-config.9 if (defined(' WPLANG'))10 $locale = WPLANG;8 // BBLANG is defined in config.php 9 if (defined('BBLANG')) 10 $locale = BBLANG; 11 11 12 12 if (empty($locale)) 13 13 $locale = 'en_US'; … … 69 69 global $l10n; 70 70 71 71 $locale = get_locale(); 72 $mofile = ABSPATH . BBLANGDIR . "/$locale.mo";72 $mofile = BBPATH . BBLANGDIR . "/$locale.mo"; 73 73 74 74 load_textdomain('default', $mofile); 75 75 } … … 79 79 if ( false === $path ) 80 80 $path = BBPLUGINDIR; 81 81 82 $mofile = ABSPATH . "$path/$domain-$locale.mo";82 $mofile = BBPATH . "$path/$domain-$locale.mo"; 83 83 load_textdomain($domain, $mofile); 84 84 } 85 85 -
bb-includes/template-functions.php
9 9 } 10 10 } 11 11 12 function bb_stylesheet_uri() { 12 function language_attributes() { 13 $output = ''; 14 if ( $dir = bb_get_option('text_direction') ) 15 $output = "dir=\"$dir\""; 16 if ( $lang = bb_get_option('language') ) { 17 if ( $dir ) $output .= ' '; 18 $output .= "lang=\"$lang\" xml:lang=\"$lang\""; 19 } 20 21 echo $output; 22 } 23 24 function bb_stylesheet_uri($RTL = false) { 25 if ( $RTL == true ) 26 $css_file = 'style-rtl.css'; 27 else 28 $css_file = 'style.css'; 29 13 30 if ( file_exists( BBPATH . 'my-templates/style.css') ) 14 echo bb_get_option('uri') . 'my-templates/ style.css';31 echo bb_get_option('uri') . 'my-templates/' . $css_file; 15 32 else 16 echo bb_get_option('uri') . 'bb-templates/ style.css';33 echo bb_get_option('uri') . 'bb-templates/' . $css_file; 17 34 } 18 35 19 36 function bb_get_footer() { -
bb-includes/functions.php
305 305 case 'edit_lock' : 306 306 return $bb->edit_lock; 307 307 break; 308 case 'language': 309 return str_replace('_', '-', get_locale()); 310 break; 311 case 'text_direction': 312 global $bb_locale; 313 return $bb_locale->text_direction; 314 break; 308 315 case 'version' : 309 316 return '0.72'; 310 317 break; … … 1433 1440 } 1434 1441 1435 1442 function bb_die($message, $title = '') { 1443 global $bb_locale; 1444 1436 1445 header('Content-Type: text/html; charset=utf-8'); 1437 1446 1438 1447 if ( empty($title) ) 1439 1448 $title = __('bbPress › Error'); 1440 1449 ?> 1441 1450 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1442 <html xmlns="http://www.w3.org/1999/xhtml" >1451 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 1443 1452 <head> 1444 1453 <title><?php echo $title ?></title> 1445 1454 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 1446 <style media="screen" type="text/css"> 1447 <!-- 1448 html { 1449 background: #eee; 1450 } 1451 body { 1452 background: #fff; 1453 color: #000; 1454 font-family: Georgia, "Times New Roman", Times, serif; 1455 margin-left: 25%; 1456 margin-right: 25%; 1457 padding: .2em 2em; 1458 } 1459 1460 h1 { 1461 color: #060; 1462 font-size: 18px; 1463 font-weight: lighter; 1464 } 1465 1466 h2 { 1467 font-size: 16px; 1468 } 1469 1470 p, li, dt { 1471 line-height: 140%; 1472 padding-bottom: 2px; 1473 } 1474 1475 ul, ol { 1476 padding: 5px 5px 5px 20px; 1477 } 1478 #logo { 1479 margin-bottom: 2em; 1480 } 1481 --> 1482 </style> 1455 <link rel="stylesheet" href="<?php echo option('uri'); ?>bb-admin/install.css" type="text/css" /> 1456 <?php if ( ('rtl' == $bb_locale->text_direction) ) : ?> 1457 <link rel="stylesheet" href="<?php echo option('uri'); ?>bb-admin/install-rtl.css" type="text/css" /> 1458 <?php endif; ?> 1483 1459 </head> 1484 1460 <body> 1485 <h1 id="logo"><img alt="bbPress" src="<?php option('uri'); ?>bb-images/bbpress.png" /></h1>1461 <h1 id="logo"><img alt="bbPress" src="<?php echo option('uri'); ?>bb-images/bbpress.png" /></h1> 1486 1462 <p><?php echo $message; ?></p> 1487 1463 </body> 1488 1464 </html> -
bb-settings.php
45 45 46 46 47 47 error_reporting(E_ALL ^ E_NOTICE); 48 //error_reporting(E_ALL); 48 49 49 50 define('BBINC', 'bb-includes'); 50 51 if ( !defined('BBLANGDIR') ) … … 67 68 require( BBPATH . BBINC . '/wp-functions.php'); 68 69 if ( !( defined('WP_BB') && WP_BB ) ) { // Don't include these when WP is running. 69 70 require( BBPATH . BBINC . '/kses.php'); 70 if ( defined(' WPLANG') && '' != constant('WPLANG') ) {71 if ( defined('BBLANG') && '' != constant('BBLANG') ) { 71 72 include_once(BBPATH . BBINC . '/streams.php'); 72 73 include_once(BBPATH . BBINC . '/gettext.php'); 73 74 } … … 128 129 129 130 $bb_cache = new BB_Cache(); 130 131 131 $bb_roles = new BB_Roles(); 132 // Load the default text localization domain. 133 load_default_textdomain(); 134 135 // Pull in locale data after loading text domain. 136 require_once(BBPATH . BBINC . '/locale.php'); 137 138 $bb_locale = new BB_Locale(); 139 $bb_roles = new BB_Roles(); 140 132 141 do_action('bb_got_roles', ''); 133 142 134 143 function bb_shutdown_action_hook() { -
bb-templates/front-page.php
63 63 <h2><?php _e('Views'); ?></h2> 64 64 <ul id="views"> 65 65 <?php foreach ( get_views() as $view => $title ) : ?> 66 <li class="view"><a href="<?php echo get_view_link($view); ?>"><?php echo $ view; ?></a></li>66 <li class="view"><a href="<?php echo get_view_link($view); ?>"><?php echo $title; ?></a></li> 67 67 <?php endforeach; ?> 68 68 </ul> 69 69 </div> -
bb-templates/header.php
1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php _e('en'); ?>">2 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 5 <title><?php bb_title() ?></title> 6 6 <?php bb_feed_head(); ?> 7 7 <link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" /> 8 <?php global $bb_locale; if ( ('rtl' == $bb_locale->text_direction) ) : ?> 9 <link rel="stylesheet" href="<?php bb_stylesheet_uri(true); ?>" type="text/css" /> 10 <?php endif; ?> 8 11 9 12 <?php if ( is_topic() && bb_is_user_logged_in() ) : ?> 10 13 <script type="text/javascript"> -
bb-templates/style-rtl.css
1 /* 2 Author: Sewar 3 Author URI: http://sewar.wordpress.com 4 */ 5 6 body { font: 62.5% Tahoma, 'Trebuchet MS', 'Lucida Grande', Verdana, Tahoma, Arial; } 7 8 code { font: 1.0em Tahoma, Monaco, 'Courier New', monospace; } 9 10 fieldset table { text-align: right; } 11 12 .submit, #header h1 { text-align: left; } 13 14 #front-page #hottags, #topic-tags, #manage-tags li, .login label { float: right; } 15 16 #front-search { float: left; } 17 18 #latest th, #forumlist th, #favorites th, .num, .threadauthor small, #forumlist small { font: 11px Tahoma, Verdana, Arial, Helvetica, sans-serif; } 19 20 .poststuff { font: 10px Tahoma, Verdana, Arial, Helvetica, sans-serif; } 21 22 #wrapper { background: #fff url('images/page_header_tile.png') repeat-x 0px -25px; } 23 24 #header { background: url('images/page_header_bblogo.png') no-repeat bottom left; } 25 26 #thread { margin: 0 100px 0 0; } 27 28 .user-recent ol { margin: 5px 28px 0 0; } 29 30 .bbcrumb { padding: 5px 0 20px 0; } 31 32 #front-page #discussions ul { padding: 0 14px 0 0; } 33 34 fieldset { padding: 10px 10px 0 10px; } 35 36 .login label { 37 padding-right: 0; 38 padding-left: 10px; 39 } 40 41 #front-page #discussions { 42 margin-left: auto; 43 margin-right: 170px; 44 } 45 46 #thread li ol, #thread li ul { 47 margin-left: 0; 48 margin-right: 40px; 49 } 50 51 .threadauthor { 52 margin-left: 0; 53 margin-right: -110px; 54 } 55 56 .infobox ul { 57 margin: 10px 12px 10px 0; 58 padding: 0; 59 } 60 61 #profile-menu { 62 right: auto; 63 left: 0; 64 } 65 66 #topic-tags { 67 border-left: 0; 68 border-right: 1px solid #ccc; 69 padding: 0 1em 1em 1em; 70 } 71 72 #header h1 { 73 font-family: Tahoma, Georgia; 74 right: auto; 75 left: 59px; 76 } -
config-sample.php
34 34 // Your timezone offset. Example: -7 for Pacific Daylight Time. 35 35 $bb->gmt_offset = 0; 36 36 37 // Change this to localize bbPress. A corresponding MO file for the 38 // chosen language must be installed to bb-includes/languages. 39 // For example, install de.mo to bb-includes/languages and set BBLANG to 'de' 40 // to enable German language support. 41 define('BBLANG', ''); 42 37 43 // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage 38 44 // of Akismet's powerful spam blocking, you'll need one. You can get an Akismet key at 39 45 // http://wordpress.com/api-keys/