Translation update done using Pootle.
[phpmyadmin/dkf.git] / libraries / header_meta_style.inc.php
blob02c0aa16fd6cd35d6234f391d141ec049e42c946
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @version $Id$
6 * @package phpMyAdmin
7 */
8 if (! defined('PHPMYADMIN')) {
9 exit;
12 /**
15 if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
16 die("GLOBALS overwrite attempt");
19 /**
20 * Sends the beginning of the html page then returns to the calling script
22 // Defines the cell alignment values depending on text direction
23 if ($GLOBALS['text_dir'] == 'ltr') {
24 $GLOBALS['cell_align_left'] = 'left';
25 $GLOBALS['cell_align_right'] = 'right';
26 } else {
27 $GLOBALS['cell_align_left'] = 'right';
28 $GLOBALS['cell_align_right'] = 'left';
30 // removes the bug with the horizontal scrollbar in IE (it's allways shown, if need it or not)
31 // xml declaration moves IE into quirks mode, making much trouble with CSS
32 /* echo '<?xml version="1.0" encoding="' . $GLOBALS['charset'] . '"?>'; */
35 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
36 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
37 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][1]; ?>" lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][1]; ?>" dir="<?php echo $GLOBALS['text_dir']; ?>">
38 <head>
39 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
40 <link rel="icon" href="./favicon.ico" type="image/x-icon" />
41 <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
42 <title><?php
43 if (!empty($page_title)) {
44 echo htmlspecialchars($page_title);
45 } else {
46 echo 'phpMyAdmin';
48 ?></title>
49 <?php
50 // goes before our themed CSS
51 if (defined('PMA_COLORPICKER')) { ?>
52 <link rel="stylesheet" type="text/css" href="js/colorpicker/css/colorpicker.css" />
53 <link rel="stylesheet" media="screen" type="text/css" href="js/colorpicker/css/layout.css" />
54 <?php
57 <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 $GLOBALS['PMA_Config']->getThemeUniqueValue(); ?>" />
58 <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; ?>print.css" media="print" />
59 <link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['pmaThemePath']; ?>/jquery/jquery-ui-1.8.custom.css" />
60 <meta name="robots" content="noindex,nofollow" />