Subversion Repositories LCARS

Rev

Rev 211 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
79 PointedEar 1
<!DOCTYPE html>
56 PointedEar 2
<html lang="<?php echo $language; ?>">
39 PointedEar 3
  <head>
236 PointedEar 4
    <title><?php echo tr('Home') . ' – ' . tr("PointedEars' Website"); ?></title>
39 PointedEar 5
 
6
    <link rel="SHORTCUT ICON" href="favicon.ico">
7
 
79 PointedEar 8
    <!-- Browsers: Character Encoding -->
9
    <meta charset="UTF-8">
39 PointedEar 10
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
11
 
79 PointedEar 12
    <!-- Robots: Index, Subordinated Files, Description, Author,
39 PointedEar 13
         Keywords, Document Date -->
14
    <meta name="robots" content="index">
15
    <meta name="robots" content="follow">
105 PointedEar 16
<?php /*
39 PointedEar 17
    <meta name="description"
56 PointedEar 18
          content="PointedEars' Website: <?php
151 PointedEar 19
            $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!");
56 PointedEar 20
            echo $description;
21
            ?>">
105 PointedEar 22
*/ ?>
56 PointedEar 23
    <meta name="author" content="Thomas ‘PointedEars’ Lahn">
39 PointedEar 24
 
56 PointedEar 25
    <?php /* No localization of keywords at the time */ ?>
39 PointedEar 26
    <meta name="keywords"
165 PointedEar 27
          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 */ ?>">
56 PointedEar 28
<?php /*
29
    <meta name="keywords" http-equiv="Keywords" lang="de" content="">
30
    <meta name="keywords" http-equiv="Keywords" lang="en-us" content="">
31
    <meta name="keywords" http-equiv="Keywords" lang="en" content="">
32
*/ ?>
39 PointedEar 33
    <meta name="revisit-after" content="3 days">
34
 
35
    <!-- Robots: Dublin Core Metadata (http://purl.org/metadata/dublin_core) -->
79 PointedEar 36
    <meta name="dcterms.title" content="PointedEars’ Website">
37
    <meta name="dcterms.creator" content="Thomas ‘PointedEars’ Lahn">
38
    <meta name="dcterms.subject" content="Private Web site">
105 PointedEar 39
<?php /*
79 PointedEar 40
    <meta name="dcterms.description"
56 PointedEar 41
          content="PointedEars' Website: <?php echo $description; ?>">
105 PointedEar 42
*/ ?>
79 PointedEar 43
    <meta name="dcterms.publisher" content="PointedEars">
44
    <meta name="dcterms.date" content="2002-05-23T10:56:00+02:00">
45
    <meta name="dcterms.created" content="2002-05-23">
105 PointedEar 46
    <meta name="dcterms.modified" content="<?php echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
56 PointedEar 47
<?php /*
79 PointedEar 48
    <meta name="dcterms.type" content="">
49
    <meta name="dcterms.format" content="">
56 PointedEar 50
*/ ?>
79 PointedEar 51
    <meta name="dcterms.identifier" content="http://pointedears.de/index.<?php echo $language; ?>">
52
    <meta name="dcterms.language" content="<?php echo $language; ?>">
53
    <meta name="dcterms.rightsHolder"
54
          content="Copyright © 2002&#8211;<?php echo gmdate('Y', $modi); ?> Thomas&nbsp;Lahn.">
55
    <meta name="dcterms.rights"
151 PointedEar 56
          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."); ?>">
105 PointedEar 57
 
56 PointedEar 58
<?php /*
39 PointedEar 59
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars.css"> -->
60
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
166 PointedEar 61
    <!-- No optimization here: Resource Builder does not handle URI parameters -->
56 PointedEar 62
*/ ?>
138 PointedEar 63
    <link rel="stylesheet" type="text/css" href="styles/lcars-basic">
128 PointedEar 64
<?php
138 PointedEar 65
  $isLocal = ($_SERVER['HTTP_HOST'] === 'localhost');
56 PointedEar 66
  $printable = (isset($_GET['printable']) && $_GET['printable'] === '1');
67
  if (!$printable)
68
  {
128 PointedEar 69
?>
138 PointedEar 70
    <link rel="stylesheet" type="text/css" href="styles/lcars22<?php
56 PointedEar 71
      if (isset($_GET['ani']) && $_GET['ani'] !== '')
72
      {
73
        echo '?ani=' . $_GET['ani'];
74
      }
75
    ?>">
76
<?php
77
  }
78
?>
170 PointedEar 79
    <!--[if lt IE 7]>
80
      <link rel="stylesheet" type="text/css" href="styles/lcars22-ie6.css">
81
    <![endif]-->
39 PointedEar 82
    <style type="text/css">
83
      <!--
84
      p {
85
        max-width: 100%;
86
      }
87
      -->
88
    </style>
236 PointedEar 89
    <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
130 PointedEar 90
      if ($isLocal)
91
      {
92
        ?>&amp;verbose=1&amp;debug=1<?php
93
      }
94
    ?>"></script>
39 PointedEar 95
    <script type="text/javascript">
183 PointedEar 96
      var TEXT_NOT_AVAILABLE = "<?php echo tr('N/A'); ?>";
236 PointedEar 97
      var cmd3;
98
      var oScreenDim;
99
      var oAvailDim;
100
      var oInnerDim;
101
      var _gEBI = jsx.dom.getElementById;
102
      var previousIsFullscreen;
103
      var fullscreenText;
183 PointedEar 104
 
115 PointedEar 105
      function body_load ()
106
      {
107
        if (typeof this.ontouchstart != 'undefined')
108
        {
109
          this.ontouchstart = function () {};
110
        }
111
 
112
        if (fullscreen.isSupportedBy(document.documentElement))
113
        {
114
          var fullscreenLI = jsx.dom.getElementById("cmd3");
115
          fullscreenLI.firstChild.style.cursor = "";
116
        }
181 PointedEar 117
 
183 PointedEar 118
        jsx.dom.geolocation.setTexts({
119
          TEXT_LATITUDE: "<?php echo tr('Latitude'); ?>",
120
          TEXT_NORTH_ABBR: "<?php echo tr('N'); ?>",
121
          TEXT_SOUTH_ABBR: "<?php echo tr('S'); ?>",
122
          TEXT_LONGITUDE: "<?php echo tr('Longitude'); ?>",
123
          TEXT_WEST_ABBR: "<?php echo tr('W'); ?>",
124
          TEXT_EAST_ABBR: "<?php echo tr('E'); ?>",
125
          TEXT_LAT_LNG_ACCURACY: "<?php echo tr('Lat/Lng Accuracy'); ?>",
126
          TEXT_ALTITUDE: "<?php echo tr('Altitude'); ?>",
127
          TEXT_ALT_ACCURACY: "<?php echo tr('Alt. Accuracy'); ?>",
128
          TEXT_SPEED: "<?php echo tr('Speed'); ?>",
129
          TEXT_HEADING: "<?php echo tr('Heading'); ?>",
130
          TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE
131
        });
132
 
210 PointedEar 133
        lcars.content = new lcars.Content(null, null, {
134
          texts: {
135
            TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>"
136
          }
137
        });
138
 
183 PointedEar 139
        lcars.multiDisplay = new lcars.MultiDisplay(null, null, {
140
          texts: {
141
            TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE,
142
            TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>",
143
            TEXT_ACCURACY: "<?php echo tr('accuracy'); ?>"
210 PointedEar 144
          },
145
          content: lcars.content
183 PointedEar 146
        });
210 PointedEar 147
 
236 PointedEar 148
        /* Fullscreen button */
149
        if (fullscreen.isSupportedBy(document.documentElement))
210 PointedEar 150
        {
236 PointedEar 151
          cmd3 = jsx.dom.getElementById("cmd3");
152
 
153
          if (cmd3)
154
          {
155
            cmd3.firstChild.tabIndex = "1";
156
            cmd3.firstChild.style.cursor = "";
157
            fullscreenText = "<?php echo tr("Fullscreen"); ?>";
158
            cmd3.firstChild.firstChild.innerHTML = fullscreenText;
159
          }
210 PointedEar 160
        }
236 PointedEar 161
 
162
        _addEventListener(window, "resize", function () {
163
          <?php /* FIXME: Also update title attribute value */ ?>
164
          if (typeof oScreenDim == "undefined") oScreenDim = _gEBI(ID_SCREEN_DIM);
165
          var screen_text = dim.getScreenText();
166
          if (oScreenDim) oScreenDim.innerHTML = screen_text;
167
 
168
          if (typeof oAvailDim == "undefined") oAvailDim = _gEBI(ID_AVAIL_DIM);
169
          var avail_text = dim.getAvailText();
170
          if (oAvailDim) oAvailDim.innerHTML = avail_text;
171
          if (typeof oInnerDim == "undefined") oInnerDim = _gEBI(ID_INNER_DIM);
172
          var inner_text = dim.getInnerText();
173
          if (oInnerDim) oInnerDim.innerHTML = inner_text;
174
 
175
          if (fullscreen.isSupportedBy(document.documentElement))
176
          {
177
            var nowIsFullscreen = fullscreen.isFullscreen();
178
            if (nowIsFullscreen != previousIsFullscreen)
179
            {
180
              if (typeof cmd3 == "undefined")
181
              {
182
                cmd3 = document.getElementById("cmd3");
183
              }
184
 
185
              var textTarget = cmd3.firstChild.firstChild;
186
              if (nowIsFullscreen)
187
              {
188
                var innerHTML = "<?php echo tr("Window"); ?>";
189
                textTarget.innerHTML = innerHTML;
190
              }
191
              else
192
              {
193
                var text = fullscreenText;
194
                textTarget.innerHTML = text;
195
              }
196
 
197
              previousIsFullscreen = nowIsFullscreen;
198
            }
199
          }
200
        });
115 PointedEar 201
      }
39 PointedEar 202
    </script>
203
  </head>
115 PointedEar 204
  <body class="fade-in" onload="body_load()">
210 PointedEar 205
 <?php require_once 'content.phtml'; ?>
206
 <?php require_once 'multi-display.phtml'; ?>
39 PointedEar 207
  </body>
210 PointedEar 208
</html>