Rev 210 | Rev 228 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 210 | Rev 227 | ||
|---|---|---|---|
| Line -... | Line 1... | ||
| - | 1 | ||
| 1 | <div id="LCARS"> |
2 | <div id="LCARS"> |
| 2 | <?php /* |
3 | <?php /* |
| 3 | <div id="button-grid" style="position: absolute; opacity: 0.3">
|
4 | <div id="button-grid" style="position: absolute; opacity: 0.3">
|
| 4 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
5 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
| 5 | 6 | ||
| 6 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
7 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
| Line 50... | Line 51... | ||
| 50 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
51 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
| 51 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
52 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
| 52 | </div>
|
53 | </div>
|
| 53 | */ ?> |
54 | */ ?> |
| 54 | <div id="bow"> |
55 | <div id="bow"> |
| 55 | <div id="bow-top"> |
56 | <div id="bow-top"> |
| 56 | <div class="separator-left"> </div> |
57 | <div class="separator-left"> </div> |
| - | 58 | <div class="text"> |
|
| 57 | <div class="text"><span>PointedEars’ Website</span></div> |
59 | <span>PointedEars’ Website</span> |
| 58 | </div> |
60 | </div> |
| - | 61 | </div> |
|
| 59 | <div id="bow-top-left"> |
62 | <div id="bow-top-left"> |
| 60 | <div class="concave"> </div> |
63 | <div class="concave"> </div> |
| - | 64 | <div |
|
| 61 | <div style="position: absolute; top: 3.2em; left: 0; background-color: black"> |
65 | style="position: absolute; top: 3.2em; left: 0; background-color: black" |
| - | 66 | > |
|
| - | 67 | <div class="bow" |
|
| 62 | <div class="bow" style="margin-top: 0.2em; width: 8em; height: 1em"> </div> |
68 | style="margin-top: 0.2em; width: 8em; height: 1em" |
| 63 | </div> |
69 | > </div> |
| 64 | </div> |
70 | </div> |
| - | 71 | </div> |
|
| 65 | <div id="bottom"> |
72 | <div id="bottom"> |
| 66 | <div id="bow-bottom"> |
73 | <div id="bow-bottom"> |
| 67 | <div class="concave"> </div> |
74 | <div class="concave"> </div> |
| 68 | <div class="spacer"> </div> |
75 | <div class="spacer"> </div> |
| 69 | </div> |
76 | </div> |
| 70 | </div> |
77 | </div> |
| 71 | 78 | ||
| 72 | <div class="menu-container"> |
79 | <div class="menu-container"> |
| 73 | <nav class="menu"> |
80 | <nav class="menu"> |
| 74 | <ul> |
81 | <ul> |
| 75 | <?php foreach ($languages as $key => $name): ?> |
82 | <?php foreach ($languages as $key => $name): ?> |
| - | 83 | <li><a |
|
| 76 | <li><a href="index.<?php echo language_key_short($key); ?>?ani=0" |
84 | href="index.<?php echo language_key_short($key); ?>?ani=0" |
| 77 | lang="<?php echo $key; ?>" hreflang="<?php echo $key; ?>" |
85 | lang="<?php echo $key; ?>" hreflang="<?php echo $key; ?>" |
| 78 | class="button<?php if ($language === $key) { ?> selected<?php } ?>" |
86 | class="button<?php if ($language === $key) { ?> selected<?php } ?>" |
| - | 87 | tabindex="2" |
|
| 79 | tabindex="2"><span class="text"><?php echo language_name($key); ?></span></a></li> |
88 | ><span class="text"><?php echo language_name($key); ?></span></a></li> |
| 80 | <?php endforeach; ?> |
89 | <?php endforeach; ?> |
| 81 | </ul> |
90 | </ul> |
| 82 | <div class="bow" style="margin-bottom: 0.4em; height: 0.4em"> </div> |
91 | <div class="bow" style="margin-bottom: 0.4em; height: 0.4em"> </div> |
| 83 | <ul style="margin-bottom: 1.2em"> |
92 | <ul style="margin-bottom: 1.2em"> |
| 84 | <li><a href="<?php echo $menu['scripts']['path']; ?>" target="_top" class="button" |
93 | <li><a href="<?php echo $menu['scripts']['path']; ?>" |
| 85 | lang="<?php echo $language; ?>" |
94 | target="_top" class="button" lang="<?php echo $language; ?>" |
| 86 | ><span class="text"><?php echo $menu['scripts']['text']; ?></span></a></li> |
95 | ><span class="text"><?php echo $menu['scripts']['text']; ?></span></a></li> |
| 87 | <li><a href="<?php echo $menu['es-matrix']['path']; ?>" target="_top" class="button" |
96 | <li><a href="<?php echo $menu['es-matrix']['path']; ?>" |
| - | 97 | target="_top" class="button" |
|
| 88 | title="<?php echo $menu['es-matrix']['title']; ?>" |
98 | title="<?php echo $menu['es-matrix']['title']; ?>" |
| 89 | ><span class="text"><?php echo $menu['es-matrix']['text']; ?></span></a></li> |
99 | ><span class="text"><?php echo $menu['es-matrix']['text']; ?></span></a></li> |
| 90 | <li><a href="<?php echo $menu['devel']['path']; ?>" target="_top" class="button" |
100 | <li><a href="<?php echo $menu['devel']['path']; ?>" |
| 91 | lang="<?php echo $language; ?>" |
101 | target="_top" class="button" lang="<?php echo $language; ?>" |
| 92 | ><span class="text"><?php echo $menu['devel']['text']; ?></span></a></li> |
102 | ><span class="text"><?php echo $menu['devel']['text']; ?></span></a></li> |
| 93 | </ul> |
103 | </ul> |
| 94 | <ul style="margin-bottom: 0.2em"> |
104 | <ul style="margin-bottom: 0.2em"> |
| 95 | <li><a href="psf/" target="_top" |
105 | <li><a href="psf/" target="_top" class="button ancillary"><abbr |
| 96 | class="button ancillary" |
- | |
| 97 | ><abbr title="<?php echo tr("PointedEars' Standard Frases"); ?>" |
106 | title="<?php echo tr("PointedEars' Standard Frases"); ?>" |
| - | 107 | class="text" |
|
| 98 | class="text">psf</abbr></a></li> |
108 | >psf</abbr></a></li> |
| 99 | <li><a href="<?php echo $menu['series']['path']; ?>" target="_top" class="button ancillary" |
109 | <li><a href="<?php echo $menu['series']['path']; ?>" |
| - | 110 | target="_top" class="button ancillary" |
|
| 100 | title="<?php echo tr('List of recommended TV shows and episodes, with logos in CSS'); ?>" |
111 | title="<?php echo tr('List of recommended TV shows and episodes, with logos in CSS'); ?>" |
| 101 | ><span class="text"><?php echo $menu['series']['text']; ?></span></a></li> |
112 | ><span class="text"><?php echo $menu['series']['text']; ?></span></a></li> |
| 102 | <li><a href="<?php echo $menu['ufpdb']['path']; ?>" target="_top" class="button database" |
113 | <li><a href="<?php echo $menu['ufpdb']['path']; ?>" |
| - | 114 | target="_top" class="button database" |
|
| 103 | ><abbr title="<?php echo $menu['ufpdb']['title']; ?>" |
115 | ><abbr title="<?php echo $menu['ufpdb']['title']; ?>" |
| - | 116 | class="text" |
|
| 104 | class="text"><?php echo $menu['ufpdb']['text']; ?></abbr></a></li> |
117 | ><?php echo $menu['ufpdb']['text']; ?></abbr></a></li> |
| 105 | </ul> |
118 | </ul> |
| 106 | <div style="position: relative; margin-bottom: 1.2em"> |
119 | <div style="position: relative; margin-bottom: 1.2em"> |
| 107 | <div class="bow" style="height: 0.8em"> </div> |
120 | <div class="bow" style="height: 0.8em"> </div> |
| 108 | </div> |
121 | </div> |
| 109 | <ul> |
122 | <ul> |
| - | 123 | <li><a |
|
| 110 | <li><a href="http://climateapps2.oerc.ox.ac.uk/cpdnboinc/show_user.php?userid=648544" |
124 | href="http://climateapps2.oerc.ox.ac.uk/cpdnboinc/show_user.php?userid=648544" |
| 111 | target="_top" class="button secondary" |
125 | target="_top" class="button secondary" |
| 112 | title="<?php echo tr("The world’s largest climate forecasting experiment for the 21st century"); ?>" |
126 | title="<?php echo tr("The world’s largest climate forecasting experiment for the 21st century"); ?>" |
| 113 | ><span class="text">climateprediction.net</span></a></li> |
127 | ><span class="text">climateprediction.net</span></a></li> |
| - | 128 | <li><a |
|
| 114 | <li><a href="http://fah-web2.stanford.edu/cgi-bin/main.py?qtype=userpage&username=Thomas_Lahn" |
129 | href="http://fah-web2.stanford.edu/cgi-bin/main.py?qtype=userpage&username=Thomas_Lahn" |
| 115 | target="_top" class="button secondary" |
130 | target="_top" class="button secondary" |
| 116 | title="<?php echo tr("Distributed computing to understand protein folding, protein aggregation, and related diseases"); ?>" |
131 | title="<?php echo tr("Distributed computing to understand protein folding, protein aggregation, and related diseases"); ?>" |
| 117 | ><span class="text">Folding at home</span></a></li> |
132 | ><span class="text">Folding at home</span></a></li> |
| - | 133 | <li><a |
|
| 118 | <li><a href="http://lhcathomeclassic.cern.ch/sixtrack/show_user.php?userid=221181" |
134 | href="http://lhcathomeclassic.cern.ch/sixtrack/show_user.php?userid=221181" |
| 119 | target="_top" class="button secondary" |
135 | target="_top" class="button secondary" |
| 120 | title="<?php echo tr("Particle physics research with the Large Hadron Collider at CERN"); ?>" |
136 | title="<?php echo tr("Particle physics research with the Large Hadron Collider at CERN"); ?>" |
| 121 | ><span class="text">LHC at home</span></a></li> |
137 | ><span class="text">LHC at home</span></a></li> |
| - | 138 | <li><a |
|
| 122 | <li><a href="http://setiathome.berkeley.edu/show_user.php?userid=378921" |
139 | href="http://setiathome.berkeley.edu/show_user.php?userid=378921" |
| 123 | target="_top" class="button secondary" |
140 | target="_top" class="button secondary" |
| 124 | title="<?php echo tr("The Search for Extra-Terrestrial Intelligence at HOME"); ?>" |
141 | title="<?php echo tr("The Search for Extra-Terrestrial Intelligence at HOME"); ?>" |
| 125 | ><span class="text">SETI at home</span></a></li> |
142 | ><span class="text">SETI at home</span></a></li> |
| - | 143 | <li><a |
|
| 126 | <li><a href="http://stackoverflow.com/users/855543/pointedears" |
144 | href="http://stackoverflow.com/users/855543/pointedears" |
| 127 | target="_top" class="button secondary" |
145 | target="_top" class="button secondary" |
| 128 | title="<?php echo tr("Me on Stack Overflow"); ?>" |
146 | title="<?php echo tr("Me on Stack Overflow"); ?>" |
| 129 | ><span class="text">Stack Overflow</span></a></li> |
147 | ><span class="text">Stack Overflow</span></a></li> |
| 130 | <li><a href="https://twitter.com/PointedEars2" |
148 | <li><a href="https://twitter.com/PointedEars2" target="_top" |
| 131 | target="_top" class="button secondary" |
149 | class="button secondary" |
| 132 | title="<?php echo tr("Me on Twitter"); ?>" |
150 | title="<?php echo tr("Me on Twitter"); ?>" |
| 133 | ><span class="text">Twitter</span></a></li> |
151 | ><span class="text">Twitter</span></a></li> |
| - | 152 | <li><a |
|
| 134 | <li><a href="<?php echo tr("http://en.wikipedia.org/wiki/Special:Contributions/PointedEars"); ?>" |
153 | href="<?php echo tr("http://en.wikipedia.org/wiki/Special:Contributions/PointedEars"); ?>" |
| 135 | target="_top" class="button secondary" |
154 | target="_top" class="button secondary" |
| 136 | title="<?php echo tr("My contributions to Wikipedia"); ?>" |
155 | title="<?php echo tr("My contributions to Wikipedia"); ?>" |
| 137 | ><span class="text"><?php echo tr('Wikipedia'); ?></span></a></li> |
156 | ><span class="text"><?php echo tr('Wikipedia'); ?></span></a></li> |
| 138 | </ul> |
157 | </ul> |
| 139 | <?php /* |
158 | <?php /* |
| 140 | <script type="text/javascript">
|
159 | <script type="text/javascript">
|
| 141 | var sURL = location.href;
|
160 | var sURL = location.href;
|
| 142 | var sFavAnchorTitle =
|
161 | var sFavAnchorTitle =
|
| 143 | "Klicken Sie hier, um PointedEars' Website Ihren Favoriten"
|
162 | "Klicken Sie hier, um PointedEars' Website Ihren Favoriten"
|
| Line 164... | Line 183... | ||
| 164 | + '><span class="text">Favorit<\/span><\/a>');
|
183 | + '><span class="text">Favorit<\/span><\/a>');
|
| 165 | }
|
184 | }
|
| 166 | </script>
|
185 | </script>
|
| 167 | */ ?> |
186 | */ ?> |
| 168 | </nav> |
187 | </nav> |
| - | 188 | </div> |
|
| - | 189 | </div> |
|
| - | 190 | <div id="connectors"> |
|
| - | 191 | <div class="bow top left"> </div> |
|
| - | 192 | <div class="bow top right"> </div> |
|
| - | 193 | ||
| - | 194 | <div class="bow mid left"> </div> |
|
| - | 195 | <div class="bow mid right"> </div> |
|
| - | 196 | </div> |
|
| - | 197 | <div class="multi-display"> |
|
| - | 198 | <div class="upper"> |
|
| - | 199 | <div class="content"> |
|
| - | 200 | <div class="title" id="title" lang="<?php echo $language; ?>"> |
|
| - | 201 | <span class="text"><?php echo tr('Home'); ?></span> |
|
| 169 | </div> |
202 | </div> |
| 170 | </div> |
- | |
| 171 | <div id="connectors"> |
- | |
| 172 | <div class="bow top left"> </div> |
- | |
| 173 | <div class="bow top right"> </div> |
- | |
| 174 | - | ||
| 175 | <div class="bow mid left"> </div> |
- | |
| 176 | <div class="bow mid right"> </div> |
203 | <div class="analysis" id="analysis"> |
| 177 | </div> |
204 | <table> |
| 178 | <div class="multi-display"> |
- | |
| 179 | <div class="upper"> |
205 | <tr> |
| 180 | <div class="content"> |
- | |
| 181 | <div class="title" id="title" lang="<?php echo $language; ?>"><span class="text"><?php echo tr('Home'); ?></span></div> |
206 | <th lang="<?php echo $language; ?>"><span class="text"><?php echo tr('Display'); ?>:</span></th> |
| 182 | <div class="analysis" id="analysis"> |
207 | <td lang="<?php echo $language; ?>"><script |
| 183 | <table> |
208 | type="text/javascript" |
| 184 | <tr> |
209 | > |
| 185 | <th lang="<?php echo $language; ?>"><span class="text"><?php echo tr('Display'); ?>:</span></th> |
- | |
| 186 | <td lang="<?php echo $language; ?>"><script type="text/javascript"> |
- | |
| 187 | var _addEventListener = jsx.dom.addEventListener; |
210 | var _addEventListener = jsx.dom.addEventListener; |
| 188 | var _runAsync = jsx.dom.timeout.runAsync; |
211 | var _runAsync = jsx.dom.timeout.runAsync; |
| 189 | var ID_SCREEN_DIM = 'screenDim'; |
212 | var ID_SCREEN_DIM = 'screenDim'; |
| 190 | var ID_AVAIL_DIM = 'availDim'; |
213 | var ID_AVAIL_DIM = 'availDim'; |
| 191 | var ID_INNER_DIM = 'innerDim'; |
214 | var ID_INNER_DIM = 'innerDim'; |
| Line 256... | Line 279... | ||
| 256 | _addEventListener(document, "unload", function () {
|
279 | _addEventListener(document, "unload", function () {
|
| 257 | tColor.unset(); |
280 | tColor.unset(); |
| 258 | tColor = null; |
281 | tColor = null; |
| 259 | }); |
282 | }); |
| 260 | }()); |
283 | }()); |
| - | 284 | </script> |
|
| 261 | </script><noscript><?php echo tr('N/A'); ?></noscript></td> |
285 | <noscript><?php echo tr('N/A'); ?></noscript></td> |
| 262 | </tr> |
286 | </tr> |
| 263 | <tr> |
287 | <tr> |
| 264 | <th><?php echo tr('User Agent'); ?>:</th> |
288 | <th lang="<?php echo $language; ?>"><span class="text"><?php echo tr('User Agent'); ?>:</span></th> |
| - | 289 | <td><script type="text/javascript" |
|
| 265 | <td><script type="text/javascript" src="application/scripts/ua.js"></script><noscript><?php
|
290 | src="application/scripts/ua.js" |
| - | 291 | ></script> |
|
| - | 292 | <noscript><?php
|
|
| 266 | echo tr('N/A'); ?></noscript></td> |
293 | echo tr('N/A'); ?></noscript></td> |
| 267 | </tr> |
294 | </tr> |
| 268 | <tr> |
295 | <tr> |
| 269 | <th><?php echo tr('Features'); ?>:</th> |
296 | <th lang="<?php echo $language; ?>"><span class="text"><?php echo tr('Features'); ?>:</span></th> |
| 270 | <td><script type="text/javascript"> |
297 | <td><script type="text/javascript"> |
| 271 | var fullscreen = jsx.dom.window.fullscreen; |
298 | var fullscreen = jsx.dom.window.fullscreen; |
| 272 | 299 | ||
| 273 | (function () {
|
300 | (function () {
|
| 274 | function getFeatures () |
301 | function getFeatures () |
| 275 | {
|
302 | {
|
| Line 313... | Line 340... | ||
| 313 | features.push("<?php echo tr('Gamepad'); ?>");
|
340 | features.push("<?php echo tr('Gamepad'); ?>");
|
| 314 | } |
341 | } |
| 315 | 342 | ||
| 316 | if (jsx.dom.geolocation.isAvailable()) |
343 | if (jsx.dom.geolocation.isAvailable()) |
| 317 | {
|
344 | {
|
| 318 | features.push('<a href="#" title="<?php echo tr('Get location'); ?>"'
|
345 | features.push('<a href="#" title="<?php echo htmlspecialchars(tr('Get location'), ENT_QUOTES); ?>"'
|
| - | 346 | + ' lang="<?php echo $language; ?>"' |
|
| 319 | + ' onclick="return lcars.multiDisplay.geolocate(\'<?php echo tr('Geolocation'); ?>\', \'<?php echo $language; ?>\')"' |
347 | + ' onclick=\'return lcars.multiDisplay.geolocate("<?php echo htmlspecialchars(tr('Geolocation'), ENT_QUOTES); ?>", "<?php echo $language; ?>")\''
|
| 320 | + '><?php echo tr('Geolocation'); ?><\/a>'); |
348 | + '><span class="text"><?php echo htmlspecialchars(tr('Geolocation'), ENT_QUOTES); ?><\/span><\/a>'); |
| 321 | } |
349 | } |
| 322 | 350 | ||
| 323 | if (typeof navigator.javaEnabled != "undefined" && navigator.javaEnabled()) |
351 | if (typeof navigator.javaEnabled != "undefined" && navigator.javaEnabled()) |
| 324 | {
|
352 | {
|
| 325 | features.push("Java");
|
353 | features.push("Java");
|
| Line 405... | Line 433... | ||
| 405 | tFeatures.unset(); |
433 | tFeatures.unset(); |
| 406 | tFeatures = null; |
434 | tFeatures = null; |
| 407 | }); |
435 | }); |
| 408 | 436 | ||
| 409 | var windowText = "<?php echo tr("Window"); ?>"; |
437 | var windowText = "<?php echo tr("Window"); ?>"; |
| - | 438 | </script> |
|
| 410 | </script><noscript><?php echo tr('N/A'); ?></noscript></td> |
439 | <noscript><?php echo tr('N/A'); ?></noscript></td> |
| 411 | </tr> |
440 | </tr> |
| 412 | </table> |
441 | </table> |
| 413 | </div> |
442 | </div> |
| 414 | <ul class="commands"> |
443 | <ul class="commands"> |
| 415 | <li id="cmd1"><a href="index.php" |
444 | <li id="cmd1"><a href="index.php" title="Language selection" |
| 416 | title="Language selection" |
- | |
| 417 | tabindex="1" |
- | |
| 418 | class="button left right" |
445 | tabindex="1" class="button left right" |
| 419 | onmouseover="return setStatus(this.title + ': ' + this.href)" |
446 | onmouseover="return setStatus(this.title + ': ' + this.href)" |
| 420 | onmouseout="return resetStatus()" |
447 | onmouseout="return resetStatus()" |
| 421 | onfocus="return this.onmouseover()" |
448 | onfocus="return this.onmouseover()" |
| 422 | onblur="return this.onmouseout()" |
449 | onblur="return this.onmouseout()" |
| 423 | ><abbr class="text" title="Language selection">Language</abbr></a></li> |
450 | ><abbr class="text" title="Language selection">Language</abbr></a></li> |
| - | 451 | <li id="cmd2"><a |
|
| 424 | <li id="cmd2"><a href="index.<?php echo $language; ?>?printable=1" |
452 | href="index.<?php echo $language; ?>?printable=1" |
| 425 | title="<?php echo tr('Printable version'); ?>" |
453 | title="<?php echo tr('Printable version'); ?>" tabindex="1" |
| 426 | tabindex="1" |
- | |
| 427 | class="button left right" |
454 | class="button left right" |
| 428 | onmouseover="return setStatus(this.title + ': ' + this.href)" |
455 | onmouseover="return setStatus(this.title + ': ' + this.href)" |
| 429 | onmouseout="return resetStatus()" |
456 | onmouseout="return resetStatus()" |
| 430 | onfocus="return this.onmouseover()" |
457 | onfocus="return this.onmouseover()" |
| 431 | onblur="return this.onmouseout()" |
458 | onblur="return this.onmouseout()" |
| 432 | lang="<?php echo $language; ?>" |
459 | lang="<?php echo $language; ?>" |
| 433 | ><span class="text"><?php echo tr("Printable"); ?></span></a></li> |
460 | ><span class="text"><?php echo tr("Printable"); ?></span></a></li> |
| 434 | <li id="cmd3"><div class="button left right" |
461 | <li id="cmd3"><div class="button left right" |
| 435 | style="cursor: not-allowed !important" |
462 | style="cursor: not-allowed !important" |
| 436 | onclick="fullscreen.requestOn(document.documentElement, this)" |
463 | onclick="fullscreen.requestOn(document.documentElement, this)" |
| 437 | onkeyup="if (event.keyCode == 13) { this.onclick(); }"
|
464 | onkeyup="if (event.keyCode == 13) { this.onclick(); }"
|
| 438 | lang="<?php echo $language; ?>" |
465 | lang="<?php echo $language; ?>" |
| 439 | ><span class="text"><script type="text/javascript"> |
466 | ><span class="text"><script type="text/javascript"> |
| 440 | var cmd3; |
467 | var cmd3; |
| 441 | if (fullscreen.isSupportedBy(document.documentElement)) |
468 | if (fullscreen.isSupportedBy(document.documentElement)) |
| 442 | {
|
469 | {
|
| 443 | _addEventListener(window, "load", function () {
|
470 | _addEventListener(window, "load", function () {
|
| 444 | if (typeof cmd3 == "undefined") |
471 | if (typeof cmd3 == "undefined") |
| Line 486... | Line 513... | ||
| 486 | 513 | ||
| 487 | var target = cmd3.firstChild; |
514 | var target = cmd3.firstChild; |
| 488 | var textTarget = target.firstChild; |
515 | var textTarget = target.firstChild; |
| 489 | if (nowIsFullscreen) |
516 | if (nowIsFullscreen) |
| 490 | {
|
517 | {
|
| - | 518 | /* FIXME: Do not override event listeners, use the state instead */ |
|
| 491 | oldHandler = target.onclick; |
519 | oldHandler = target.onclick; |
| 492 | target.onclick = function () {
|
520 | target.onclick = function () {
|
| 493 | fullscreen.cancel(); |
521 | fullscreen.cancel(); |
| 494 | }; |
522 | }; |
| 495 | textTarget.textContent = "<?php echo tr("Window"); ?>"; |
523 | textTarget.textContent = "<?php echo tr("Window"); ?>"; |
| Line 502... | Line 530... | ||
| 502 | 530 | ||
| 503 | previousIsFullscreen = nowIsFullscreen; |
531 | previousIsFullscreen = nowIsFullscreen; |
| 504 | } |
532 | } |
| 505 | } |
533 | } |
| 506 | }); |
534 | }); |
| 507 | </script></span></div></li> |
535 | </script></span> |
| - | 536 | </div></li> |
|
| 508 | <li id="cmd4"><script type="text/javascript"> |
537 | <li id="cmd4"><script type="text/javascript"> |
| - | 538 | var LANG_KLINGON = "<?php echo $klingon; ?>"; |
|
| 509 | var LANG_VULCAN = "<?php echo $vulcan; ?>"; |
539 | var LANG_VULCAN = "<?php echo $vulcan; ?>"; |
| - | 540 | </script> |
|
| - | 541 | <script type="text/javascript" |
|
| - | 542 | src="application/scripts/klingon.js" |
|
| - | 543 | <script type="text/javascript" |
|
| 510 | </script><script type="text/javascript" src="application/scripts/vulcan-media-script.js"></script><div |
544 | src="application/scripts/vulcan-media-script.js" |
| - | 545 | ></script> |
|
| 511 | class="button left right"<?php
|
546 | <div class="button left right"<?php
|
| 512 | if ($language == $vulcan) |
547 | if (in_array($language, array($klingon, $vulcan))) |
| 513 | {
|
548 | {
|
| 514 | ?> tabindex="1" onclick="mediaScript(this)"<?php |
549 | ?> tabindex="1" onclick="<?php |
| - | 550 | switch ($language) |
|
| - | 551 | {
|
|
| - | 552 | case $klingon: echo 'pIqaD(this)'; break; |
|
| - | 553 | case $vulcan: echo 'if (media_script_used) { latinScript(this); } else { mediaScript(this); }'; break; |
|
| 515 | }
|
554 | }
|
| - | 555 | ?>"<?php |
|
| - | 556 | }
|
|
| 516 | else
|
557 | else
|
| 517 | {
|
558 | {
|
| 518 | ?> style="cursor: not-allowed !important"<?php |
559 | ?> style="cursor: not-allowed !important"<?php |
| 519 | }
|
560 | }
|
| 520 | ?>><span class="text"><?php |
561 | ?>><span class="text"><?php |
| 521 | echo $language == $vulcan ? 'Hitra-Zukitan' : ' '; |
562 | echo $language == $vulcan ? 'Hitra-Zukitan' : ' '; |
| - | 563 | ?></span>
|
|
| 522 | ?></span></div></li>
|
564 | </div></li> |
| 523 | </ul> |
565 | </ul> |
| 524 | </div> |
566 | </div> |
| 525 | <div class="elbo-button"> |
567 | <div class="elbo-button"> |
| - | 568 | <span class="text" |
|
| 526 | <span class="text" title="<?php echo tr("Date of last modification"); ?>" |
569 | title="<?php echo tr("Date of last modification"); ?>" |
| 527 | ><?php echo gmdate('Ym.d', $modi); ?></span> |
570 | ><?php echo gmdate('Ym.d', $modi); ?></span> |
| 528 | </div> |
571 | </div> |
| 529 | <div class="elbo" lang="<?php echo $language; ?>"> |
572 | <div class="elbo" lang="<?php echo $language; ?>"> |
| - | 573 | <span class="text"><abbr |
|
| 530 | <span class="text"><abbr title="<?php echo tr('Library Computer Access and Retrieval System'); ?>"><?php echo tr('LCARS'); ?></abbr> PE-22A</span> |
574 | title="<?php echo tr('Library Computer Access and Retrieval System'); ?>" |
| - | 575 | ><?php echo tr('LCARS'); ?></abbr> PE-22A</span> |
|
| 531 | <div class="concave"> </div> |
576 | <div class="concave"> </div> |
| 532 | </div> |
577 | </div> |
| 533 | <div class="border"> |
578 | <div class="border"> |
| 534 | <div class="left"> </div> |
579 | <div class="left"> </div> |
| 535 | <div class="right"> </div> |
580 | <div class="right"> </div> |
| 536 | </div> |
581 | </div> |
| 537 | </div> |
582 | </div> |
| 538 | <div class="lower"> |
583 | <div class="lower"> |
| 539 | <div class="elbo"> |
584 | <div class="elbo"> |
| 540 | <div class="concave"> </div> |
585 | <div class="concave"> </div> |
| 541 | </div> |
586 | </div> |
| 542 | <div class="bg"> </div> |
587 | <div class="bg"> </div> |
| 543 | <div class="border-container"> |
588 | <div class="border-container"> |
| 544 | <div class="border"> |
589 | <div class="border"> |
| 545 | <div class="left"> </div> |
590 | <div class="left"> </div> |
| 546 | <div class="right"> </div> |
591 | <div class="right"> </div> |
| 547 | </div> |
- | |
| 548 | </div> |
- | |
| 549 | </div> |
592 | </div> |
| 550 | </div> |
593 | </div> |
| 551 | </div> |
594 | </div> |
| - | 595 | </div> |
|
| - | 596 | </div> |
|