Ensured that the correct font families are used.

This commit is contained in:
Alexander M. Turek
2003-03-10 20:32:25 +00:00
parent 3ae253e400
commit 41fad76d63
7 changed files with 192 additions and 189 deletions

View File

@@ -9,13 +9,16 @@ $Source$
* translators.html: Another mechanism against stupid people who use the * translators.html: Another mechanism against stupid people who use the
translator list as a list of localised support hotlines or try to get a translator list as a list of localised support hotlines or try to get a
translation by mail order... :o) translation by mail order... :o)
* header_printview.inc.php3, index.php3, left.php3, queryframe.php3,
libraries/common.lib.php3, libraries/header_meta_style.inc.php3: Ensured
that the correct font families are used.
2003-03-10 Garvin Hicking <me@supergarv.de> 2003-03-10 Garvin Hicking <me@supergarv.de>
* sql.php3: Fixed another occurence of addslashes() where it no longer * sql.php3: Fixed another occurence of addslashes() where it no longer
belongs. belongs.
* tbl_addfield.php3, tbl_alter.php3, tbl_create.php3, * tbl_addfield.php3, tbl_alter.php3, tbl_create.php3,
tbl_properties.inc.php3, libraries/common.lib.php3: Goodie for you all tbl_properties.inc.php3, libraries/common.lib.php3: Goodie for you all
- when creating/altering/adding table fields you can now change the - when creating/altering/adding table fields you can now change the
wrong form input, instead of losing all your data. Have fun. :-) wrong form input, instead of losing all your data. Have fun. :-)
* tbl_dump.php3, tbl_properties_export.php3, css/phpmyadmin.css.php3, * tbl_dump.php3, tbl_properties_export.php3, css/phpmyadmin.css.php3,
lang/*: lang/*:

View File

@@ -15,7 +15,7 @@ if ($cfg['OBGzip']) {
} }
// garvin: For re-usability, moved http-headers // garvin: For re-usability, moved http-headers
// to a seperate file. It can now be included by header.inc.php3, // to a seperate file. It can now be included by header.inc.php3,
// queryframe.php3, querywindow.php3. // queryframe.php3, querywindow.php3.
@@ -42,7 +42,7 @@ if ($text_dir == 'ltr') {
<head> <head>
<title><?php echo $strSQLResult; ?> - phpMyAdmin <?php echo PMA_VERSION ?></title> <title><?php echo $strSQLResult; ?> - phpMyAdmin <?php echo PMA_VERSION ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
<link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?js_frame=print" /> <link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?lang=<?php echo $lang; ?>&amp;js_frame=print" />
</style> </style>
</head> </head>

View File

@@ -54,8 +54,8 @@ if ($cfg['QueryHistoryDB'] && $cfgRelation['historywork']) {
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>" dir="<?php echo $text_dir; ?>"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>" dir="<?php echo $text_dir; ?>">
<head> <head>
<title>phpMyAdmin <?php echo PMA_VERSION; ?> - <?php echo $HTTP_HOST; ?></title> <title>phpMyAdmin <?php echo PMA_VERSION; ?> - <?php echo $HTTP_HOST; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
<link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?js_frame=right" /> <link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?lang=<?php echo $lang; ?>&amp;js_frame=right" />
</head> </head>
<frameset cols="<?php echo $cfg['LeftWidth']; ?>,*" rows="*"> <frameset cols="<?php echo $cfg['LeftWidth']; ?>,*" rows="*">

View File

@@ -94,11 +94,11 @@ if ($num_dbs > 1 && !$cfg['LeftFrameLight']) {
var isServer = <?php echo ($server > 0) ? 'true' : 'false'; ?>; var isServer = <?php echo ($server > 0) ? 'true' : 'false'; ?>;
document.writeln('<link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?js_frame=left&amp;js_capable=' + capable + '&amp;js_isDOM=' + isDOM + '&amp;js_isIE4=' + isIE4 + '" />'); document.writeln('<link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?lang=<?php echo $lang; ?>&amp;js_frame=left&amp;js_capable=' + capable + '&amp;js_isDOM=' + isDOM + '&amp;js_isIE4=' + isIE4 + '" />');
//--> //-->
</script> </script>
<noscript> <noscript>
<link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?js_frame=left&amp;js_capable=0&amp;js_isDOM=0&amp;js_isIE4=0" /> <link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?lang=<?php echo $lang; ?>&amp;js_frame=left&amp;js_capable=0&amp;js_isDOM=0&amp;js_isIE4=0" />
</noscript> </noscript>
<script src="libraries/left.js" type="text/javascript" language="javascript1.2"></script> <script src="libraries/left.js" type="text/javascript" language="javascript1.2"></script>
@@ -205,7 +205,7 @@ if ($num_dbs > 1) {
$db_tooltip = implode(' ', $tmp_db_tooltip); $db_tooltip = implode(' ', $tmp_db_tooltip);
} }
} }
// No light mode -> displays the expandible/collapsible db list // No light mode -> displays the expandible/collapsible db list
if ($cfg['LeftFrameLight'] == FALSE) { if ($cfg['LeftFrameLight'] == FALSE) {
@@ -245,7 +245,7 @@ if ($num_dbs > 1) {
$url_title = (!empty($tooltip) && isset($tooltip[$table])) $url_title = (!empty($tooltip) && isset($tooltip[$table]))
? htmlspecialchars($tooltip[$table]) ? htmlspecialchars($tooltip[$table])
: ''; : '';
echo "\n"; echo "\n";
?> ?>
<nobr><img src="images/spacer.gif" border="0" width="9" height="9" alt="" /> <nobr><img src="images/spacer.gif" border="0" width="9" height="9" alt="" />

File diff suppressed because it is too large Load Diff

View File

@@ -28,4 +28,4 @@ if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n"; echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";
} }
?> ?>
<link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?js_frame=right" /> <link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?lang=<?php echo $GLOBALS['lang']; ?>&amp;js_frame=right" />

View File

@@ -45,15 +45,15 @@ PMA_setFontSizes();
<title>phpMyAdmin</title> <title>phpMyAdmin</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
<base<?php if (!empty($cfg['PmaAbsoluteUri'])) echo ' href="' . $cfg['PmaAbsoluteUri'] . '"'; ?> /> <base<?php if (!empty($cfg['PmaAbsoluteUri'])) echo ' href="' . $cfg['PmaAbsoluteUri'] . '"'; ?> />
<link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?js_frame=left&num_dbs=0" /> <link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?lang=<?php echo $lang; ?>&amp;js_frame=left&num_dbs=0" />
<?php <?php
if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) { if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
?> ?>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
var querywindow = ''; var querywindow = '';
function open_querywindow(url) { function open_querywindow(url) {
if (!querywindow.closed && querywindow.location) { if (!querywindow.closed && querywindow.location) {
querywindow.focus(); querywindow.focus();
} else { } else {
@@ -67,7 +67,7 @@ function open_querywindow(url) {
if (window.focus) { if (window.focus) {
querywindow.focus(); querywindow.focus();
} }
return false; return false;
} }
</script> </script>