Subversion Repositories LCARS

Rev

Rev 130 | Rev 132 | Go to most recent revision | 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>
72 PointedEar 4
    <title>Home — 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
19
            $description = _("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!");
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"
27
          content="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, Song, Songbook, Surf, anonymously, Raumschiff Enterprise, DNG, Die n&auml;chste Generation, VFP, F&ouml;deration, Vereinte F&ouml;deration der Planeten, Datenbasis, Datenbank, 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"
56
          content="<?php echo _("All rights reserved."); ?> <?php echo _("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"> -->
56 PointedEar 61
*/ ?>
130 PointedEar 62
    <link rel="stylesheet" type="text/css" href="scripts/builder?type=text/css&amp;prefix=../styles/&amp;src=lcars-basic<?php
63
      $isLocal = ($_SERVER['HTTP_HOST'] === 'localhost');
64
      if ($isLocal)
65
      {
66
        ?>&amp;verbose=1&amp;debug=1<?php
67
      }
68
    ?>">
128 PointedEar 69
<?php
56 PointedEar 70
  $printable = (isset($_GET['printable']) && $_GET['printable'] === '1');
71
  if (!$printable)
72
  {
128 PointedEar 73
?>
74
    <link rel="stylesheet" type="text/css" href="scripts/builder?type=text/css&amp;prefix=../styles/&amp;src=lcars22<?php
56 PointedEar 75
      if (isset($_GET['ani']) && $_GET['ani'] !== '')
76
      {
77
        echo '?ani=' . $_GET['ani'];
78
      }
130 PointedEar 79
 
80
      if ($isLocal)
81
      {
82
        ?>&amp;verbose=1&amp;debug=1<?php
83
      }
56 PointedEar 84
    ?>">
85
<?php
86
  }
87
?>
39 PointedEar 88
    <style type="text/css">
89
      <!--
90
      p {
91
        max-width: 100%;
92
      }
93
      -->
94
    </style>
95
 
130 PointedEar 96
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/storage,dom/events,dom/timeout,dom/window<?php
97
      if ($isLocal)
98
      {
99
        ?>&amp;verbose=1&amp;debug=1<?php
100
      }
101
    ?>"></script>
39 PointedEar 102
    <script type="text/javascript">
56 PointedEar 103
<?php
39 PointedEar 104
      /*
105
      var ms1Day = 60*60*24*1000; // ms for 1 days = 60sec*60min*24hours*1000ms
106
      var msLeaveDays = ms1Day*6;
107
      var ms30Days=ms1Day*30;
108
      var delta;
109
      var newTime=new Date();
110
      var msTime=newTime.getTime();
111
      var msExpire=msTime+ms30Days;
112
      var expireTime=new Date(msExpire);
113
 
114
      cookieVal=
115
          "savedTime=" + newTime.toGMTString()
116
        + "; expires=" + expireTime.toGMTString()
117
        + "; domain=anybody"
118
        + "; path=/";
119
      document.cookie= cookieVal;
120
      */
56 PointedEar 121
?>
115 PointedEar 122
      function body_load ()
123
      {
124
        if (typeof this.ontouchstart != 'undefined')
125
        {
126
          this.ontouchstart = function () {};
127
        }
128
 
129
        if (fullscreen.isSupportedBy(document.documentElement))
130
        {
131
          var fullscreenLI = jsx.dom.getElementById("cmd3");
132
          fullscreenLI.firstChild.style.cursor = "";
133
        }
134
      }
39 PointedEar 135
    </script>
56 PointedEar 136
    <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?>
39 PointedEar 137
  </head>
115 PointedEar 138
  <body class="fade-in" onload="body_load()">
39 PointedEar 139
    <div id="content">
79 PointedEar 140
      <h1 style="text-align: center"><img
39 PointedEar 141
            src="media/video/img/vulcan_hand-black-bg.png"
142
            width="120"
143
            height="168"
56 PointedEar 144
            alt="<?php echo _("Vulcan greeting"); ?>"
118 PointedEar 145
            title="<?php echo _("Vulcan greeting"); ?>"
85 PointedEar 146
            style="border: none; cursor: default"
39 PointedEar 147
            onmouseover="return setStatus(this.title)"
148
            onmouseout="return resetStatus()"><br>
56 PointedEar 149
        <?php echo _("Welcome to PointedEars’ Website"); ?></h1>
150
<?php
151
  if (!$printable)
152
  {
153
?>
79 PointedEar 154
      <p class="instruction" style="font-size: 100%; text-align: center"><?php
56 PointedEar 155
        echo sprintf(
84 PointedEar 156
          _("This site uses recent <a href='https://developer.mozilla.org/en-US/docs/'"
157
            . " title='Learn more: Mozilla Developer Network'>Web technologies</a>."
79 PointedEar 158
            . " You can use the <a href='index.%s?printable=1'>%s</a>"
159
            . " if it is not displayed properly with your software."),
56 PointedEar 160
          $language,
76 PointedEar 161
          _('Printable version'));
56 PointedEar 162
        ?></p>
163
<?php
164
  }
165
 
166
  /*
39 PointedEar 167
      <p>
168
        | <a href="leisure/" target="_top"
169
            >Freizeit-Datenbank</a>
170
        | <a href="mozilla/" target="_top">Mozilla</a>
171
        | <a href="poetry/" target="_top">Poesie</a>
56 PointedEar 172
  */
39 PointedEar 173
 
56 PointedEar 174
  /*
39 PointedEar 175
        | [<abbr title="nur in englischer Sprache verf&uuml;gbar"
176
                 >en</abbr>]
177
        | <a href="selfhtml.de/" target="_top">SELFHTML.DE</a>
56 PointedEar 178
  */
179
  /*
39 PointedEar 180
        | <a href="lyrics/" target="_top">Songbook</a>
43 PointedEar 181
        | </p>
56 PointedEar 182
  */
183
              /*
39 PointedEar 184
      <p><a href="about/worm.de.html" target="_top"
185
            >Seltsame E-Mails bekommen?</a></p>
56 PointedEar 186
               */
187
/*
39 PointedEar 188
      <noscript>
189
        <a
190
          href="http://pointedears.de/"
191
          title="PointedEars' Website"
192
          >Diese Website zu Ihren Lesezeichen hinzuf&uuml;gen</a>
193
      </noscript>
56 PointedEar 194
 
39 PointedEar 195
      <!-- Klicken Sie hier, falls Sie nach 5 Sekunden nicht automatisch
196
           weitergeleitet werden. -->
56 PointedEar 197
*/
198
?>
199
<?php
105 PointedEar 200
  $app = "Welcome/$language";
201
  require_once 'footer.phtml';
56 PointedEar 202
      /* embed src="media/interface/speech/de/warten.wav" width="0" height="0"
203
      hidden="true" autostart="true" dir="ltr" lang="de" */
204
?>
39 PointedEar 205
    </div>
206
    <div id="LCARS">
56 PointedEar 207
<?php /*
39 PointedEar 208
      <div id="button-grid" style="position: absolute; opacity: 0.3">
209
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
210
 
211
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
212
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
213
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
214
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
215
 
216
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
217
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
218
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
219
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
220
 
221
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
222
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
223
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
224
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
225
 
226
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
227
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
228
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
229
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
230
 
231
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
232
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
233
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
234
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
235
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
236
 
237
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
238
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
239
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
240
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
241
 
242
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
243
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
244
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
245
 
246
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
247
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
248
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
249
 
250
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
251
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
252
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
253
 
254
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
255
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
256
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
257
      </div>
56 PointedEar 258
*/ ?>
39 PointedEar 259
      <div id="bow">
260
        <div id="bow-top">
261
          <div class="separator-left">&nbsp;</div>
91 PointedEar 262
          <div class="text"><span>PointedEars’ Website</span></div>
39 PointedEar 263
        </div>
264
        <div id="bow-top-left">
265
          <div class="concave">&nbsp;</div>
109 PointedEar 266
          <div style="position: absolute; top: 3.2em; left: 0; background-color: black">
267
            <div class="bow" style="margin-top: 0.2em; width: 8em; height: 1em">&nbsp;</div>
268
          </div>
39 PointedEar 269
        </div>
270
        <div id="bottom">
271
          <div id="bow-bottom">
272
            <div class="concave">&nbsp;</div>
273
            <div class="spacer">&nbsp;</div>
274
        </div>
275
        </div>
43 PointedEar 276
 
277
        <div class="menu-container">
88 PointedEar 278
          <nav class="menu">
109 PointedEar 279
            <ul style="padding-top: 1em">
56 PointedEar 280
            <?php foreach ($languages as $key => $name): ?>
74 PointedEar 281
              <li><a href="index.<?php echo $key; ?>?ani=0"
282
                     class="button<?php if ($language === $key) { ?> selected<?php } ?>"
283
                     tabindex="2"><span class="text"><?php echo $name; ?></span></a></li>
56 PointedEar 284
            <?php endforeach; ?>
285
            </ul>
286
            <div class="bow" style="margin-bottom: 0.4em; width: 8em; height: 0.4em">&nbsp;</div>
287
            <ul style="margin-bottom: 1.2em">
288
              <li><a href="<?php echo $menu['scripts']['path']; ?>" target="_top" class="button"><span class="text"><?php echo $menu['scripts']['text']; ?></span></a></li>
71 PointedEar 289
              <li><a href="<?php echo $menu['es-matrix']['path']; ?>" target="_top" class="button"
290
                     title="<?php echo $menu['es-matrix']['title']; ?>"
291
                     ><span class="text"><?php echo $menu['es-matrix']['text']; ?></span></a></li>
56 PointedEar 292
              <li><a href="<?php echo $menu['devel']['path']; ?>" target="_top" class="button"><span class="text"><?php echo $menu['devel']['text']; ?></span></a></li>
293
            </ul>
294
            <ul style="margin-bottom: 0.2em">
113 PointedEar 295
              <li><a href="psf/" target="_top"
296
                 class="button ancillary"
297
                 ><abbr title="<?php echo _("PointedEars' Standard Frases"); ?>"
298
                        class="text">psf</abbr></a></li>
299
            <li><a href="<?php echo $menu['series']['path']; ?>" target="_top" class="button ancillary"
56 PointedEar 300
                     title="List of recommended TV shows and episodes, with logos in CSS"
301
                     ><span class="text"><?php echo $menu['series']['text']; ?></span></a></li>
302
              <li><a href="<?php echo $menu['ufpdb']['path']; ?>" target="_top" class="button database"
79 PointedEar 303
                     ><abbr title="<?php echo $menu['ufpdb']['title']; ?>"
304
                            class="text"><?php echo $menu['ufpdb']['text']; ?></abbr></a></li>
56 PointedEar 305
            </ul>
306
            <div style="position: relative; margin-bottom: 1.2em">
307
              <div class="bow" style="width: 8em; height: 0.8em">&nbsp;</div>
308
            </div>
309
            <ul>
310
              <li><a href="http://climateapps2.oerc.ox.ac.uk/cpdnboinc/show_user.php?userid=648544"
311
                     target="_top" class="button secondary"
312
                     title="<?php echo _("The world’s largest climate forecasting experiment for the 21st century"); ?>"
313
                     ><span class="text">climateprediction.net</span></a></li>
314
<?php /* http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&amp;username=Thomas_Lahn */ ?>
315
              <li><a href="<?php echo _("http://folding.stanford.edu/English/HomePage"); ?>"
316
                     target="_top" class="button secondary"
317
                     title="<?php echo _("Distributed computing to understand protein folding, protein aggregation, and related diseases"); ?>"
318
                     ><span class="text">Folding at home</span></a></li>
319
             <li><a href="http://lhcathomeclassic.cern.ch/sixtrack/show_user.php?userid=221181"
320
                    target="_top" class="button secondary"
321
                    title="<?php echo _("Particle physics research with the Large Hadron Collider at CERN"); ?>"
322
                    ><span class="text">LHC at home</span></a></li>
323
             <li><a href="http://setiathome.berkeley.edu/show_user.php?userid=378921"
324
                    target="_top" class="button secondary"
325
                    title="<?php echo _("The Search for Extra-Terrestrial Intelligence at HOME"); ?>"
326
                    ><span class="text">SETI at home</span></a></li>
327
           </ul>
328
<?php /*
329
            <script type="text/javascript">
330
              var sURL = location.href;
331
              var sFavAnchorTitle =
332
                  "Klicken Sie hier, um PointedEars' Website Ihren Favoriten"
333
                + " hinzuzufügen";
334
              var sOtherAnchorTitle =
335
                  "Klicken Sie hier mit der rechten Maustaste, um PointedEars' Website"
336
                + " Ihren Lesezeichen hinzuzufügen";
337
              var sFavoriteTitle = "PointedEars' Website";
338
 
339
              if (jsx.object.isHostMethod(jsx.global.window, "external", "AddFavorite"))
340
              {
341
                document.write(
342
                    '<div style="position: relative; margin-top: 1em; border-bottom: 0.2em solid transparent">'
343
                  + '  <div class="bow" style="width: 8em; height: 1em">&nbsp;<\/div>'
344
                  + '  <div class="bow" style="position: absolute; top: 0; left: 8.2em; width: 2em; height: 1em">&nbsp;<\/div>'
345
                  + '</div>'
346
                  + '<a href="javascript:window.external.AddFavorite('
347
                  + ' sURL, sFavoriteTitle);" title="' + sFavAnchorTitle + '"'
348
                  + ' class="button"'
349
                  + ' onclick="window.external.AddFavorite('
350
                  + ' sURL, sFavoriteTitle); return false"'
79 PointedEar 351
                  + ' onmouseover="return setStatus(sFavAnchorTitle)"'
352
                  + ' onmouseout="return resetStatus()"'
56 PointedEar 353
                  + '><span class="text">Favorit<\/span><\/a>');
354
              }
355
            </script>
356
*/ ?>
88 PointedEar 357
          </nav>
39 PointedEar 358
        </div>
56 PointedEar 359
      </div>
360
      <div id="connectors">
119 PointedEar 361
        <div class="bow top left">&nbsp;</div>
362
        <div class="bow top right">&nbsp;</div>
56 PointedEar 363
 
119 PointedEar 364
        <div class="bow mid left">&nbsp;</div>
365
        <div class="bow mid right">&nbsp;</div>
56 PointedEar 366
      </div>
367
      <div class="multi-display">
39 PointedEar 368
        <div class="upper">
74 PointedEar 369
          <div class="content">
370
            <div class="title"><span>Home</span></div>
118 PointedEar 371
            <div class="analysis">
372
              <table>
373
                <tr>
374
                  <th><?php echo _('Display'); ?>:</th>
375
                  <td><script type="text/javascript">
131 PointedEar 376
                    var runAsync = jsx.dom.timeout.runAsync;
377
 
121 PointedEar 378
                    (function () {
130 PointedEar 379
                      var screenInfo = jsx.dom.window.screenInfo;
121 PointedEar 380
 
381
                      var dim = {
382
                        getScreenText: function () {
383
                          var screenDim = screenInfo.getDim();
384
                          return screenDim.width + "×" + screenDim.height;
385
                        },
95 PointedEar 386
 
121 PointedEar 387
                        getAvailText: function () {
388
                          var availDim = screenInfo.getAvailDim();
389
                          return availDim.width + "×" + availDim.height + " <?php echo _('available'); ?>";
390
                        },
95 PointedEar 391
 
121 PointedEar 392
                        getInnerText: function () {
393
                          var innerDim = screenInfo.getInnerDim();
394
                          return ", " + innerDim.width + "×" + innerDim.height + " <?php echo _('used'); ?>";
395
                        },
95 PointedEar 396
 
121 PointedEar 397
                        getColorDepthText: function () {
398
                          var colorDepth = screenInfo.getColorDepth();
399
                          return colorDepth
400
                            ? '2<sup>' + colorDepth + "<\/sup> <?php echo _('colors'); ?>"
401
                            : "";
402
                        }
403
                      };
404
 
405
                      var screenDimText = dim.getScreenText();
406
                      var availDimText = dim.getAvailText();
407
                      var innerDimText = dim.getInnerText();
408
                      var colorDepthText = dim.getColorDepthText();
409
                      var displayInfo = (screenDimText || availDimText || innerDimText || colorDepthText)
410
                        ?   (screenDimText ? '<span id="screenDim">' + screenDimText + '<\/span>' : "")
411
                          + (availDimText ? ' (<span id="availDim">' + availDimText + "<\/span>" : "")
412
                          + (innerDimText ? '<span id="innerDim">' + innerDimText + "<\/span>) <?php echo _('pixels'); ?>" : "")
413
                          + (colorDepthText ? ' ×&nbsp;<span id="colorDepth">' + colorDepthText + "<\/span>" : "")
414
                        : "<?php echo _('N/A'); ?>";
415
 
118 PointedEar 416
                      /* FIXME: Convert HTML to text, update whole title text */
417
                      document.write('<span>' + displayInfo + '<\/span>');
121 PointedEar 418
 
419
                      var oScreenDim;
420
                      var oAvailDim;
421
                      var oInnerDim;
130 PointedEar 422
                      var _gEBI = jsx.dom.getElementById;
423
                      jsx.dom.addEventListener(window, "resize", function () {
121 PointedEar 424
                        /* FIXME: Also update title attribute value */
130 PointedEar 425
                        if (typeof oScreenDim == "undefined") oScreenDim = _gEBI("screenDim");
121 PointedEar 426
                        if (oScreenDim) oScreenDim.innerHTML = dim.getScreenText();
427
 
130 PointedEar 428
                        if (typeof oAvailDim == "undefined") oAvailDim = _gEBI("availDim");
121 PointedEar 429
                        if (oAvailDim) oAvailDim.innerHTML = dim.getAvailText();
430
 
130 PointedEar 431
                        if (typeof oInnerDim == "undefined") oInnerDim = _gEBI("innerDim");
121 PointedEar 432
                        if (oInnerDim) oInnerDim.innerHTML = dim.getInnerText();
130 PointedEar 433
                      });
121 PointedEar 434
 
435
                      var oColorDepth;
131 PointedEar 436
                      runAsync(function () {
121 PointedEar 437
                        if (typeof oColorDepth == "undefined")
438
                        {
439
                          oColorDepth = document.getElementById("colorDepth");
440
                        }
441
 
442
                        if (oColorDepth)
443
                        {
444
                          /* FIXME: Also update title attribute value */
445
                          oColorDepth.innerHTML = dim.getColorDepthText();
446
                        }
130 PointedEar 447
 
448
                        this.run();
121 PointedEar 449
                      }, 1000);
118 PointedEar 450
                    }());
451
                  </script><noscript><?php echo _('N/A'); ?></noscript></td>
452
                </tr>
453
                <tr>
454
                  <th><?php echo _('User Agent'); ?>:</th>
455
                  <td><script type="text/javascript">
456
                    (function () {
457
                      var ua = navigator.userAgent;
458
                      document.write('<span id="ua" title="' + ua + '">' + ua + '<\/span>');
121 PointedEar 459
 
460
                      var oUA;
131 PointedEar 461
                      runAsync(function () {
121 PointedEar 462
                        if (typeof oUA == "undefined")
463
                        {
464
                          oUA = document.getElementById("ua");
465
                        }
466
 
467
                        if (oUA)
468
                        {
469
                          oUA.innerHTML = navigator.userAgent;
470
 
471
                          /* Converts CREs */
472
                          oUA.title = oUA.innerHTML;
473
                        }
130 PointedEar 474
 
475
                        this.run();
118 PointedEar 476
                      }, 1000);
477
                    }());
478
                  </script><noscript><?php echo _('N/A'); ?></noscript></td>
479
                </tr>
480
                <tr>
481
                  <th><?php echo _('Features'); ?>:</th>
482
                  <td><script type="text/javascript">
130 PointedEar 483
                    <?php /* FIXME: Move to window.js, keep i18n */ ?>
484
                    var fullscreen = jsx.dom.window.fullscreen = (function () {
118 PointedEar 485
                      var _isHostMethod = jsx.object.isHostMethod;
76 PointedEar 486
 
118 PointedEar 487
                      return {
488
                        getSupportedProperty: function (base, names, test) {
489
                          for (var i = 0, len = names.length; i < len; ++i)
95 PointedEar 490
                          {
118 PointedEar 491
                            var name = names[i];
492
                            if (test.call(null, base, name))
493
                            {
494
                              return name;
495
                            }
95 PointedEar 496
                          }
118 PointedEar 497
 
498
                          return null;
499
                        },
500
 
501
                        getSupportedCancel: (function () {
502
                          var _supportedCancel;
503
 
504
                          return function () {
505
                            if (typeof _supportedCancel == "undefined")
506
                            {
507
                              var properties = ["cancelFullScreen", "mozCancelFullScreen",
508
                                                "webkitCancelFullScreen"];
509
 
510
                              _supportedCancel = this.getSupportedProperty(document, properties, _isHostMethod);
511
                            }
512
 
513
                            return _supportedCancel;
514
                          };
515
                        }()),
516
 
517
                        getSupportedElement: (function () {
518
                          var _supportedElement;
519
 
520
                          return function () {
521
                            if (typeof _supportedElement == "undefined")
522
                            {
523
                              var properties = ["fullscreenElement", "mozFullscreenElement",
524
                                                "webkitFullscreenElement"];
525
 
526
                              _supportedElement = this.getSupportedProperty(document, properties,
527
                                function (base, name) {
528
                                  return typeof base[name] != "undefined";
529
                                });
530
                            }
531
 
532
                            return _supportedElement;
533
                          };
534
                        }()),
535
 
536
                        isSupportedBy: function (elem) {
537
                          var methods = ["requestFullscreen", "mozRequestFullscreen",
538
                                         "webkitRequestFullscreen"];
539
                          return this.getSupportedProperty(elem, methods, _isHostMethod);
540
                        },
541
 
542
                        isFullscreen: function () {
543
                          var properties = ["fullscreenElement", "mozFullscreenElement",
544
                                            "webkitFullscreenElement"];
545
                          var supportedProperty = this.getSupportedProperty(
546
                            document, properties,
547
                            function (base, name) {
548
                              return typeof base[name] != "undefined";
549
                            });
550
 
551
                          return supportedProperty && document[supportedProperty] != null;
552
                        },
553
 
554
                        cancel: function (target, oldHandler, textTarget) {
555
                          var supportedCancel = this.getSupportedCancel();
556
                          if (supportedCancel)
95 PointedEar 557
                          {
118 PointedEar 558
                            document[supportedCancel]();
559
 
560
                            var supportedElement = this.getSupportedElement();
561
                            if (supportedElement)
562
                            {
563
                              if (document[supportedElement] == null)
564
                              {
565
                                if (textTarget)
566
                                {
567
                                  textTarget.textContent = "<?php echo _("Fullscreen"); ?>";
568
                                }
569
 
570
                                if (target)
571
                                {
572
                                  target.onclick = oldHandler;
573
                                }
574
                              }
575
                            }
95 PointedEar 576
                          }
118 PointedEar 577
                        },
578
 
579
                        requestOn: function (elem, eventTarget, textTarget) {
580
                          var requestMethodName;
581
 
582
                          if (elem && (requestMethodName = this.isSupportedBy(elem)))
583
                          {
584
                            elem[requestMethodName]();
585
                            if (textTarget && this.isFullscreen())
586
                            {
587
                              var oldText = textTarget.textContent;
588
                              var me = this;
589
                              var oldHandler = eventTarget.onclick;
590
                              eventTarget.onclick = function () {
591
                                me.cancel(this, oldHandler, textTarget);
592
                              };
593
                              textTarget.textContent = "<?php echo _("Window"); ?>";
594
                            }
595
                          }
76 PointedEar 596
                        }
118 PointedEar 597
                      };
598
                    }());
130 PointedEar 599
 
118 PointedEar 600
                    (function () {
601
                      function getFeatures ()
76 PointedEar 602
                      {
118 PointedEar 603
                        var features = [];
604
                        if (navigator.cookieEnabled) features.push("<?php echo _('Cookies'); ?>");
605
                        if (fullscreen.isSupportedBy(document.documentElement)) features.push("<?php echo _('Fullscreen'); ?>");
606
                        if (navigator.webkitGetGamepads && navigator.webkitGetGamepads().length) features.push("<?php echo _('Gamepad'); ?>");
607
                        if (navigator.geolocation) features.push("<?php echo _('Geolocation'); ?>");
608
                        if (typeof navigator.javaEnabled != "undefined" && navigator.javaEnabled()) features.push("Java");
127 PointedEar 609
                        var storage = jsx.dom.storage;
610
                        if (storage.localStorage.isSupported()) features.push("Local Storage");
118 PointedEar 611
                        if (navigator.plugins) features.push("Plugins");
127 PointedEar 612
                        if (storage.sessionStorage.isSupported()) features.push("Session Storage");
118 PointedEar 613
                        if (typeof window.ontouchstart != "undefined") features.push("Touch");
614
                        return features.join(" &#8226; ");
76 PointedEar 615
                      }
118 PointedEar 616
 
617
                      var sFeatures = getFeatures();
618
                      document.write('<span id="features" title="' + sFeatures + '">' + sFeatures + '<\/span>');
619
 
121 PointedEar 620
                      var oFeatures;
131 PointedEar 621
                      var tFeatures = runAsync(function () {
121 PointedEar 622
                        if (typeof oFeatures == "undefined")
623
                        {
624
                          oFeatures = document.getElementById("features");
625
                        }
626
 
627
                        if (oFeatures)
628
                        {
629
                          oFeatures.innerHTML = getFeatures();
630
 
631
                          /* Converts CREs */
632
                          oFeatures.title = oFeatures.innerHTML;
633
                        }
131 PointedEar 634
 
635
                        tFeatures = this.run();
118 PointedEar 636
                      }, 1000);
637
                    }());
638
                  </script><noscript><?php echo _('N/A'); ?></noscript></td>
639
                </tr>
640
              </table>
641
            </div>
92 PointedEar 642
            <ul class="commands">
97 PointedEar 643
              <li id="cmd1"><a href="index.php"
92 PointedEar 644
                title="Language selection"
645
                tabindex="1"
646
                class="button left right"
647
                onmouseover="return setStatus(this.title + ': ' + this.href)"
648
                onmouseout="return resetStatus()"
649
                onfocus="return this.onmouseover()"
650
                onblur="return this.onmouseout()"
651
                ><abbr class="text" title="Language selection">Language</abbr></a></li>
652
              <li id="cmd2"><a href="index.<?php echo $language; ?>?printable=1"
653
                title="<?php echo _('Printable version'); ?>"
654
                tabindex="1"
655
                class="button left right"
656
                onmouseover="return setStatus(this.title + ': ' + this.href)"
657
                onmouseout="return resetStatus()"
658
                onfocus="return this.onmouseover()"
659
                onblur="return this.onmouseout()"
660
                ><span class="text"><?php echo _("Printable"); ?></span></a></li>
661
              <li id="cmd3"><div class="button left right"
115 PointedEar 662
                   style="cursor: not-allowed !important"
95 PointedEar 663
                   onclick="fullscreen.requestOn(document.documentElement, this, this.firstChild)"
121 PointedEar 664
                   onkeyup="if (event.keyCode == 13) { this.onclick(); }"
92 PointedEar 665
                   tabindex="1"
666
                   ><span class="text"><script type="text/javascript">
95 PointedEar 667
                     if (fullscreen.isSupportedBy(document.documentElement))
92 PointedEar 668
                     {
105 PointedEar 669
<?php /*
95 PointedEar 670
                       var previousIsFullscreen = fullscreen.isFullscreen();
671
                       var oldHandler;
672
                       window.onresize = function () {
673
                         var nowIsFullscreen = fullscreen.isFullscreen();
674
                         if (nowIsFullscreen != previousIsFullscreen)
675
                         {
676
                           var cmd3 = document.getElementById("cmd3");
677
                           var target = cmd3.firstChild;
678
                           var textTarget = target.firstChild;
679
                           if (nowIsFullscreen)
680
                           {
681
                             oldHandler = target.onclick;
682
                           //   fullscreen.requestOn(document.documentElement, cmd3.firstElementChild, cmd3.firstElementChild.firstElementChild);
683
                           }
684
                           else
685
                           {
686
                             fullscreen.cancel(target, oldHandler, textTarget);
687
                           }
688
 
689
                           previousIsFullscreen = nowIsFullscreen;
690
                         }
691
                       };
105 PointedEar 692
*/ ?>
92 PointedEar 693
                       document.write("<?php echo _("Fullscreen"); ?>");
694
                     }
695
                   </script></span></div></li>
696
              <li id="cmd4"><div class="button left right" style="cursor: not-allowed !important">&nbsp;</div></li>
697
            </ul>
72 PointedEar 698
          </div>
74 PointedEar 699
          <div class="elbo-button">
107 PointedEar 700
            <span class="text" title="<?php echo _("Date of last modification"); ?>"
701
                  ><?php echo gmdate('Ym.d', $modi); ?></span>
74 PointedEar 702
          </div>
39 PointedEar 703
          <div class="elbo">
126 PointedEar 704
            <span class="text"><abbr title="Library Computer Access and Retrieval System">LCARS</abbr> PE-22A</span>
39 PointedEar 705
            <div class="concave">&nbsp;</div>
706
          </div>
79 PointedEar 707
          <div class="border">
708
            <div class="left">&nbsp;</div>
709
            <div class="right">&nbsp;</div>
710
          </div>
39 PointedEar 711
        </div>
712
        <div class="lower">
713
          <div class="elbo">
714
            <div class="concave">&nbsp;</div>
715
          </div>
716
          <div class="bg">&nbsp;</div>
717
          <div class="border-container">
79 PointedEar 718
            <div class="border">
719
              <div class="left">&nbsp;</div>
720
              <div class="right">&nbsp;</div>
721
            </div>
39 PointedEar 722
          </div>
723
        </div>
724
      </div>
725
    </div>
726
  </body>
727
</html>