Rev 183 | Rev 227 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 183 | Rev 210 | ||
|---|---|---|---|
| Line 85... | Line 85... | ||
| 85 | max-width: 100%; |
85 | max-width: 100%; |
| 86 | } |
86 | } |
| 87 | --> |
87 | --> |
| 88 | </style> |
88 | </style> |
| 89 | 89 | ||
| 90 | <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/storage,dom/events,dom/geolocation,dom/timeout,dom/widgets,dom/window,http,lcars<?php
|
90 | <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/storage,dom/events,dom/geolocation,dom/timeout,dom/widgets,dom/window,dom/xpath,http,regexp,lcars,../application/scripts/vulcan-media-script<?php
|
| 91 | if ($isLocal) |
91 | if ($isLocal) |
| 92 | {
|
92 | {
|
| 93 | ?>&verbose=1&debug=1<?php |
93 | ?>&verbose=1&debug=1<?php |
| 94 | }
|
94 | }
|
| 95 | ?>"></script>
|
95 | ?>"></script>
|
| Line 141... | Line 141... | ||
| 141 | TEXT_SPEED: "<?php echo tr('Speed'); ?>", |
141 | TEXT_SPEED: "<?php echo tr('Speed'); ?>", |
| 142 | TEXT_HEADING: "<?php echo tr('Heading'); ?>", |
142 | TEXT_HEADING: "<?php echo tr('Heading'); ?>", |
| 143 | TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE |
143 | TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE |
| 144 | }); |
144 | }); |
| 145 | 145 | ||
| - | 146 | lcars.content = new lcars.Content(null, null, {
|
|
| - | 147 | texts: {
|
|
| - | 148 | TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>" |
|
| - | 149 | } |
|
| - | 150 | }); |
|
| - | 151 | ||
| 146 | lcars.multiDisplay = new lcars.MultiDisplay(null, null, {
|
152 | lcars.multiDisplay = new lcars.MultiDisplay(null, null, {
|
| 147 | texts: {
|
153 | texts: {
|
| 148 | TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE, |
154 | TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE, |
| 149 | TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>", |
155 | TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>", |
| 150 | TEXT_ACCURACY: "<?php echo tr('accuracy'); ?>" |
156 | TEXT_ACCURACY: "<?php echo tr('accuracy'); ?>" |
| 151 | } |
157 | }, |
| - | 158 | content: lcars.content |
|
| 152 | }); |
159 | }); |
| - | 160 | ||
| - | 161 | var cmd4 = document.getElementById("cmd4");
|
|
| - | 162 | if (cmd4 && cmd4.lastChild && typeof cmd4.lastChild.onclick == "function") |
|
| - | 163 | {
|
|
| - | 164 | jsx.dom.timeout.runAsync(function () { cmd4.lastChild.onclick(); }, 1000);
|
|
| - | 165 | } |
|
| 153 | } |
166 | } |
| 154 | </script> |
167 | </script> |
| 155 | <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?> |
168 | <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?> |
| 156 | </head> |
169 | </head> |
| 157 | <body class="fade-in" onload="body_load()"> |
170 | <body class="fade-in" onload="body_load()"> |
| 158 | <div id="content"> |
- | |
| 159 | <h1 style="text-align: center"><img |
- | |
| 160 | src="media/video/img/vulcan_hand-black-bg.png" |
- | |
| 161 | width="120" |
- | |
| 162 | height="168" |
- | |
| 163 | alt="<?php echo tr("Vulcan greeting"); ?>" |
- | |
| 164 | title="<?php echo tr("Vulcan greeting"); ?>" |
- | |
| 165 | style="border: none; cursor: default" |
- | |
| 166 | onmouseover="return setStatus(this.title)" |
- | |
| 167 | onmouseout="return resetStatus()"><br> |
- | |
| 168 | <?php echo tr("Welcome to PointedEars’ Website"); ?></h1> |
- | |
| 169 | <?php
|
- | |
| 170 | if (!$printable) |
- | |
| 171 | {
|
- | |
| 172 | ?>
|
- | |
| 173 | <p class="instruction" style="font-size: 100%; text-align: center"><?php
|
- | |
| 174 | echo sprintf( |
- | |
| 175 | tr("This site uses recent <a href='https://developer.mozilla.org/en-US/docs/'" |
- | |
| 176 | . " title='Learn more: Mozilla Developer Network'>Web technologies</a>." |
- | |
| 177 | . " You can use the <a href='index.%s?printable=1'>%s</a>" |
- | |
| 178 | . " if it is not displayed properly with your software."), |
- | |
| 179 | $language, |
- | |
| 180 | tr('Printable version')); |
- | |
| 181 | ?></p>
|
- | |
| 182 | <?php
|
- | |
| 183 | }
|
- | |
| 184 | - | ||
| 185 | /*
|
- | |
| 186 | <p>
|
- | |
| 187 | | <a href="leisure/" target="_top"
|
- | |
| 188 | >Freizeit-Datenbank</a>
|
- | |
| 189 | | <a href="mozilla/" target="_top">Mozilla</a>
|
- | |
| 190 | | <a href="poetry/" target="_top">Poesie</a>
|
- | |
| 191 | */
|
- | |
| 192 | - | ||
| 193 | /*
|
- | |
| 194 | | [<abbr title="nur in englischer Sprache verfügbar"
|
- | |
| 195 | >en</abbr>]
|
- | |
| 196 | | <a href="selfhtml.de/" target="_top">SELFHTML.DE</a>
|
- | |
| 197 | */
|
- | |
| 198 | /*
|
- | |
| 199 | | <a href="lyrics/" target="_top">Songbook</a>
|
- | |
| 200 | | </p>
|
- | |
| 201 | */
|
- | |
| 202 | /*
|
- | |
| 203 | <p><a href="about/worm.de.html" target="_top"
|
- | |
| 204 | >Seltsame E-Mails bekommen?</a></p>
|
- | |
| 205 | */
|
- | |
| 206 | /*
|
- | |
| 207 | <noscript>
|
- | |
| 208 | <a
|
- | |
| 209 | href="http://pointedears.de/"
|
- | |
| 210 | title="PointedEars' Website"
|
- | |
| 211 | >Diese Website zu Ihren Lesezeichen hinzufügen</a>
|
- | |
| 212 | </noscript>
|
- | |
| 213 | - | ||
| 214 | <!-- Klicken Sie hier, falls Sie nach 5 Sekunden nicht automatisch
|
- | |
| 215 | weitergeleitet werden. -->
|
- | |
| 216 | */
|
- | |
| 217 | ?>
|
- | |
| 218 | <?php
|
- | |
| 219 | $app = "Welcome/$language"; |
- | |
| 220 | require_once 'footer.phtml'; |
171 | <?php require_once 'content.phtml'; ?> |
| 221 | /* embed src="media/interface/speech/de/warten.wav" width="0" height="0"
|
- | |
| 222 | hidden="true" autostart="true" dir="ltr" lang="de" */
|
- | |
| 223 | ?>
|
- | |
| 224 | </div> |
- | |
| 225 | <div id="LCARS"> |
- | |
| 226 | <?php /* |
- | |
| 227 | <div id="button-grid" style="position: absolute; opacity: 0.3">
|
- | |
| 228 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
- | |
| 229 | - | ||
| 230 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
- | |
| 231 | <a class="button" style="display: block; 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 | - | ||
| 235 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
- | |
| 236 | <a class="button" style="display: block; 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 | - | ||
| 240 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
- | |
| 241 | <a class="button" style="display: block; 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 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 249 | - | ||
| 250 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
- | |
| 251 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 252 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 253 | <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 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 260 | - | ||
| 261 | <a class="button" style="display: block; clear: left; 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 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 264 | - | ||
| 265 | <a class="button" style="display: block; clear: left; 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 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 268 | - | ||
| 269 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
- | |
| 270 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 271 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 272 | - | ||
| 273 | <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
|
- | |
| 274 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 275 | <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
|
- | |
| 276 | </div>
|
- | |
| 277 | */ ?> |
- | |
| 278 | <div id="bow"> |
- | |
| 279 | <div id="bow-top"> |
- | |
| 280 | <div class="separator-left"> </div> |
- | |
| 281 | <div class="text"><span>PointedEars’ Website</span></div> |
- | |
| 282 | </div> |
- | |
| 283 | <div id="bow-top-left"> |
- | |
| 284 | <div class="concave"> </div> |
- | |
| 285 | <div style="position: absolute; top: 3.2em; left: 0; background-color: black"> |
- | |
| 286 | <div class="bow" style="margin-top: 0.2em; width: 8em; height: 1em"> </div> |
- | |
| 287 | </div> |
- | |
| 288 | </div> |
- | |
| 289 | <div id="bottom"> |
- | |
| 290 | <div id="bow-bottom"> |
- | |
| 291 | <div class="concave"> </div> |
- | |
| 292 | <div class="spacer"> </div> |
- | |
| 293 | </div> |
- | |
| 294 | </div> |
- | |
| 295 | - | ||
| 296 | <div class="menu-container"> |
- | |
| 297 | <nav class="menu"> |
- | |
| 298 | <ul> |
- | |
| 299 | <?php foreach ($languages as $key => $name): ?> |
- | |
| 300 | <li><a href="index.<?php echo $key; ?>?ani=0" |
- | |
| 301 | class="button<?php if ($language === $key) { ?> selected<?php } ?>" |
- | |
| 302 | tabindex="2"><span class="text"><?php echo $name; ?></span></a></li> |
- | |
| 303 | <?php endforeach; ?> |
- | |
| 304 | </ul> |
- | |
| 305 | <div class="bow" style="margin-bottom: 0.4em; height: 0.4em"> </div> |
- | |
| 306 | <ul style="margin-bottom: 1.2em"> |
- | |
| 307 | <li><a href="<?php echo $menu['scripts']['path']; ?>" target="_top" class="button"><span class="text"><?php echo $menu['scripts']['text']; ?></span></a></li> |
- | |
| 308 | <li><a href="<?php echo $menu['es-matrix']['path']; ?>" target="_top" class="button" |
- | |
| 309 | title="<?php echo $menu['es-matrix']['title']; ?>" |
- | |
| 310 | ><span class="text"><?php echo $menu['es-matrix']['text']; ?></span></a></li> |
- | |
| 311 | <li><a href="<?php echo $menu['devel']['path']; ?>" target="_top" class="button"><span class="text"><?php echo $menu['devel']['text']; ?></span></a></li> |
- | |
| 312 | </ul> |
- | |
| 313 | <ul style="margin-bottom: 0.2em"> |
- | |
| 314 | <li><a href="psf/" target="_top" |
- | |
| 315 | class="button ancillary" |
- | |
| 316 | ><abbr title="<?php echo tr("PointedEars' Standard Frases"); ?>" |
- | |
| 317 | class="text">psf</abbr></a></li> |
- | |
| 318 | <li><a href="<?php echo $menu['series']['path']; ?>" target="_top" class="button ancillary" |
- | |
| 319 | title="<?php echo tr('List of recommended TV shows and episodes, with logos in CSS'); ?>" |
- | |
| 320 | ><span class="text"><?php echo $menu['series']['text']; ?></span></a></li> |
- | |
| 321 | <li><a href="<?php echo $menu['ufpdb']['path']; ?>" target="_top" class="button database" |
- | |
| 322 | ><abbr title="<?php echo $menu['ufpdb']['title']; ?>" |
- | |
| 323 | class="text"><?php echo $menu['ufpdb']['text']; ?></abbr></a></li> |
- | |
| 324 | </ul> |
- | |
| 325 | <div style="position: relative; margin-bottom: 1.2em"> |
- | |
| 326 | <div class="bow" style="height: 0.8em"> </div> |
- | |
| 327 | </div> |
- | |
| 328 | <ul> |
- | |
| 329 | <li><a href="http://climateapps2.oerc.ox.ac.uk/cpdnboinc/show_user.php?userid=648544" |
- | |
| 330 | target="_top" class="button secondary" |
- | |
| 331 | title="<?php echo tr("The world’s largest climate forecasting experiment for the 21st century"); ?>" |
- | |
| 332 | ><span class="text">climateprediction.net</span></a></li> |
- | |
| 333 | <li><a href="http://fah-web2.stanford.edu/cgi-bin/main.py?qtype=userpage&username=Thomas_Lahn" |
- | |
| 334 | target="_top" class="button secondary" |
- | |
| 335 | title="<?php echo tr("Distributed computing to understand protein folding, protein aggregation, and related diseases"); ?>" |
- | |
| 336 | ><span class="text">Folding at home</span></a></li> |
- | |
| 337 | <li><a href="http://lhcathomeclassic.cern.ch/sixtrack/show_user.php?userid=221181" |
- | |
| 338 | target="_top" class="button secondary" |
- | |
| 339 | title="<?php echo tr("Particle physics research with the Large Hadron Collider at CERN"); ?>" |
- | |
| 340 | ><span class="text">LHC at home</span></a></li> |
- | |
| 341 | <li><a href="http://setiathome.berkeley.edu/show_user.php?userid=378921" |
- | |
| 342 | target="_top" class="button secondary" |
- | |
| 343 | title="<?php echo tr("The Search for Extra-Terrestrial Intelligence at HOME"); ?>" |
- | |
| 344 | ><span class="text">SETI at home</span></a></li> |
- | |
| 345 | <li><a href="http://stackoverflow.com/users/855543/pointedears" |
- | |
| 346 | target="_top" class="button secondary" |
- | |
| 347 | title="<?php echo tr("Me on Stack Overflow"); ?>" |
- | |
| 348 | ><span class="text">Stack Overflow</span></a></li> |
- | |
| 349 | <li><a href="https://twitter.com/PointedEars2" |
- | |
| 350 | target="_top" class="button secondary" |
- | |
| 351 | title="<?php echo tr("Me on Twitter"); ?>" |
- | |
| 352 | ><span class="text">Twitter</span></a></li> |
- | |
| 353 | <li><a href="<?php echo tr("http://en.wikipedia.org/wiki/Special:Contributions/PointedEars"); ?>" |
- | |
| 354 | target="_top" class="button secondary" |
- | |
| 355 | title="<?php echo tr("My contributions to Wikipedia"); ?>" |
- | |
| 356 | ><span class="text">Wikipedia</span></a></li> |
- | |
| 357 | </ul> |
- | |
| 358 | <?php /* |
- | |
| 359 | <script type="text/javascript">
|
- | |
| 360 | var sURL = location.href;
|
- | |
| 361 | var sFavAnchorTitle =
|
- | |
| 362 | "Klicken Sie hier, um PointedEars' Website Ihren Favoriten"
|
- | |
| 363 | + " hinzuzufĂĽgen";
|
- | |
| 364 | var sOtherAnchorTitle =
|
- | |
| 365 | "Klicken Sie hier mit der rechten Maustaste, um PointedEars' Website"
|
- | |
| 366 | + " Ihren Lesezeichen hinzuzufĂĽgen";
|
- | |
| 367 | var sFavoriteTitle = "PointedEars' Website";
|
- | |
| 368 | - | ||
| 369 | if (jsx.object.isHostMethod(jsx.global.window, "external", "AddFavorite"))
|
- | |
| 370 | {
|
- | |
| 371 | document.write(
|
- | |
| 372 | '<div style="position: relative; margin-top: 1em; border-bottom: 0.2em solid transparent">'
|
- | |
| 373 | + ' <div class="bow" style="width: 8em; height: 1em"> <\/div>'
|
- | |
| 374 | + ' <div class="bow" style="position: absolute; top: 0; left: 8.2em; width: 2em; height: 1em"> <\/div>'
|
- | |
| 375 | + '</div>'
|
- | |
| 376 | + '<a href="javascript:window.external.AddFavorite('
|
- | |
| 377 | + ' sURL, sFavoriteTitle);" title="' + sFavAnchorTitle + '"'
|
- | |
| 378 | + ' class="button"'
|
- | |
| 379 | + ' onclick="window.external.AddFavorite('
|
- | |
| 380 | + ' sURL, sFavoriteTitle); return false"'
|
- | |
| 381 | + ' onmouseover="return setStatus(sFavAnchorTitle)"'
|
- | |
| 382 | + ' onmouseout="return resetStatus()"'
|
- | |
| 383 | + '><span class="text">Favorit<\/span><\/a>');
|
- | |
| 384 | }
|
- | |
| 385 | </script>
|
- | |
| 386 | */ ?> |
- | |
| 387 | </nav> |
- | |
| 388 | </div> |
- | |
| 389 | </div> |
- | |
| 390 | <div id="connectors"> |
- | |
| 391 | <div class="bow top left"> </div> |
- | |
| 392 | <div class="bow top right"> </div> |
- | |
| 393 | - | ||
| 394 | <div class="bow mid left"> </div> |
- | |
| 395 | <div class="bow mid right"> </div> |
- | |
| 396 | </div> |
- | |
| 397 | <div class="multi-display"> |
172 | <?php require_once 'multi-display.phtml'; ?> |
| 398 | <div class="upper"> |
- | |
| 399 | <div class="content"> |
- | |
| 400 | <div class="title" id="title"><span>Home</span></div> |
- | |
| 401 | <div class="analysis" id="analysis"> |
- | |
| 402 | <table> |
- | |
| 403 | <tr> |
- | |
| 404 | <th><?php echo tr('Display'); ?>:</th> |
- | |
| 405 | <td><script type="text/javascript"> |
- | |
| 406 | var _addEventListener = jsx.dom.addEventListener; |
- | |
| 407 | var _runAsync = jsx.dom.timeout.runAsync; |
- | |
| 408 | var ID_SCREEN_DIM = 'screenDim'; |
- | |
| 409 | var ID_AVAIL_DIM = 'availDim'; |
- | |
| 410 | var ID_INNER_DIM = 'innerDim'; |
- | |
| 411 | - | ||
| 412 | var dim = (function () {
|
- | |
| 413 | var screenInfo = jsx.dom.window.screenInfo; |
- | |
| 414 | - | ||
| 415 | return {
|
- | |
| 416 | getScreenText: function () {
|
- | |
| 417 | var screenDim = screenInfo.getDim(); |
- | |
| 418 | return screenDim.width + "Ă—" + screenDim.height; |
- | |
| 419 | }, |
- | |
| 420 | - | ||
| 421 | getAvailText: function () {
|
- | |
| 422 | var availDim = screenInfo.getAvailDim(); |
- | |
| 423 | return availDim.width + "Ă—" + availDim.height + " <?php echo tr('available'); ?>"; |
- | |
| 424 | }, |
- | |
| 425 | - | ||
| 426 | getInnerText: function () {
|
- | |
| 427 | var innerDim = screenInfo.getInnerDim(); |
- | |
| 428 | return ", " + innerDim.width + "Ă—" + innerDim.height + " <?php echo tr('used'); ?>"; |
- | |
| 429 | }, |
- | |
| 430 | - | ||
| 431 | getColorDepthText: function () {
|
- | |
| 432 | var colorDepth = screenInfo.getColorDepth(); |
- | |
| 433 | return colorDepth |
- | |
| 434 | ? '2<sup>' + colorDepth + "<\/sup> <?php echo tr('colors'); ?>" |
- | |
| 435 | : ""; |
- | |
| 436 | } |
- | |
| 437 | }; |
- | |
| 438 | }()); |
- | |
| 439 | - | ||
| 440 | (function () {
|
- | |
| 441 | var screenDimText = dim.getScreenText(); |
- | |
| 442 | var availDimText = dim.getAvailText(); |
- | |
| 443 | var innerDimText = dim.getInnerText(); |
- | |
| 444 | var colorDepthText = dim.getColorDepthText(); |
- | |
| 445 | var displayInfo = (screenDimText || availDimText || innerDimText || colorDepthText) |
- | |
| 446 | ? (screenDimText ? '<span id="' + ID_SCREEN_DIM + '">' + screenDimText + '<\/span> <?php echo tr('pixels'); ?>' : "") |
- | |
| 447 | + (availDimText ? ' (<span id="' + ID_AVAIL_DIM + '">' + availDimText + "<\/span>" : "") |
- | |
| 448 | + (innerDimText ? '<span id="' + ID_INNER_DIM + '">' + innerDimText + "<\/span>)" : "") |
- | |
| 449 | + (colorDepthText ? ' Ă— <span id="colorDepth">' + colorDepthText + "<\/span>" : "") |
- | |
| 450 | : TEXT_NOT_AVAILABLE; |
- | |
| 451 | - | ||
| 452 | /* FIXME: Convert HTML to text, update whole title text */ |
- | |
| 453 | document.write('<span>' + displayInfo + '<\/span>');
|
- | |
| 454 | - | ||
| 455 | var oColorDepth; |
- | |
| 456 | var tColor = _runAsync(function () {
|
- | |
| 457 | if (typeof oColorDepth == "undefined") |
- | |
| 458 | {
|
- | |
| 459 | oColorDepth = document.getElementById("colorDepth");
|
- | |
| 460 | } |
- | |
| 461 | - | ||
| 462 | if (oColorDepth) |
- | |
| 463 | {
|
- | |
| 464 | var colorDepthText = dim.getColorDepthText(); |
- | |
| 465 | <?php /* FIXME: Also update title attribute value */ ?> |
- | |
| 466 | if (oColorDepth.innerHTML != colorDepthText) |
- | |
| 467 | {
|
- | |
| 468 | oColorDepth.innerHTML = colorDepthText; |
- | |
| 469 | } |
- | |
| 470 | } |
- | |
| 471 | - | ||
| 472 | tColor = this.run(); |
- | |
| 473 | }, 1000); |
- | |
| 474 | - | ||
| 475 | _addEventListener(document, "unload", function () {
|
- | |
| 476 | tColor.unset(); |
- | |
| 477 | tColor = null; |
- | |
| 478 | }); |
- | |
| 479 | }()); |
- | |
| 480 | </script><noscript><?php echo tr('N/A'); ?></noscript></td> |
- | |
| 481 | </tr> |
- | |
| 482 | <tr> |
- | |
| 483 | <th><?php echo tr('User Agent'); ?>:</th> |
- | |
| 484 | <td><script type="text/javascript"> |
- | |
| 485 | (function () {
|
- | |
| 486 | var ua = navigator.userAgent; |
- | |
| 487 | document.write('<span id="ua" title="' + ua + '">' + ua + '<\/span>');
|
- | |
| 488 | - | ||
| 489 | var oUA; |
- | |
| 490 | var tUA = _runAsync(function () {
|
- | |
| 491 | if (typeof oUA == "undefined") |
- | |
| 492 | {
|
- | |
| 493 | oUA = document.getElementById("ua");
|
- | |
| 494 | } |
- | |
| 495 | - | ||
| 496 | if (oUA) |
- | |
| 497 | {
|
- | |
| 498 | var ua = navigator.userAgent; |
- | |
| 499 | - | ||
| 500 | if (oUA.innerHTML != ua) |
- | |
| 501 | {
|
- | |
| 502 | oUA.innerHTML = ua; |
- | |
| 503 | } |
- | |
| 504 | - | ||
| 505 | <?php /* Converts CREs */ ?> |
- | |
| 506 | var oUAhtml = oUA.innerHTML |
- | |
| 507 | if (oUA.title != oUAhtml) |
- | |
| 508 | {
|
- | |
| 509 | oUA.title = oUAhtml; |
- | |
| 510 | } |
- | |
| 511 | } |
- | |
| 512 | - | ||
| 513 | tUA = this.run(); |
- | |
| 514 | }, 1000); |
- | |
| 515 | - | ||
| 516 | _addEventListener(document, "unload", function () {
|
- | |
| 517 | tUA.unset(); |
- | |
| 518 | tUA = null; |
- | |
| 519 | }); |
- | |
| 520 | }()); |
- | |
| 521 | </script><noscript><?php echo tr('N/A'); ?></noscript></td> |
- | |
| 522 | </tr> |
- | |
| 523 | <tr> |
- | |
| 524 | <th><?php echo tr('Features'); ?>:</th> |
- | |
| 525 | <td><script type="text/javascript"> |
- | |
| 526 | var fullscreen = jsx.dom.window.fullscreen; |
- | |
| 527 | - | ||
| 528 | (function () {
|
- | |
| 529 | function getFeatures () |
- | |
| 530 | {
|
- | |
| 531 | var features = []; |
- | |
| 532 | if (typeof document.cookie != "undefined") |
- | |
| 533 | {
|
- | |
| 534 | var cookiesText = "<?php echo tr('Cookies'); ?>" |
- | |
| 535 | if (navigator.cookieEnabled) |
- | |
| 536 | {
|
- | |
| 537 | if (document.cookie) |
- | |
| 538 | {
|
- | |
| 539 | var cookies = document.cookie; |
- | |
| 540 | cookies = cookies.split(/\s*;\s*/); |
- | |
| 541 | features.push('<a href="#" title="'
|
- | |
| 542 | + cookies.join(" ")
|
- | |
| 543 | + '"' |
- | |
| 544 | + ' onclick="window.alert(\'<?php echo tr('Cookies for'); ?> ' + document.domain + '\\n\\n' + cookies.join("\\n") + '\'); return false">' + cookiesText + '<\/a>'); |
- | |
| 545 | } |
- | |
| 546 | else |
- | |
| 547 | {
|
- | |
| 548 | features.push('<span class="unavailable"'
|
- | |
| 549 | + ' title="<?php echo tr('Cookies supported, but no data for this site'); ?>"' |
- | |
| 550 | + '>' + cookiesText + '<\/span>'); |
- | |
| 551 | } |
- | |
| 552 | } |
- | |
| 553 | else |
- | |
| 554 | {
|
- | |
| 555 | features.push('<span class="offline"'
|
- | |
| 556 | + ' title="<?php echo tr('Cookies supported, but disabled'); ?>"' |
- | |
| 557 | + '>' + cookiesText + '<\/span>'); |
- | |
| 558 | } |
- | |
| 559 | } |
- | |
| 560 | - | ||
| 561 | if (fullscreen.isSupportedBy(document.documentElement)) |
- | |
| 562 | {
|
- | |
| 563 | features.push("<?php echo tr('Fullscreen'); ?>");
|
- | |
| 564 | } |
- | |
| 565 | - | ||
| 566 | if (navigator.webkitGetGamepads && navigator.webkitGetGamepads().length) |
- | |
| 567 | {
|
- | |
| 568 | features.push("<?php echo tr('Gamepad'); ?>");
|
- | |
| 569 | } |
- | |
| 570 | - | ||
| 571 | if (navigator.geolocation) |
- | |
| 572 | {
|
- | |
| 573 | features.push('<a href="#" title="<?php echo tr('Get location'); ?>"'
|
- | |
| 574 | + ' onclick="return lcars.multiDisplay.geolocate(\'<?php echo tr('Geolocation'); ?>\', \'<?php echo $language; ?>\')"' |
- | |
| 575 | + '><?php echo tr('Geolocation'); ?><\/a>'); |
- | |
| 576 | } |
- | |
| 577 | - | ||
| 578 | if (typeof navigator.javaEnabled != "undefined" && navigator.javaEnabled()) |
- | |
| 579 | {
|
- | |
| 580 | features.push("Java");
|
- | |
| 581 | } |
- | |
| 582 | - | ||
| 583 | var storage = jsx.dom.storage; |
- | |
| 584 | if (storage.localStorage.isSupported()) features.push("Local Storage");
|
- | |
| 585 | - | ||
| 586 | if (navigator.plugins) |
- | |
| 587 | {
|
- | |
| 588 | if (navigator.plugins.length > 0) |
- | |
| 589 | {
|
- | |
| 590 | features.push('<span title="'
|
- | |
| 591 | + navigator.plugins.length |
- | |
| 592 | + ' <?php echo tr('plugins installed'); ?>">Plugins<\/span>'); |
- | |
| 593 | } |
- | |
| 594 | else |
- | |
| 595 | {
|
- | |
| 596 | features.push('<span class="unavailable"'
|
- | |
| 597 | + ' title="<?php echo tr('Plugins supported, but none detected'); ?>"' |
- | |
| 598 | + '>Plugins<\/span>'); |
- | |
| 599 | } |
- | |
| 600 | } |
- | |
| 601 | - | ||
| 602 | if (storage.sessionStorage.isSupported()) |
- | |
| 603 | {
|
- | |
| 604 | features.push("Session Storage");
|
- | |
| 605 | } |
- | |
| 606 | - | ||
| 607 | if (typeof window.ontouchstart != "undefined") features.push("Touch");
|
- | |
| 608 | return features.join(" • ");
|
- | |
| 609 | } |
- | |
| 610 | - | ||
| 611 | function stripTags (s) |
- | |
| 612 | {
|
- | |
| 613 | return s.replace(/<[^>]+>/g, ""); |
- | |
| 614 | } |
- | |
| 615 | - | ||
| 616 | var sFeatures = getFeatures(); |
- | |
| 617 | document.write('<span id="features" title="' + stripTags(sFeatures) + '">' + sFeatures + '<\/span>');
|
- | |
| 618 | - | ||
| 619 | var oFeatures; |
- | |
| 620 | var oFeaturesHtml; |
- | |
| 621 | var tFeatures = _runAsync(function () {
|
- | |
| 622 | if (typeof oFeatures == "undefined") |
- | |
| 623 | {
|
- | |
| 624 | oFeatures = document.getElementById("features");
|
- | |
| 625 | } |
- | |
| 626 | - | ||
| 627 | if (oFeatures) |
- | |
| 628 | {
|
- | |
| 629 | var sNewFeatures = getFeatures(); |
- | |
| 630 | - | ||
| 631 | if (!oFeaturesHtml) |
- | |
| 632 | {
|
- | |
| 633 | oFeaturesHtml = document.createElement("span");
|
- | |
| 634 | } |
- | |
| 635 | - | ||
| 636 | if (oFeaturesHtml) |
- | |
| 637 | {
|
- | |
| 638 | oFeaturesHtml.innerHTML = sNewFeatures; |
- | |
| 639 | sNewFeatures = oFeaturesHtml.innerHTML; |
- | |
| 640 | } |
- | |
| 641 | - | ||
| 642 | if (oFeatures.innerHTML != sNewFeatures) |
- | |
| 643 | {
|
- | |
| 644 | oFeatures.innerHTML = sNewFeatures; |
- | |
| 645 | } |
- | |
| 646 | - | ||
| 647 | /* Converts CREs */ |
- | |
| 648 | var newTitle = stripTags(oFeatures.innerHTML) |
- | |
| 649 | if (oFeatures.title != newTitle) |
- | |
| 650 | {
|
- | |
| 651 | oFeatures.title = newTitle; |
- | |
| 652 | } |
- | |
| 653 | } |
- | |
| 654 | - | ||
| 655 | tFeatures = this.run(); |
- | |
| 656 | }, 1000); |
- | |
| 657 | }()); |
- | |
| 658 | - | ||
| 659 | _addEventListener(document, "unload", function () {
|
- | |
| 660 | tFeatures.unset(); |
- | |
| 661 | tFeatures = null; |
- | |
| 662 | }); |
- | |
| 663 | - | ||
| 664 | var windowText = "<?php echo tr("Window"); ?>"; |
- | |
| 665 | </script><noscript><?php echo tr('N/A'); ?></noscript></td> |
- | |
| 666 | </tr> |
- | |
| 667 | </table> |
- | |
| 668 | </div> |
- | |
| 669 | <ul class="commands"> |
- | |
| 670 | <li id="cmd1"><a href="index.php" |
- | |
| 671 | title="Language selection" |
- | |
| 672 | tabindex="1" |
- | |
| 673 | class="button left right" |
- | |
| 674 | onmouseover="return setStatus(this.title + ': ' + this.href)" |
- | |
| 675 | onmouseout="return resetStatus()" |
- | |
| 676 | onfocus="return this.onmouseover()" |
- | |
| 677 | onblur="return this.onmouseout()" |
- | |
| 678 | ><abbr class="text" title="Language selection">Language</abbr></a></li> |
- | |
| 679 | <li id="cmd2"><a href="index.<?php echo $language; ?>?printable=1" |
- | |
| 680 | title="<?php echo tr('Printable version'); ?>" |
- | |
| 681 | tabindex="1" |
- | |
| 682 | class="button left right" |
- | |
| 683 | onmouseover="return setStatus(this.title + ': ' + this.href)" |
- | |
| 684 | onmouseout="return resetStatus()" |
- | |
| 685 | onfocus="return this.onmouseover()" |
- | |
| 686 | onblur="return this.onmouseout()" |
- | |
| 687 | ><span class="text"><?php echo tr("Printable"); ?></span></a></li> |
- | |
| 688 | <li id="cmd3"><div class="button left right" |
- | |
| 689 | style="cursor: not-allowed !important" |
- | |
| 690 | onclick="fullscreen.requestOn(document.documentElement, this)" |
- | |
| 691 | onkeyup="if (event.keyCode == 13) { this.onclick(); }"
|
- | |
| 692 | ><span class="text"><script type="text/javascript"> |
- | |
| 693 | var cmd3; |
- | |
| 694 | if (fullscreen.isSupportedBy(document.documentElement)) |
- | |
| 695 | {
|
- | |
| 696 | _addEventListener(window, "load", function () {
|
- | |
| 697 | if (typeof cmd3 == "undefined") |
- | |
| 698 | {
|
- | |
| 699 | cmd3 = jsx.dom.getElementById("cmd3");
|
- | |
| 700 | } |
- | |
| 701 | - | ||
| 702 | if (cmd3) |
- | |
| 703 | {
|
- | |
| 704 | cmd3.firstChild.tabIndex = "1"; |
- | |
| 705 | } |
- | |
| 706 | }); |
- | |
| 707 | - | ||
| 708 | var fullscreenText = "<?php echo tr("Fullscreen"); ?>"; |
- | |
| 709 | document.write(fullscreenText); |
- | |
| 710 | } |
- | |
| 711 | - | ||
| 712 | var oScreenDim; |
- | |
| 713 | var oAvailDim; |
- | |
| 714 | var oInnerDim; |
- | |
| 715 | var _gEBI = jsx.dom.getElementById; |
- | |
| 716 | var previousIsFullscreen; |
- | |
| 717 | var oldHandler; |
- | |
| 718 | - | ||
| 719 | _addEventListener(window, "resize", function () {
|
- | |
| 720 | <?php /* FIXME: Also update title attribute value */ ?> |
- | |
| 721 | if (typeof oScreenDim == "undefined") oScreenDim = _gEBI(ID_SCREEN_DIM); |
- | |
| 722 | if (oScreenDim) oScreenDim.innerHTML = dim.getScreenText(); |
- | |
| 723 | - | ||
| 724 | if (typeof oAvailDim == "undefined") oAvailDim = _gEBI(ID_AVAIL_DIM); |
- | |
| 725 | if (oAvailDim) oAvailDim.innerHTML = dim.getAvailText(); |
- | |
| 726 | - | ||
| 727 | if (typeof oInnerDim == "undefined") oInnerDim = _gEBI(ID_INNER_DIM); |
- | |
| 728 | if (oInnerDim) oInnerDim.innerHTML = dim.getInnerText(); |
- | |
| 729 | - | ||
| 730 | if (fullscreen.isSupportedBy(document.documentElement)) |
- | |
| 731 | {
|
- | |
| 732 | var nowIsFullscreen = fullscreen.isFullscreen(); |
- | |
| 733 | if (nowIsFullscreen != previousIsFullscreen) |
- | |
| 734 | {
|
- | |
| 735 | if (typeof cmd3 == "undefined") |
- | |
| 736 | {
|
- | |
| 737 | cmd3 = document.getElementById("cmd3");
|
- | |
| 738 | } |
- | |
| 739 | - | ||
| 740 | var target = cmd3.firstChild; |
- | |
| 741 | var textTarget = target.firstChild; |
- | |
| 742 | if (nowIsFullscreen) |
- | |
| 743 | {
|
- | |
| 744 | oldHandler = target.onclick; |
- | |
| 745 | target.onclick = function () {
|
- | |
| 746 | fullscreen.cancel(); |
- | |
| 747 | }; |
- | |
| 748 | textTarget.textContent = "<?php echo tr("Window"); ?>"; |
- | |
| 749 | } |
- | |
| 750 | else |
- | |
| 751 | {
|
- | |
| 752 | target.onclick = oldHandler; |
- | |
| 753 | textTarget.textContent = fullscreenText; |
- | |
| 754 | } |
- | |
| 755 | - | ||
| 756 | previousIsFullscreen = nowIsFullscreen; |
- | |
| 757 | } |
- | |
| 758 | } |
- | |
| 759 | }); |
- | |
| 760 | </script></span></div></li> |
- | |
| 761 | <li id="cmd4"><div class="button left right" style="cursor: not-allowed !important"> </div></li> |
- | |
| 762 | </ul> |
- | |
| 763 | </div> |
- | |
| 764 | <div class="elbo-button"> |
- | |
| 765 | <span class="text" title="<?php echo tr("Date of last modification"); ?>" |
- | |
| 766 | ><?php echo gmdate('Ym.d', $modi); ?></span> |
- | |
| 767 | </div> |
- | |
| 768 | <div class="elbo"> |
- | |
| 769 | <span class="text"><abbr title="Library Computer Access and Retrieval System">LCARS</abbr> PE-22A</span> |
- | |
| 770 | <div class="concave"> </div> |
- | |
| 771 | </div> |
- | |
| 772 | <div class="border"> |
- | |
| 773 | <div class="left"> </div> |
- | |
| 774 | <div class="right"> </div> |
- | |
| 775 | </div> |
- | |
| 776 | </div> |
- | |
| 777 | <div class="lower"> |
- | |
| 778 | <div class="elbo"> |
- | |
| 779 | <div class="concave"> </div> |
- | |
| 780 | </div> |
- | |
| 781 | <div class="bg"> </div> |
- | |
| 782 | <div class="border-container"> |
- | |
| 783 | <div class="border"> |
- | |
| 784 | <div class="left"> </div> |
- | |
| 785 | <div class="right"> </div> |
- | |
| 786 | </div> |
- | |
| 787 | </div> |
- | |
| 788 | </div> |
- | |
| 789 | </div> |
- | |
| 790 | </div> |
- | |
| 791 | </body> |
173 | </body> |
| 792 | </html> |
- | |
| 793 | 174 | </html> |
|
| - | 175 | ||