Subversion Repositories LCARS

Rev

Rev 92 | Rev 97 | 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">
16
    <meta name="description"
56 PointedEar 17
          content="PointedEars' Website: <?php
18
            $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!");
19
            echo $description;
20
            ?>">
21
    <meta name="author" content="Thomas ‘PointedEars’ Lahn">
39 PointedEar 22
 
56 PointedEar 23
    <?php /* No localization of keywords at the time */ ?>
39 PointedEar 24
    <meta name="keywords"
25
          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 26
<?php /*
27
    <meta name="keywords" http-equiv="Keywords" lang="de" content="">
28
    <meta name="keywords" http-equiv="Keywords" lang="en-us" content="">
29
    <meta name="keywords" http-equiv="Keywords" lang="en" content="">
30
*/ ?>
39 PointedEar 31
    <meta name="revisit-after" content="3 days">
32
 
33
    <!-- Robots: Dublin Core Metadata (http://purl.org/metadata/dublin_core) -->
79 PointedEar 34
    <meta name="dcterms.title" content="PointedEars’ Website">
35
    <meta name="dcterms.creator" content="Thomas ‘PointedEars’ Lahn">
36
    <meta name="dcterms.subject" content="Private Web site">
37
    <meta name="dcterms.description"
56 PointedEar 38
          content="PointedEars' Website: <?php echo $description; ?>">
79 PointedEar 39
    <meta name="dcterms.publisher" content="PointedEars">
40
    <meta name="dcterms.date" content="2002-05-23T10:56:00+02:00">
41
    <meta name="dcterms.created" content="2002-05-23">
42
    <meta name="dcterms.modified" content="<?php
56 PointedEar 43
      $modi = @filemtime(__FILE__);
72 PointedEar 44
      echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
56 PointedEar 45
<?php /*
79 PointedEar 46
    <meta name="dcterms.type" content="">
47
    <meta name="dcterms.format" content="">
56 PointedEar 48
*/ ?>
79 PointedEar 49
    <meta name="dcterms.identifier" content="http://pointedears.de/index.<?php echo $language; ?>">
50
    <meta name="dcterms.language" content="<?php echo $language; ?>">
51
    <meta name="dcterms.rightsHolder"
52
          content="Copyright © 2002&#8211;<?php echo gmdate('Y', $modi); ?> Thomas&nbsp;Lahn.">
53
    <meta name="dcterms.rights"
54
          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."); ?>">
56 PointedEar 55
<?php /*
39 PointedEar 56
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars.css"> -->
57
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
56 PointedEar 58
*/ ?>
59
    <link rel="stylesheet" type="text/css" href="styles/lcars-basic.css">
60
<?php
61
  $printable = (isset($_GET['printable']) && $_GET['printable'] === '1');
62
  if (!$printable)
63
  {
64
?>
65
    <link rel="stylesheet" type="text/css" href="styles/lcars22.css<?php
66
      if (isset($_GET['ani']) && $_GET['ani'] !== '')
67
      {
68
        echo '?ani=' . $_GET['ani'];
69
      }
70
    ?>">
71
<?php
72
  }
73
?>
39 PointedEar 74
    <style type="text/css">
75
      <!--
76
      p {
77
        max-width: 100%;
78
      }
79
      -->
80
    </style>
81
 
82
    <script type="text/javascript">
56 PointedEar 83
      function setStatus (text)
39 PointedEar 84
      {
56 PointedEar 85
        window.status = String(text);
39 PointedEar 86
        return true;
87
      }
88
 
56 PointedEar 89
      function resetStatus ()
39 PointedEar 90
      {
91
        window.status = window.defaultStatus;
92
        return true;
93
      }
94
 
56 PointedEar 95
      function mailStatus ()
39 PointedEar 96
      {
56 PointedEar 97
        return setStatus("<?php echo _("Send your feedback to PointedEars"); ?>");
39 PointedEar 98
      }
56 PointedEar 99
<?php
39 PointedEar 100
      /*
101
      var ms1Day = 60*60*24*1000; // ms for 1 days = 60sec*60min*24hours*1000ms
102
      var msLeaveDays = ms1Day*6;
103
      var ms30Days=ms1Day*30;
104
      var delta;
105
      var newTime=new Date();
106
      var msTime=newTime.getTime();
107
      var msExpire=msTime+ms30Days;
108
      var expireTime=new Date(msExpire);
109
 
110
      cookieVal=
111
          "savedTime=" + newTime.toGMTString()
112
        + "; expires=" + expireTime.toGMTString()
113
        + "; domain=anybody"
114
        + "; path=/";
115
      document.cookie= cookieVal;
116
      */
56 PointedEar 117
?>
39 PointedEar 118
    </script>
56 PointedEar 119
    <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?>
39 PointedEar 120
  </head>
85 PointedEar 121
  <body class="fade-in" onload="if (typeof this.ontouchstart != 'undefined') this.ontouchstart = function () {}">
39 PointedEar 122
    <div id="content">
79 PointedEar 123
      <h1 style="text-align: center"><img
39 PointedEar 124
            src="media/video/img/vulcan_hand-black-bg.png"
125
            width="120"
126
            height="168"
56 PointedEar 127
            alt="<?php echo _("Vulcan greeting"); ?>"
39 PointedEar 128
            title=""
85 PointedEar 129
            style="border: none; cursor: default"
39 PointedEar 130
            onmouseover="return setStatus(this.title)"
131
            onmouseout="return resetStatus()"><br>
56 PointedEar 132
        <?php echo _("Welcome to PointedEars’ Website"); ?></h1>
133
<?php
134
  if (!$printable)
135
  {
136
?>
79 PointedEar 137
      <p class="instruction" style="font-size: 100%; text-align: center"><?php
56 PointedEar 138
        echo sprintf(
84 PointedEar 139
          _("This site uses recent <a href='https://developer.mozilla.org/en-US/docs/'"
140
            . " title='Learn more: Mozilla Developer Network'>Web technologies</a>."
79 PointedEar 141
            . " You can use the <a href='index.%s?printable=1'>%s</a>"
142
            . " if it is not displayed properly with your software."),
56 PointedEar 143
          $language,
76 PointedEar 144
          _('Printable version'));
56 PointedEar 145
        ?></p>
146
<?php
147
  }
148
 
149
  /*
39 PointedEar 150
      <p>
151
        | <a href="leisure/" target="_top"
152
            >Freizeit-Datenbank</a>
153
        | <a href="mozilla/" target="_top">Mozilla</a>
154
        | <a href="poetry/" target="_top">Poesie</a>
56 PointedEar 155
  */
39 PointedEar 156
 
56 PointedEar 157
  /*
39 PointedEar 158
        | [<abbr title="nur in englischer Sprache verf&uuml;gbar"
159
                 >en</abbr>]
160
        | <a href="selfhtml.de/" target="_top">SELFHTML.DE</a>
56 PointedEar 161
  */
162
  /*
39 PointedEar 163
        | <a href="lyrics/" target="_top">Songbook</a>
43 PointedEar 164
        | </p>
56 PointedEar 165
  */
166
              /*
39 PointedEar 167
      <p><a href="about/worm.de.html" target="_top"
168
            >Seltsame E-Mails bekommen?</a></p>
56 PointedEar 169
               */
170
/*
39 PointedEar 171
      <noscript>
172
        <a
173
          href="http://pointedears.de/"
174
          title="PointedEars' Website"
175
          >Diese Website zu Ihren Lesezeichen hinzuf&uuml;gen</a>
176
      </noscript>
56 PointedEar 177
 
39 PointedEar 178
      <!-- Klicken Sie hier, falls Sie nach 5 Sekunden nicht automatisch
179
           weitergeleitet werden. -->
56 PointedEar 180
*/
181
?>
79 PointedEar 182
      <hr style="height: 0; border-width: 1px 0 0 0; width: 100%">
95 PointedEar 183
      <p style="text-align: center"><?php echo sprintf(
184
          _("Original LCARS design by"
185
            . " <a href='%s' title='%s'>Michael&nbsp;Okuda</a>."
186
            . " This site is based on an <a href='%s'"
187
            . " title='LCARS Standards Development Board'"
188
            . ">implementation in Flash by Chris&nbsp;Rossi</a>,"
189
            . " and research by <a href='%s'"
190
            . " title='Creating a Coherent LCARS Interface'>Bracer&nbsp;Jack</a>"
191
            . " and <a href='%s'"
192
            . " title='LCARS 47 Development Blog&nbsp;– LCARS&nbsp;101: A Designer’s Handbook'"
193
            . ">Eleanor&nbsp;Denver</a>."),
194
          'https://twitter.com/MikeOkuda',
195
          _('Michael Okuda on Twitter'),
196
          'http://www.lcarsdeveloper.com/',
197
          'http://www.bracercom.com/tutorial/content/CoherentLCARSInterface/LCARSCoherentInterface.html',
198
          'http://www.lcars47.com/p/lcars-101.html');
199
        ?><br>
200
        Copyright &copy;&nbsp;2002&#8211;2013 <a
56 PointedEar 201
        href="mailto:webmaster@PointedEars.de?subject=Feedback/LCARS/Welcome/<?php
202
          echo $language;
85 PointedEar 203
        ?>&amp;body=<?php
56 PointedEar 204
          echo rawurlencode(sprintf('[%s]', _("Your feedback")));
85 PointedEar 205
        ?>"
56 PointedEar 206
        title="<?php echo _("Send your feedback to PointedEars"); ?>"
79 PointedEar 207
        onmouseover="return mailStatus()"
208
        onmouseout="return resetStatus()"
56 PointedEar 209
        >Thomas ‘PointedEars’ Lahn</a>. <?php echo _("All rights reserved."); ?></p>
95 PointedEar 210
      <p style="text-align: center"></p>
56 PointedEar 211
<?php
212
      /* embed src="media/interface/speech/de/warten.wav" width="0" height="0"
213
      hidden="true" autostart="true" dir="ltr" lang="de" */
214
?>
39 PointedEar 215
    </div>
216
    <div id="LCARS">
56 PointedEar 217
<?php /*
39 PointedEar 218
      <div id="button-grid" style="position: absolute; opacity: 0.3">
219
        <a class="button" style="display: block; clear: left; 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
 
236
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
237
        <a class="button" style="display: block; 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
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
245
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
246
 
247
        <a class="button" style="display: block; clear: left; 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
        <a class="button" style="display: block; 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
 
252
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
253
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
254
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
255
 
256
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
257
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
258
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
259
 
260
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
261
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
262
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
263
 
264
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
265
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
266
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
267
      </div>
56 PointedEar 268
*/ ?>
39 PointedEar 269
      <div id="bow">
270
        <div id="bow-top">
271
          <div class="separator-left">&nbsp;</div>
91 PointedEar 272
          <div class="text"><span>PointedEars’ Website</span></div>
39 PointedEar 273
        </div>
274
        <div id="bow-top-left">
275
          <div class="concave">&nbsp;</div>
276
        </div>
277
        <div id="bottom">
278
          <div id="bow-bottom">
279
            <div class="concave">&nbsp;</div>
280
            <div class="spacer">&nbsp;</div>
281
        </div>
282
        </div>
43 PointedEar 283
 
284
        <div class="menu-container">
88 PointedEar 285
          <nav class="menu">
56 PointedEar 286
            <div style="position: relative; margin-bottom: 1.2em">
287
              <div class="bow" style="width: 8em; height: 1em">&nbsp;</div>
43 PointedEar 288
            </div>
56 PointedEar 289
            <ul>
290
            <?php foreach ($languages as $key => $name): ?>
74 PointedEar 291
              <li><a href="index.<?php echo $key; ?>?ani=0"
292
                     class="button<?php if ($language === $key) { ?> selected<?php } ?>"
293
                     tabindex="2"><span class="text"><?php echo $name; ?></span></a></li>
56 PointedEar 294
            <?php endforeach; ?>
295
            </ul>
296
            <div class="bow" style="margin-bottom: 0.4em; width: 8em; height: 0.4em">&nbsp;</div>
297
            <ul style="margin-bottom: 1.2em">
298
              <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 299
              <li><a href="<?php echo $menu['es-matrix']['path']; ?>" target="_top" class="button"
300
                     title="<?php echo $menu['es-matrix']['title']; ?>"
301
                     ><span class="text"><?php echo $menu['es-matrix']['text']; ?></span></a></li>
56 PointedEar 302
              <li><a href="<?php echo $menu['devel']['path']; ?>" target="_top" class="button"><span class="text"><?php echo $menu['devel']['text']; ?></span></a></li>
303
            </ul>
304
            <ul style="margin-bottom: 0.2em">
305
              <li><a href="<?php echo $menu['series']['path']; ?>" target="_top" class="button secondary"
306
                     title="List of recommended TV shows and episodes, with logos in CSS"
307
                     ><span class="text"><?php echo $menu['series']['text']; ?></span></a></li>
308
              <li><a href="<?php echo $menu['ufpdb']['path']; ?>" target="_top" class="button database"
79 PointedEar 309
                     ><abbr title="<?php echo $menu['ufpdb']['title']; ?>"
310
                            class="text"><?php echo $menu['ufpdb']['text']; ?></abbr></a></li>
56 PointedEar 311
              <li><a href="psf/" target="_top"
312
                 class="button ancillary"
79 PointedEar 313
                 ><abbr title="<?php echo _("PointedEars' Standard Frases"); ?>"
314
                        class="text">psf</abbr></a></li>
56 PointedEar 315
            </ul>
316
            <div style="position: relative; margin-bottom: 1.2em">
317
              <div class="bow" style="width: 8em; height: 0.8em">&nbsp;</div>
318
            </div>
319
            <ul>
320
              <li><a href="http://climateapps2.oerc.ox.ac.uk/cpdnboinc/show_user.php?userid=648544"
321
                     target="_top" class="button secondary"
322
                     title="<?php echo _("The world’s largest climate forecasting experiment for the 21st century"); ?>"
323
                     ><span class="text">climateprediction.net</span></a></li>
324
<?php /* http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&amp;username=Thomas_Lahn */ ?>
325
              <li><a href="<?php echo _("http://folding.stanford.edu/English/HomePage"); ?>"
326
                     target="_top" class="button secondary"
327
                     title="<?php echo _("Distributed computing to understand protein folding, protein aggregation, and related diseases"); ?>"
328
                     ><span class="text">Folding at home</span></a></li>
329
             <li><a href="http://lhcathomeclassic.cern.ch/sixtrack/show_user.php?userid=221181"
330
                    target="_top" class="button secondary"
331
                    title="<?php echo _("Particle physics research with the Large Hadron Collider at CERN"); ?>"
332
                    ><span class="text">LHC at home</span></a></li>
333
             <li><a href="http://setiathome.berkeley.edu/show_user.php?userid=378921"
334
                    target="_top" class="button secondary"
335
                    title="<?php echo _("The Search for Extra-Terrestrial Intelligence at HOME"); ?>"
336
                    ><span class="text">SETI at home</span></a></li>
337
           </ul>
76 PointedEar 338
            <script type="text/javascript" src="scripts/builder?src=object"></script>
56 PointedEar 339
<?php /*
340
            <script type="text/javascript">
341
              var sURL = location.href;
342
              var sFavAnchorTitle =
343
                  "Klicken Sie hier, um PointedEars' Website Ihren Favoriten"
344
                + " hinzuzufügen";
345
              var sOtherAnchorTitle =
346
                  "Klicken Sie hier mit der rechten Maustaste, um PointedEars' Website"
347
                + " Ihren Lesezeichen hinzuzufügen";
348
              var sFavoriteTitle = "PointedEars' Website";
349
 
350
              if (jsx.object.isHostMethod(jsx.global.window, "external", "AddFavorite"))
351
              {
352
                document.write(
353
                    '<div style="position: relative; margin-top: 1em; border-bottom: 0.2em solid transparent">'
354
                  + '  <div class="bow" style="width: 8em; height: 1em">&nbsp;<\/div>'
355
                  + '  <div class="bow" style="position: absolute; top: 0; left: 8.2em; width: 2em; height: 1em">&nbsp;<\/div>'
356
                  + '</div>'
357
                  + '<a href="javascript:window.external.AddFavorite('
358
                  + ' sURL, sFavoriteTitle);" title="' + sFavAnchorTitle + '"'
359
                  + ' class="button"'
360
                  + ' onclick="window.external.AddFavorite('
361
                  + ' sURL, sFavoriteTitle); return false"'
79 PointedEar 362
                  + ' onmouseover="return setStatus(sFavAnchorTitle)"'
363
                  + ' onmouseout="return resetStatus()"'
56 PointedEar 364
                  + '><span class="text">Favorit<\/span><\/a>');
365
              }
366
            </script>
367
*/ ?>
88 PointedEar 368
          </nav>
39 PointedEar 369
        </div>
56 PointedEar 370
      </div>
371
      <div id="connectors">
372
        <div class="bow" style="position: absolute; top: 0; left: 0; width: 2em; height: 1em">&nbsp;</div>
373
        <div class="bow" style="position: absolute; top: 0; left: 2.2em; width: 5em; height: 1em">&nbsp;</div>
374
 
71 PointedEar 375
        <div class="bow" style="position: absolute; top: 13.6em; left: 0; width: 2em; height: 0.8em">&nbsp;</div>
376
        <div class="bow" style="position: absolute; top: 13.6em; left: 2.2em; width: 5em; height: 0.8em">&nbsp;</div>
56 PointedEar 377
      </div>
378
      <div class="multi-display">
39 PointedEar 379
        <div class="upper">
74 PointedEar 380
          <div class="content">
381
            <div class="title"><span>Home</span></div>
89 PointedEar 382
            <div class="analysis">&nbsp;</div>
76 PointedEar 383
            <script type="text/javascript">
95 PointedEar 384
              var fullscreen = (function () {
76 PointedEar 385
                var _isHostMethod = jsx.object.isHostMethod;
386
 
387
                return {
95 PointedEar 388
                  getSupportedProperty: function (base, names, test) {
389
                    for (var i = 0, len = names.length; i < len; ++i)
76 PointedEar 390
                    {
95 PointedEar 391
                      var name = names[i];
392
                      if (test.call(null, base, name))
76 PointedEar 393
                      {
95 PointedEar 394
                        return name;
76 PointedEar 395
                      }
396
                    }
397
 
95 PointedEar 398
                    return null;
76 PointedEar 399
                  },
400
 
95 PointedEar 401
                  getSupportedCancel: (function () {
402
                    var _supportedCancel;
403
 
404
                    return function () {
405
                      if (typeof _supportedCancel == "undefined")
406
                      {
407
                        var properties = ["cancelFullScreen", "mozCancelFullScreen",
408
                                          "webkitCancelFullScreen"];
409
 
410
                        _supportedCancel = this.getSupportedProperty(document, properties, _isHostMethod);
411
                      }
412
 
413
                      return _supportedCancel;
414
                    };
415
                  }()),
416
 
417
                  getSupportedElement: (function () {
418
                    var _supportedElement;
419
 
420
                    return function () {
421
                      if (typeof _supportedElement == "undefined")
422
                      {
423
                        var properties = ["fullscreenElement", "mozFullscreenElement",
424
                                          "webkitFullscreenElement"];
425
 
426
                        _supportedElement = this.getSupportedProperty(document, properties,
427
                          function (base, name) {
428
                            return typeof base[name] != "undefined";
429
                          });
430
                      }
431
 
432
                      return _supportedElement;
433
                    };
434
                  }()),
435
 
436
                  isSupportedBy: function (elem) {
437
                    var methods = ["requestFullscreen", "mozRequestFullscreen",
438
                                   "webkitRequestFullscreen"];
439
                    return this.getSupportedProperty(elem, methods, _isHostMethod);
76 PointedEar 440
                  },
441
 
95 PointedEar 442
                  isFullscreen: function () {
443
                    var properties = ["fullscreenElement", "mozFullscreenElement",
444
                                      "webkitFullscreenElement"];
445
                    var supportedProperty = this.getSupportedProperty(
446
                      document, properties,
447
                      function (base, name) {
448
                        return typeof base[name] != "undefined";
449
                      });
450
 
451
                    return supportedProperty && document[supportedProperty] != null;
452
                  },
453
 
76 PointedEar 454
                  cancel: function (target, oldHandler, textTarget) {
95 PointedEar 455
                    var supportedCancel = this.getSupportedCancel();
456
                    if (supportedCancel)
76 PointedEar 457
                    {
95 PointedEar 458
                      document[supportedCancel]();
76 PointedEar 459
 
95 PointedEar 460
                      var supportedElement = this.getSupportedElement();
461
                      if (supportedElement)
76 PointedEar 462
                      {
95 PointedEar 463
                        if (document[supportedElement] == null)
76 PointedEar 464
                        {
95 PointedEar 465
                          if (textTarget)
466
                          {
467
                            textTarget.textContent = "<?php echo _("Fullscreen"); ?>";
468
                          }
469
 
470
                          if (target)
471
                          {
472
                            target.onclick = oldHandler;
473
                          }
76 PointedEar 474
                        }
475
                      }
476
                    }
477
                  },
478
 
479
                  requestOn: function (elem, eventTarget, textTarget) {
480
                    var requestMethodName;
481
 
482
                    if (elem && (requestMethodName = this.isSupportedBy(elem)))
483
                    {
484
                      elem[requestMethodName]();
95 PointedEar 485
                      if (textTarget && this.isFullscreen())
76 PointedEar 486
                      {
487
                        var oldText = textTarget.textContent;
488
                        var me = this;
489
                        var oldHandler = eventTarget.onclick;
490
                        eventTarget.onclick = function () {
491
                          me.cancel(this, oldHandler, textTarget);
492
                        };
493
                        textTarget.textContent = "<?php echo _("Window"); ?>";
494
                      }
495
                    }
496
                  }
497
                };
498
              }());
499
            </script>
92 PointedEar 500
            <ul class="commands">
501
              <li id="cmd1"><a href="index.html"
502
                title="Language selection"
503
                tabindex="1"
504
                class="button left right"
505
                onmouseover="return setStatus(this.title + ': ' + this.href)"
506
                onmouseout="return resetStatus()"
507
                onfocus="return this.onmouseover()"
508
                onblur="return this.onmouseout()"
509
                ><abbr class="text" title="Language selection">Language</abbr></a></li>
510
              <li id="cmd2"><a href="index.<?php echo $language; ?>?printable=1"
511
                title="<?php echo _('Printable version'); ?>"
512
                tabindex="1"
513
                class="button left right"
514
                onmouseover="return setStatus(this.title + ': ' + this.href)"
515
                onmouseout="return resetStatus()"
516
                onfocus="return this.onmouseover()"
517
                onblur="return this.onmouseout()"
518
                ><span class="text"><?php echo _("Printable"); ?></span></a></li>
519
              <li id="cmd3"><div class="button left right"
95 PointedEar 520
                   onclick="fullscreen.requestOn(document.documentElement, this, this.firstChild)"
92 PointedEar 521
                   onkeyup="if (event.keyCode == 13) { this.onclick(); this.onmouseup(); }"
522
                   onmouseup="this.blur()"
523
                   tabindex="1"
524
                   ><span class="text"><script type="text/javascript">
95 PointedEar 525
                     if (fullscreen.isSupportedBy(document.documentElement))
92 PointedEar 526
                     {
95 PointedEar 527
                       /*
528
                       var previousIsFullscreen = fullscreen.isFullscreen();
529
                       var oldHandler;
530
                       window.onresize = function () {
531
                         var nowIsFullscreen = fullscreen.isFullscreen();
532
                         if (nowIsFullscreen != previousIsFullscreen)
533
                         {
534
                           var cmd3 = document.getElementById("cmd3");
535
                           var target = cmd3.firstChild;
536
                           var textTarget = target.firstChild;
537
                           if (nowIsFullscreen)
538
                           {
539
                             oldHandler = target.onclick;
540
                           //   fullscreen.requestOn(document.documentElement, cmd3.firstElementChild, cmd3.firstElementChild.firstElementChild);
541
                           }
542
                           else
543
                           {
544
                             fullscreen.cancel(target, oldHandler, textTarget);
545
                           }
546
 
547
                           previousIsFullscreen = nowIsFullscreen;
548
                         }
549
                       };
550
                       */
92 PointedEar 551
                       document.write("<?php echo _("Fullscreen"); ?>");
552
                     }
553
                   </script></span></div></li>
554
              <li id="cmd4"><div class="button left right" style="cursor: not-allowed !important">&nbsp;</div></li>
555
            </ul>
72 PointedEar 556
          </div>
74 PointedEar 557
          <div class="elbo-button">
558
            <span class="text"><?php echo gmdate('Ym.d', $modi); ?></span>
559
          </div>
39 PointedEar 560
          <div class="elbo">
82 PointedEar 561
            <span class="text"><abbr title="Library Computer Access and Retrieval System">LCARS</abbr> PE-47A</span>
39 PointedEar 562
            <div class="concave">&nbsp;</div>
563
          </div>
79 PointedEar 564
          <div class="border">
565
            <div class="left">&nbsp;</div>
566
            <div class="right">&nbsp;</div>
567
          </div>
39 PointedEar 568
        </div>
569
        <div class="lower">
570
          <div class="elbo">
571
            <div class="concave">&nbsp;</div>
572
          </div>
573
          <div class="bg">&nbsp;</div>
574
          <div class="border-container">
79 PointedEar 575
            <div class="border">
576
              <div class="left">&nbsp;</div>
577
              <div class="right">&nbsp;</div>
578
            </div>
39 PointedEar 579
          </div>
580
        </div>
581
      </div>
582
    </div>
583
  </body>
584
</html>