Subversion Repositories LCARS

Rev

Rev 211 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

1
<!DOCTYPE html>
<html lang="<?php echo $language; ?>">
  <head>
    <title><?php echo tr('Home') . ' – ' . tr("PointedEars' Website"); ?></title>

    <link rel="SHORTCUT ICON" href="favicon.ico">

    <!-- Browsers: Character Encoding -->
    <meta charset="UTF-8">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <!-- Robots: Index, Subordinated Files, Description, Author,
         Keywords, Document Date -->
    <meta name="robots" content="index">
    <meta name="robots" content="follow">
<?php /*
    <meta name="description"
          content="PointedEars' Website: <?php
            $description = tr("Access to the United Federation of Planets Databanks, an online songbook and software downloads always worth a click. Coming soon: The best internet links categorized and much more via a bilingual (English/German) LCARS terminal styled user interface that can be also used to surf the web anonymously! Bookmark NOW!");
            echo $description;
            ?>">
*/
?>
    <meta name="author" content="Thomas ‘PointedEars’ Lahn">

    <?php /* No localization of keywords at the time */ ?>
    <meta name="keywords"
          content="<?php /* Appz, */ ?>Download, Links, LCARS, Star Trek, TNG, The Next Generation, DS9, Deep Space 9, Deep Space Nine, VOY, Voyager, UFP, Federation, United Federation of Planets, Database, Databank, <?php /* Song, Songbook, Surf, anonymously, */?>Raumschiff Enterprise, DNG, Die n&auml;chste Generation, VFP, F&ouml;deration, Vereinte F&ouml;deration der Planeten, Datenbasis, Datenbank<?php /*, Lied, Liedtext, surfen, anonym */ ?>">
<?php /*
    <meta name="keywords" http-equiv="Keywords" lang="de" content="">
    <meta name="keywords" http-equiv="Keywords" lang="en-us" content="">
    <meta name="keywords" http-equiv="Keywords" lang="en" content="">
*/
?>
    <meta name="revisit-after" content="3 days">

    <!-- Robots: Dublin Core Metadata (http://purl.org/metadata/dublin_core) -->
    <meta name="dcterms.title" content="PointedEars’ Website">
    <meta name="dcterms.creator" content="Thomas ‘PointedEars’ Lahn">
    <meta name="dcterms.subject" content="Private Web site">
<?php /*
    <meta name="dcterms.description"
          content="PointedEars' Website: <?php echo $description; ?>">
*/
?>
    <meta name="dcterms.publisher" content="PointedEars">
    <meta name="dcterms.date" content="2002-05-23T10:56:00+02:00">
    <meta name="dcterms.created" content="2002-05-23">
    <meta name="dcterms.modified" content="<?php echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
<?php /*
    <meta name="dcterms.type" content="">
    <meta name="dcterms.format" content="">
*/
?>
    <meta name="dcterms.identifier" content="http://pointedears.de/index.<?php echo $language; ?>">
    <meta name="dcterms.language" content="<?php echo $language; ?>">
    <meta name="dcterms.rightsHolder"
          content="Copyright © 2002&#8211;<?php echo gmdate('Y', $modi); ?> Thomas&nbsp;Lahn.">
    <meta name="dcterms.rights"
          content="<?php echo tr("All rights reserved."); ?> <?php echo tr("The author is not responsible for the availability and the content of websites referred by this site, and not responsible for the availability and the content of websites referred by those sites. Whereever outsourced material is used, copyright or trademark infringement is not intended. Third parties who claim copyrights or trademarks used herein are asked to send an informal email to webmaster@PointedEars.de for immediate removal or modification of the respective material on the website instead of reminding the author of usage of this material. Thank you."); ?>">

<?php /*
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars.css"> -->
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
    <!-- No optimization here: Resource Builder does not handle URI parameters -->
*/
?>
    <link rel="stylesheet" type="text/css" href="styles/lcars-basic">
<?php
  $isLocal = ($_SERVER['HTTP_HOST'] === 'localhost');
  $printable = (isset($_GET['printable']) && $_GET['printable'] === '1');
  if (!$printable)
  {
?>
    <link rel="stylesheet" type="text/css" href="styles/lcars22<?php
      if (isset($_GET['ani']) && $_GET['ani'] !== '')
      {
        echo '?ani=' . $_GET['ani'];
      }
    ?>">
<?php
  }
?>
    <!--[if lt IE 7]>
      <link rel="stylesheet" type="text/css" href="styles/lcars22-ie6.css">
    <![endif]-->
    <style type="text/css">
      <!--
      p {
        max-width: 100%;
      }
      -->
    </style>
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/storage,dom/events,dom/geolocation,dom/timeout,dom/widgets,dom/window,dom/xpath,http,regexp,lcars<?php
      if ($isLocal)
      {
        ?>&amp;verbose=1&amp;debug=1<?php
      }
    ?>"></script>
    <script type="text/javascript">
      var TEXT_NOT_AVAILABLE = "<?php echo tr('N/A'); ?>";
      var cmd3;
      var oScreenDim;
      var oAvailDim;
      var oInnerDim;
      var _gEBI = jsx.dom.getElementById;
      var previousIsFullscreen;
      var fullscreenText;

      function body_load ()
      {
        if (typeof this.ontouchstart != 'undefined')
        {
          this.ontouchstart = function () {};
        }

        if (fullscreen.isSupportedBy(document.documentElement))
        {
          var fullscreenLI = jsx.dom.getElementById("cmd3");
          fullscreenLI.firstChild.style.cursor = "";
        }

        jsx.dom.geolocation.setTexts({
          TEXT_LATITUDE: "<?php echo tr('Latitude'); ?>",
          TEXT_NORTH_ABBR: "<?php echo tr('N'); ?>",
          TEXT_SOUTH_ABBR: "<?php echo tr('S'); ?>",
          TEXT_LONGITUDE: "<?php echo tr('Longitude'); ?>",
          TEXT_WEST_ABBR: "<?php echo tr('W'); ?>",
          TEXT_EAST_ABBR: "<?php echo tr('E'); ?>",
          TEXT_LAT_LNG_ACCURACY: "<?php echo tr('Lat/Lng Accuracy'); ?>",
          TEXT_ALTITUDE: "<?php echo tr('Altitude'); ?>",
          TEXT_ALT_ACCURACY: "<?php echo tr('Alt. Accuracy'); ?>",
          TEXT_SPEED: "<?php echo tr('Speed'); ?>",
          TEXT_HEADING: "<?php echo tr('Heading'); ?>",
          TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE
        });

        lcars.content = new lcars.Content(null, null, {
          texts: {
            TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>"
          }
        });

        lcars.multiDisplay = new lcars.MultiDisplay(null, null, {
          texts: {
            TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE,
            TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>",
            TEXT_ACCURACY: "<?php echo tr('accuracy'); ?>"
          },
          content: lcars.content
        });

        /* Fullscreen button */
        if (fullscreen.isSupportedBy(document.documentElement))
        {
          cmd3 = jsx.dom.getElementById("cmd3");

          if (cmd3)
          {
            cmd3.firstChild.tabIndex = "1";
            cmd3.firstChild.style.cursor = "";
            fullscreenText = "<?php echo tr("Fullscreen"); ?>";
            cmd3.firstChild.firstChild.innerHTML = fullscreenText;
          }
        }

        _addEventListener(window, "resize", function () {
          <?php /* FIXME: Also update title attribute value */ ?>
          if (typeof oScreenDim == "undefined") oScreenDim = _gEBI(ID_SCREEN_DIM);
          var screen_text = dim.getScreenText();
          if (oScreenDim) oScreenDim.innerHTML = screen_text;

          if (typeof oAvailDim == "undefined") oAvailDim = _gEBI(ID_AVAIL_DIM);
          var avail_text = dim.getAvailText();
          if (oAvailDim) oAvailDim.innerHTML = avail_text;
          if (typeof oInnerDim == "undefined") oInnerDim = _gEBI(ID_INNER_DIM);
          var inner_text = dim.getInnerText();
          if (oInnerDim) oInnerDim.innerHTML = inner_text;

          if (fullscreen.isSupportedBy(document.documentElement))
          {
            var nowIsFullscreen = fullscreen.isFullscreen();
            if (nowIsFullscreen != previousIsFullscreen)
            {
              if (typeof cmd3 == "undefined")
              {
                cmd3 = document.getElementById("cmd3");
              }

              var textTarget = cmd3.firstChild.firstChild;
              if (nowIsFullscreen)
              {
                var innerHTML = "<?php echo tr("Window"); ?>";
                textTarget.innerHTML = innerHTML;
              }
              else
              {
                var text = fullscreenText;
                textTarget.innerHTML = text;
              }

              previousIsFullscreen = nowIsFullscreen;
            }
          }
        });
      }
    </script>
  </head>
  <body class="fade-in" onload="body_load()">
 <?php require_once 'content.phtml'; ?>
 <?php require_once 'multi-display.phtml'; ?>
  </body>
</html>