Changeset 482 for trunk/bb-includes/functions.php
- Timestamp:
- 10/16/2006 06:26:02 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/functions.php
r480 r482 305 305 case 'edit_lock' : 306 306 return $bb->edit_lock; 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; 307 314 break; 308 315 case 'version' : … … 1435 1442 1436 1443 function bb_die($message, $title = '') { 1444 global $bb_locale; 1445 1437 1446 header('Content-Type: text/html; charset=utf-8'); 1438 1447 … … 1441 1450 ?> 1442 1451 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1443 <html xmlns="http://www.w3.org/1999/xhtml" >1452 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 1444 1453 <head> 1445 1454 <title><?php echo $title ?></title> 1446 1455 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 1447 <style media="screen" type="text/css"> 1448 <!-- 1449 html { 1450 background: #eee; 1451 } 1452 body { 1453 background: #fff; 1454 color: #000; 1455 font-family: Georgia, "Times New Roman", Times, serif; 1456 margin-left: 25%; 1457 margin-right: 25%; 1458 padding: .2em 2em; 1459 } 1460 1461 h1 { 1462 color: #060; 1463 font-size: 18px; 1464 font-weight: lighter; 1465 } 1466 1467 h2 { 1468 font-size: 16px; 1469 } 1470 1471 p, li, dt { 1472 line-height: 140%; 1473 padding-bottom: 2px; 1474 } 1475 1476 ul, ol { 1477 padding: 5px 5px 5px 20px; 1478 } 1479 #logo { 1480 margin-bottom: 2em; 1481 } 1482 --> 1483 </style> 1456 <link rel="stylesheet" href="<?php option('uri'); ?>bb-admin/install.css" type="text/css" /> 1457 <?php if ( ('rtl' == $bb_locale->text_direction) ) : ?> 1458 <link rel="stylesheet" href="<?php option('uri'); ?>bb-admin/install-rtl.css" type="text/css" /> 1459 <?php endif; ?> 1484 1460 </head> 1485 1461 <body>
Note: See TracChangeset
for help on using the changeset viewer.