home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / header_meta_style.inc.php < prev    next >
Encoding:
PHP Script  |  2003-11-18  |  1.3 KB  |  32 lines

  1. <?php
  2. /* $Id: header_meta_style.inc.php,v 2.0 2003/11/18 15:20:43 nijel Exp $ */
  3. // vim: expandtab sw=4 ts=4 sts=4:
  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';
  17. }
  18. ?>
  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']; ?>">
  22.  
  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";
  29. }
  30. ?>
  31. <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php?lang=<?php echo $GLOBALS['lang']; ?>&js_frame=right" />
  32.