Documentation TYPO3 par Ameos

calendar.php

00001 <?php
00002 /* $Id: calendar.php,v 2.5 2004/09/07 11:45:46 nijel Exp $ */
00003 
00004 require_once('./libraries/grab_globals.lib.php');
00005 require_once('./libraries/common.lib.php');
00006 require_once('./libraries/header_http.inc.php');
00007 ?>
00008 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
00009     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
00010 <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']; ?>">
00011 
00012 <head>
00013 <title><?php echo $strCalendar;?></title>
00014 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
00015 <?php
00016 if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
00017     echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";
00018 }
00019 ?>
00020 <script language="JavaScript" type="text/javascript">
00021 <!--
00022     /* added 2004-06-10 by Michael Keck
00023      *       we need this for Backwards-Compatibility and resolving problems
00024      *       with non DOM browsers, which may have problems with css 2 (like NC 4)
00025     */
00026     var isDOM      = (typeof(document.getElementsByTagName) != 'undefined'
00027                       && typeof(document.createElement) != 'undefined')
00028                    ? 1 : 0;
00029     var isIE4      = (typeof(document.all) != 'undefined'
00030                       && parseInt(navigator.appVersion) >= 4)
00031                    ? 1 : 0;
00032     var isNS4      = (typeof(document.layers) != 'undefined')
00033                    ? 1 : 0;
00034     var capable    = (isDOM || isIE4 || isNS4)
00035                    ? 1 : 0;
00036     // Uggly fix for Opera and Konqueror 2.2 that are half DOM compliant
00037     if (capable) {
00038         if (typeof(window.opera) != 'undefined') {
00039             var browserName = ' ' + navigator.userAgent.toLowerCase();
00040             if ((browserName.indexOf('konqueror 7') == 0)) {
00041                 capable = 0;
00042             }
00043         } else if (typeof(navigator.userAgent) != 'undefined') {
00044             var browserName = ' ' + navigator.userAgent.toLowerCase();
00045             if ((browserName.indexOf('konqueror') > 0) && (browserName.indexOf('konqueror/3') == 0)) {
00046                 capable = 0;
00047             }
00048         } // end if... else if...
00049     } // end if
00050     document.writeln('<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']; ?>&amp;js_frame=right&amp;js_isDOM=' + isDOM + '" />');
00051 //-->
00052 </script>
00053 <noscript>
00054     <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']; ?>&amp;js_frame=right" />
00055 </noscript>
00056 <script type="text/javascript" src="./libraries/tbl_change.js"></script>
00057 <script type="text/javascript">
00058 <!--
00059 var month_names = new Array("<?php echo implode('","', $month); ?>");
00060 var day_names = new Array("<?php echo implode('","', $day_of_week); ?>");
00061 //-->
00062 </script>
00063 </head>
00064 <body onload="initCalendar();">
00065 <div id="calendar_data"></div>
00066 <div id="clock_data"></div>
00067 </body>
00068 </html>


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6