Documentation TYPO3 par Ameos

header_meta_style.inc.php

00001 <?php
00002 /* $Id: header_meta_style.inc.php,v 2.5 2005/07/16 12:59:01 lem9 Exp $ */
00003 // vim: expandtab sw=4 ts=4 sts=4:
00004 
00008 // Gets the font sizes to use
00009 PMA_setFontSizes();
00010 // Defines the cell alignment values depending on text direction
00011 if ($GLOBALS['text_dir'] == 'ltr') {
00012     $GLOBALS['cell_align_left']  = 'left';
00013     $GLOBALS['cell_align_right'] = 'right';
00014 } else {
00015     $GLOBALS['cell_align_left']  = 'right';
00016     $GLOBALS['cell_align_right'] = 'left';
00017 }
00018 // removes the bug with the horizontal scrollbar in IE (it's allways shown, if need it or not)
00019 echo "<?xml version=\"1.0\" encoding=\"" . $GLOBALS['charset'] . "\"?".">";
00020 
00021 ?>
00022 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
00023     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
00024 <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']; ?>">
00025 
00026 <head>
00027 <title>phpMyAdmin</title>
00028 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
00029 <?php
00030 if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
00031     echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";
00032 }
00033 ?>
00034 <script language="JavaScript" type="text/javascript">
00035 <!--
00036 <?php    // added 2004-06-10 by Michael Keck ?>
00037     /*
00038      *       we need this for Backwards-Compatibility and resolving problems
00039      *       with non DOM browsers, which may have problems with css 2 (like NC 4)
00040      */
00041     var isDOM      = (typeof(document.getElementsByTagName) != 'undefined'
00042                       && typeof(document.createElement) != 'undefined')
00043                    ? 1 : 0;
00044     var isIE4      = (typeof(document.all) != 'undefined'
00045                       && parseInt(navigator.appVersion) >= 4)
00046                    ? 1 : 0;
00047     var isNS4      = (typeof(document.layers) != 'undefined')
00048                    ? 1 : 0;
00049     var capable    = (isDOM || isIE4 || isNS4)
00050                    ? 1 : 0;
00051     // Ugly fix for Opera and Konqueror 2.2 that are half DOM compliant
00052     if (capable) {
00053         if (typeof(window.opera) != 'undefined') {
00054             var browserName = ' ' + navigator.userAgent.toLowerCase();
00055             if ((browserName.indexOf('konqueror 7') == 0)) {
00056                 capable = 0;
00057             }
00058         } else if (typeof(navigator.userAgent) != 'undefined') {
00059             var browserName = ' ' + navigator.userAgent.toLowerCase();
00060             if ((browserName.indexOf('konqueror') > 0) && (browserName.indexOf('konqueror/3') == 0)) {
00061                 capable = 0;
00062             }
00063         } // end if... else if...
00064     } // end if
00065     document.writeln('<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(); ?>&amp;js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>&amp;js_isDOM=' + isDOM + '" />');
00066 //-->
00067 </script>
00068 <noscript>
00069     <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(); ?>&amp;js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>" />
00070 </noscript>
00071     <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" />


Généré par TYPO3 Ameos avec  doxygen 1.4.6