lang
[phpmyadmin/crack.git] / libraries / header_meta_style.inc.php3
blob89d4f13eb769935546db744330d3b7c1a92e420f
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
5 /**
6 * Sends the beginning of the html page then returns to the calling script
7 */
8 // Gets the font sizes to use
9 PMA_setFontSizes();
10 // Defines the cell alignment values depending on text direction
11 if ($GLOBALS['text_dir'] == 'ltr') {
12 $GLOBALS['cell_align_left'] = 'left';
13 $GLOBALS['cell_align_right'] = 'right';
14 } else {
15 $GLOBALS['cell_align_left'] = 'right';
16 $GLOBALS['cell_align_right'] = 'left';
19 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
20 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
21 <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']; ?>">
23 <head>
24 <title>phpMyAdmin</title>
25 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
26 <?php
27 if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
28 echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";
31 <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php3?lang=<?php echo $GLOBALS['lang']; ?>&amp;js_frame=right" />