Improve translation.
[phpmyadmin/crack.git] / libraries / header_meta_style.inc.php
blobdaf29624a863ad8a305f376bce59ab6d6ebe6b47
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @version $Id$
6 */
8 /**
11 if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
12 die("GLOBALS overwrite attempt");
15 /**
16 * Sends the beginning of the html page then returns to the calling script
18 // Defines the cell alignment values depending on text direction
19 if ($GLOBALS['text_dir'] == 'ltr') {
20 $GLOBALS['cell_align_left'] = 'left';
21 $GLOBALS['cell_align_right'] = 'right';
22 } else {
23 $GLOBALS['cell_align_left'] = 'right';
24 $GLOBALS['cell_align_right'] = 'left';
26 // removes the bug with the horizontal scrollbar in IE (it's allways shown, if need it or not)
27 // xml declaration moves IE into quirks mode, making much trouble with CSS
28 /* echo '<?xml version="1.0" encoding="' . $GLOBALS['charset'] . '"?>'; */
31 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
32 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
33 <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']; ?>">
34 <head>
35 <link rel="icon" href="./favicon.ico" type="image/x-icon" />
36 <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
37 <title><?php
38 if (!empty($page_title)) {
39 echo htmlspecialchars($page_title);
40 } else {
41 echo 'phpMyAdmin';
43 ?></title>
44 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
45 <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; ?>phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&amp;js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>&amp;nocache=<?php echo $_SESSION['PMA_Config']->getMtime(); ?>" />
46 <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; ?>print.css" media="print" />