Subversion Repositories LCARS

Rev

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