250 |
kaklik |
1 |
<?php |
|
|
2 |
/* $Id: header_meta_style.inc.php,v 2.16 2006/01/17 17:02:30 cybot_tm Exp $ */ |
|
|
3 |
// vim: expandtab sw=4 ts=4 sts=4: |
|
|
4 |
|
|
|
5 |
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) { |
|
|
6 |
die("GLOBALS overwrite attempt"); |
|
|
7 |
} |
|
|
8 |
|
|
|
9 |
/** |
|
|
10 |
* Sends the beginning of the html page then returns to the calling script |
|
|
11 |
*/ |
|
|
12 |
// Defines the cell alignment values depending on text direction |
|
|
13 |
if ($GLOBALS['text_dir'] == 'ltr') { |
|
|
14 |
$GLOBALS['cell_align_left'] = 'left'; |
|
|
15 |
$GLOBALS['cell_align_right'] = 'right'; |
|
|
16 |
} else { |
|
|
17 |
$GLOBALS['cell_align_left'] = 'right'; |
|
|
18 |
$GLOBALS['cell_align_right'] = 'left'; |
|
|
19 |
} |
|
|
20 |
// removes the bug with the horizontal scrollbar in IE (it's allways shown, if need it or not) |
|
|
21 |
echo "<?xml version=\"1.0\" encoding=\"" . $GLOBALS['charset'] . "\"?".">"; |
|
|
22 |
|
|
|
23 |
?> |
|
|
24 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
|
25 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
|
26 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][2]; ?>" lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][2]; ?>" dir="<?php echo $GLOBALS['text_dir']; ?>"> |
|
|
27 |
<head> |
|
|
28 |
<link rel="icon" href="./favicon.ico" type="image/x-icon" /> |
|
|
29 |
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" /> |
|
|
30 |
<title><?php |
|
|
31 |
if (!empty($page_title)) { |
|
|
32 |
echo htmlspecialchars($page_title); |
|
|
33 |
} else { |
|
|
34 |
echo 'phpMyAdmin'; |
|
|
35 |
} |
|
|
36 |
?></title> |
|
|
37 |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" /> |
|
|
38 |
<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>" /> |
|
|
39 |
<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/print.css?<?php echo PMA_generate_common_url(); ?>" media="print" /> |