Rev 183 | 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 |
151 | PointedEar | 19 | $description = tr("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!"); |
56 | PointedEar | 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" |
165 | PointedEar | 27 | content="<?php /* 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, <?php /* Song, Songbook, Surf, anonymously, */?>Raumschiff Enterprise, DNG, Die nächste Generation, VFP, Föderation, Vereinte Föderation der Planeten, Datenbasis, Datenbank<?php /*, 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–<?php echo gmdate('Y', $modi); ?> Thomas Lahn."> |
||
55 | <meta name="dcterms.rights" |
||
151 | PointedEar | 56 | content="<?php echo tr("All rights reserved."); ?> <?php echo tr("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"> --> |
||
166 | PointedEar | 61 | <!-- No optimization here: Resource Builder does not handle URI parameters --> |
56 | PointedEar | 62 | */ ?> |
138 | PointedEar | 63 | <link rel="stylesheet" type="text/css" href="styles/lcars-basic"> |
128 | PointedEar | 64 | <?php |
138 | PointedEar | 65 | $isLocal = ($_SERVER['HTTP_HOST'] === 'localhost'); |
56 | PointedEar | 66 | $printable = (isset($_GET['printable']) && $_GET['printable'] === '1'); |
67 | if (!$printable) |
||
68 | { |
||
128 | PointedEar | 69 | ?> |
138 | PointedEar | 70 | <link rel="stylesheet" type="text/css" href="styles/lcars22<?php |
56 | PointedEar | 71 | if (isset($_GET['ani']) && $_GET['ani'] !== '') |
72 | { |
||
73 | echo '?ani=' . $_GET['ani']; |
||
74 | } |
||
75 | ?>"> |
||
76 | <?php |
||
77 | } |
||
78 | ?> |
||
170 | PointedEar | 79 | <!--[if lt IE 7]> |
80 | <link rel="stylesheet" type="text/css" href="styles/lcars22-ie6.css"> |
||
81 | <![endif]--> |
||
39 | PointedEar | 82 | <style type="text/css"> |
83 | <!-- |
||
84 | p { |
||
85 | max-width: 100%; |
||
86 | } |
||
87 | --> |
||
88 | </style> |
||
89 | |||
183 | PointedEar | 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 |
130 | PointedEar | 91 | if ($isLocal) |
92 | { |
||
93 | ?>&verbose=1&debug=1<?php |
||
94 | } |
||
95 | ?>"></script> |
||
39 | PointedEar | 96 | <script type="text/javascript"> |
56 | PointedEar | 97 | <?php |
39 | PointedEar | 98 | /* |
99 | var ms1Day = 60*60*24*1000; // ms for 1 days = 60sec*60min*24hours*1000ms |
||
100 | var msLeaveDays = ms1Day*6; |
||
101 | var ms30Days=ms1Day*30; |
||
102 | var delta; |
||
103 | var newTime=new Date(); |
||
104 | var msTime=newTime.getTime(); |
||
105 | var msExpire=msTime+ms30Days; |
||
106 | var expireTime=new Date(msExpire); |
||
107 | |||
108 | cookieVal= |
||
109 | "savedTime=" + newTime.toGMTString() |
||
110 | + "; expires=" + expireTime.toGMTString() |
||
111 | + "; domain=anybody" |
||
112 | + "; path=/"; |
||
113 | document.cookie= cookieVal; |
||
114 | */ |
||
56 | PointedEar | 115 | ?> |
183 | PointedEar | 116 | var TEXT_NOT_AVAILABLE = "<?php echo tr('N/A'); ?>"; |
117 | |||
115 | PointedEar | 118 | function body_load () |
119 | { |
||
120 | if (typeof this.ontouchstart != 'undefined') |
||
121 | { |
||
122 | this.ontouchstart = function () {}; |
||
123 | } |
||
124 | |||
125 | if (fullscreen.isSupportedBy(document.documentElement)) |
||
126 | { |
||
127 | var fullscreenLI = jsx.dom.getElementById("cmd3"); |
||
128 | fullscreenLI.firstChild.style.cursor = ""; |
||
129 | } |
||
181 | PointedEar | 130 | |
183 | PointedEar | 131 | jsx.dom.geolocation.setTexts({ |
132 | TEXT_LATITUDE: "<?php echo tr('Latitude'); ?>", |
||
133 | TEXT_NORTH_ABBR: "<?php echo tr('N'); ?>", |
||
134 | TEXT_SOUTH_ABBR: "<?php echo tr('S'); ?>", |
||
135 | TEXT_LONGITUDE: "<?php echo tr('Longitude'); ?>", |
||
136 | TEXT_WEST_ABBR: "<?php echo tr('W'); ?>", |
||
137 | TEXT_EAST_ABBR: "<?php echo tr('E'); ?>", |
||
138 | TEXT_LAT_LNG_ACCURACY: "<?php echo tr('Lat/Lng Accuracy'); ?>", |
||
139 | TEXT_ALTITUDE: "<?php echo tr('Altitude'); ?>", |
||
140 | TEXT_ALT_ACCURACY: "<?php echo tr('Alt. Accuracy'); ?>", |
||
141 | TEXT_SPEED: "<?php echo tr('Speed'); ?>", |
||
142 | TEXT_HEADING: "<?php echo tr('Heading'); ?>", |
||
143 | TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE |
||
144 | }); |
||
145 | |||
146 | lcars.multiDisplay = new lcars.MultiDisplay(null, null, { |
||
147 | texts: { |
||
148 | TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE, |
||
149 | TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>", |
||
150 | TEXT_ACCURACY: "<?php echo tr('accuracy'); ?>" |
||
151 | } |
||
152 | }); |
||
115 | PointedEar | 153 | } |
39 | PointedEar | 154 | </script> |
56 | PointedEar | 155 | <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?> |
39 | PointedEar | 156 | </head> |
115 | PointedEar | 157 | <body class="fade-in" onload="body_load()"> |
39 | PointedEar | 158 | <div id="content"> |
79 | PointedEar | 159 | <h1 style="text-align: center"><img |
39 | PointedEar | 160 | src="media/video/img/vulcan_hand-black-bg.png" |
161 | width="120" |
||
162 | height="168" |
||
151 | PointedEar | 163 | alt="<?php echo tr("Vulcan greeting"); ?>" |
164 | title="<?php echo tr("Vulcan greeting"); ?>" |
||
85 | PointedEar | 165 | style="border: none; cursor: default" |
39 | PointedEar | 166 | onmouseover="return setStatus(this.title)" |
167 | onmouseout="return resetStatus()"><br> |
||
151 | PointedEar | 168 | <?php echo tr("Welcome to PointedEars’ Website"); ?></h1> |
56 | PointedEar | 169 | <?php |
170 | if (!$printable) |
||
171 | { |
||
172 | ?> |
||
79 | PointedEar | 173 | <p class="instruction" style="font-size: 100%; text-align: center"><?php |
56 | PointedEar | 174 | echo sprintf( |
151 | PointedEar | 175 | tr("This site uses recent <a href='https://developer.mozilla.org/en-US/docs/'" |
84 | PointedEar | 176 | . " title='Learn more: Mozilla Developer Network'>Web technologies</a>." |
79 | PointedEar | 177 | . " You can use the <a href='index.%s?printable=1'>%s</a>" |
178 | . " if it is not displayed properly with your software."), |
||
56 | PointedEar | 179 | $language, |
151 | PointedEar | 180 | tr('Printable version')); |
56 | PointedEar | 181 | ?></p> |
182 | <?php |
||
183 | } |
||
184 | |||
185 | /* |
||
39 | PointedEar | 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> |
||
56 | PointedEar | 191 | */ |
166 | PointedEar | 192 | |
56 | PointedEar | 193 | /* |
39 | PointedEar | 194 | | [<abbr title="nur in englischer Sprache verfügbar" |
195 | >en</abbr>] |
||
196 | | <a href="selfhtml.de/" target="_top">SELFHTML.DE</a> |
||
56 | PointedEar | 197 | */ |
198 | /* |
||
39 | PointedEar | 199 | | <a href="lyrics/" target="_top">Songbook</a> |
43 | PointedEar | 200 | | </p> |
56 | PointedEar | 201 | */ |
202 | /* |
||
39 | PointedEar | 203 | <p><a href="about/worm.de.html" target="_top" |
204 | >Seltsame E-Mails bekommen?</a></p> |
||
56 | PointedEar | 205 | */ |
206 | /* |
||
39 | PointedEar | 207 | <noscript> |
208 | <a |
||
209 | href="http://pointedears.de/" |
||
210 | title="PointedEars' Website" |
||
211 | >Diese Website zu Ihren Lesezeichen hinzufügen</a> |
||
212 | </noscript> |
||
56 | PointedEar | 213 | |
39 | PointedEar | 214 | <!-- Klicken Sie hier, falls Sie nach 5 Sekunden nicht automatisch |
215 | weitergeleitet werden. --> |
||
56 | PointedEar | 216 | */ |
217 | ?> |
||
218 | <?php |
||
105 | PointedEar | 219 | $app = "Welcome/$language"; |
220 | require_once 'footer.phtml'; |
||
56 | PointedEar | 221 | /* embed src="media/interface/speech/de/warten.wav" width="0" height="0" |
222 | hidden="true" autostart="true" dir="ltr" lang="de" */ |
||
223 | ?> |
||
39 | PointedEar | 224 | </div> |
225 | <div id="LCARS"> |
||
56 | PointedEar | 226 | <?php /* |
39 | PointedEar | 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> |
||
56 | PointedEar | 277 | */ ?> |
39 | PointedEar | 278 | <div id="bow"> |
279 | <div id="bow-top"> |
||
280 | <div class="separator-left"> </div> |
||
91 | PointedEar | 281 | <div class="text"><span>PointedEars’ Website</span></div> |
39 | PointedEar | 282 | </div> |
283 | <div id="bow-top-left"> |
||
284 | <div class="concave"> </div> |
||
109 | PointedEar | 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> |
||
39 | PointedEar | 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> |
||
166 | PointedEar | 295 | |
43 | PointedEar | 296 | <div class="menu-container"> |
88 | PointedEar | 297 | <nav class="menu"> |
175 | PointedEar | 298 | <ul> |
56 | PointedEar | 299 | <?php foreach ($languages as $key => $name): ?> |
74 | PointedEar | 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> |
||
56 | PointedEar | 303 | <?php endforeach; ?> |
304 | </ul> |
||
175 | PointedEar | 305 | <div class="bow" style="margin-bottom: 0.4em; height: 0.4em"> </div> |
56 | PointedEar | 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> |
||
71 | PointedEar | 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> |
||
56 | PointedEar | 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"> |
||
113 | PointedEar | 314 | <li><a href="psf/" target="_top" |
315 | class="button ancillary" |
||
151 | PointedEar | 316 | ><abbr title="<?php echo tr("PointedEars' Standard Frases"); ?>" |
113 | PointedEar | 317 | class="text">psf</abbr></a></li> |
318 | <li><a href="<?php echo $menu['series']['path']; ?>" target="_top" class="button ancillary" |
||
153 | PointedEar | 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> |
||
56 | PointedEar | 321 | <li><a href="<?php echo $menu['ufpdb']['path']; ?>" target="_top" class="button database" |
79 | PointedEar | 322 | ><abbr title="<?php echo $menu['ufpdb']['title']; ?>" |
323 | class="text"><?php echo $menu['ufpdb']['text']; ?></abbr></a></li> |
||
56 | PointedEar | 324 | </ul> |
325 | <div style="position: relative; margin-bottom: 1.2em"> |
||
175 | PointedEar | 326 | <div class="bow" style="height: 0.8em"> </div> |
56 | PointedEar | 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" |
||
151 | PointedEar | 331 | title="<?php echo tr("The world’s largest climate forecasting experiment for the 21st century"); ?>" |
56 | PointedEar | 332 | ><span class="text">climateprediction.net</span></a></li> |
160 | PointedEar | 333 | <li><a href="http://fah-web2.stanford.edu/cgi-bin/main.py?qtype=userpage&username=Thomas_Lahn" |
56 | PointedEar | 334 | target="_top" class="button secondary" |
151 | PointedEar | 335 | title="<?php echo tr("Distributed computing to understand protein folding, protein aggregation, and related diseases"); ?>" |
56 | PointedEar | 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" |
||
151 | PointedEar | 339 | title="<?php echo tr("Particle physics research with the Large Hadron Collider at CERN"); ?>" |
56 | PointedEar | 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" |
||
151 | PointedEar | 343 | title="<?php echo tr("The Search for Extra-Terrestrial Intelligence at HOME"); ?>" |
56 | PointedEar | 344 | ><span class="text">SETI at home</span></a></li> |
159 | PointedEar | 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> |
||
153 | PointedEar | 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> |
||
167 | PointedEar | 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> |
||
56 | PointedEar | 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"; |
||
166 | PointedEar | 368 | |
56 | PointedEar | 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"' |
||
79 | PointedEar | 381 | + ' onmouseover="return setStatus(sFavAnchorTitle)"' |
382 | + ' onmouseout="return resetStatus()"' |
||
56 | PointedEar | 383 | + '><span class="text">Favorit<\/span><\/a>'); |
384 | } |
||
385 | </script> |
||
386 | */ ?> |
||
88 | PointedEar | 387 | </nav> |
39 | PointedEar | 388 | </div> |
56 | PointedEar | 389 | </div> |
390 | <div id="connectors"> |
||
119 | PointedEar | 391 | <div class="bow top left"> </div> |
392 | <div class="bow top right"> </div> |
||
166 | PointedEar | 393 | |
119 | PointedEar | 394 | <div class="bow mid left"> </div> |
395 | <div class="bow mid right"> </div> |
||
56 | PointedEar | 396 | </div> |
397 | <div class="multi-display"> |
||
39 | PointedEar | 398 | <div class="upper"> |
74 | PointedEar | 399 | <div class="content"> |
178 | PointedEar | 400 | <div class="title" id="title"><span>Home</span></div> |
183 | PointedEar | 401 | <div class="analysis" id="analysis"> |
118 | PointedEar | 402 | <table> |
403 | <tr> |
||
151 | PointedEar | 404 | <th><?php echo tr('Display'); ?>:</th> |
118 | PointedEar | 405 | <td><script type="text/javascript"> |
158 | PointedEar | 406 | var _addEventListener = jsx.dom.addEventListener; |
407 | var _runAsync = jsx.dom.timeout.runAsync; |
||
146 | PointedEar | 408 | var ID_SCREEN_DIM = 'screenDim'; |
409 | var ID_AVAIL_DIM = 'availDim'; |
||
410 | var ID_INNER_DIM = 'innerDim'; |
||
166 | PointedEar | 411 | |
146 | PointedEar | 412 | var dim = (function () { |
130 | PointedEar | 413 | var screenInfo = jsx.dom.window.screenInfo; |
146 | PointedEar | 414 | |
415 | return { |
||
121 | PointedEar | 416 | getScreenText: function () { |
417 | var screenDim = screenInfo.getDim(); |
||
418 | return screenDim.width + "×" + screenDim.height; |
||
419 | }, |
||
166 | PointedEar | 420 | |
121 | PointedEar | 421 | getAvailText: function () { |
422 | var availDim = screenInfo.getAvailDim(); |
||
151 | PointedEar | 423 | return availDim.width + "×" + availDim.height + " <?php echo tr('available'); ?>"; |
121 | PointedEar | 424 | }, |
166 | PointedEar | 425 | |
121 | PointedEar | 426 | getInnerText: function () { |
427 | var innerDim = screenInfo.getInnerDim(); |
||
151 | PointedEar | 428 | return ", " + innerDim.width + "×" + innerDim.height + " <?php echo tr('used'); ?>"; |
121 | PointedEar | 429 | }, |
166 | PointedEar | 430 | |
121 | PointedEar | 431 | getColorDepthText: function () { |
432 | var colorDepth = screenInfo.getColorDepth(); |
||
433 | return colorDepth |
||
151 | PointedEar | 434 | ? '2<sup>' + colorDepth + "<\/sup> <?php echo tr('colors'); ?>" |
121 | PointedEar | 435 | : ""; |
436 | } |
||
437 | }; |
||
146 | PointedEar | 438 | }()); |
166 | PointedEar | 439 | |
146 | PointedEar | 440 | (function () { |
121 | PointedEar | 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) |
||
151 | PointedEar | 446 | ? (screenDimText ? '<span id="' + ID_SCREEN_DIM + '">' + screenDimText + '<\/span> <?php echo tr('pixels'); ?>' : "") |
146 | PointedEar | 447 | + (availDimText ? ' (<span id="' + ID_AVAIL_DIM + '">' + availDimText + "<\/span>" : "") |
448 | + (innerDimText ? '<span id="' + ID_INNER_DIM + '">' + innerDimText + "<\/span>)" : "") |
||
121 | PointedEar | 449 | + (colorDepthText ? ' × <span id="colorDepth">' + colorDepthText + "<\/span>" : "") |
158 | PointedEar | 450 | : TEXT_NOT_AVAILABLE; |
166 | PointedEar | 451 | |
133 | PointedEar | 452 | /* FIXME: Convert HTML to text, update whole title text */ |
118 | PointedEar | 453 | document.write('<span>' + displayInfo + '<\/span>'); |
121 | PointedEar | 454 | |
455 | var oColorDepth; |
||
158 | PointedEar | 456 | var tColor = _runAsync(function () { |
121 | PointedEar | 457 | if (typeof oColorDepth == "undefined") |
458 | { |
||
459 | oColorDepth = document.getElementById("colorDepth"); |
||
460 | } |
||
166 | PointedEar | 461 | |
121 | PointedEar | 462 | if (oColorDepth) |
463 | { |
||
145 | PointedEar | 464 | var colorDepthText = dim.getColorDepthText(); |
158 | PointedEar | 465 | <?php /* FIXME: Also update title attribute value */ ?> |
145 | PointedEar | 466 | if (oColorDepth.innerHTML != colorDepthText) |
467 | { |
||
468 | oColorDepth.innerHTML = colorDepthText; |
||
469 | } |
||
121 | PointedEar | 470 | } |
130 | PointedEar | 471 | |
158 | PointedEar | 472 | tColor = this.run(); |
121 | PointedEar | 473 | }, 1000); |
158 | PointedEar | 474 | |
475 | _addEventListener(document, "unload", function () { |
||
476 | tColor.unset(); |
||
477 | tColor = null; |
||
478 | }); |
||
118 | PointedEar | 479 | }()); |
151 | PointedEar | 480 | </script><noscript><?php echo tr('N/A'); ?></noscript></td> |
118 | PointedEar | 481 | </tr> |
482 | <tr> |
||
151 | PointedEar | 483 | <th><?php echo tr('User Agent'); ?>:</th> |
118 | PointedEar | 484 | <td><script type="text/javascript"> |
485 | (function () { |
||
486 | var ua = navigator.userAgent; |
||
487 | document.write('<span id="ua" title="' + ua + '">' + ua + '<\/span>'); |
||
121 | PointedEar | 488 | |
489 | var oUA; |
||
158 | PointedEar | 490 | var tUA = _runAsync(function () { |
121 | PointedEar | 491 | if (typeof oUA == "undefined") |
492 | { |
||
493 | oUA = document.getElementById("ua"); |
||
494 | } |
||
166 | PointedEar | 495 | |
121 | PointedEar | 496 | if (oUA) |
497 | { |
||
145 | PointedEar | 498 | var ua = navigator.userAgent; |
121 | PointedEar | 499 | |
145 | PointedEar | 500 | if (oUA.innerHTML != ua) |
501 | { |
||
502 | oUA.innerHTML = ua; |
||
503 | } |
||
504 | |||
158 | PointedEar | 505 | <?php /* Converts CREs */ ?> |
145 | PointedEar | 506 | var oUAhtml = oUA.innerHTML |
507 | if (oUA.title != oUAhtml) |
||
508 | { |
||
509 | oUA.title = oUAhtml; |
||
510 | } |
||
121 | PointedEar | 511 | } |
130 | PointedEar | 512 | |
158 | PointedEar | 513 | tUA = this.run(); |
118 | PointedEar | 514 | }, 1000); |
158 | PointedEar | 515 | |
516 | _addEventListener(document, "unload", function () { |
||
517 | tUA.unset(); |
||
518 | tUA = null; |
||
519 | }); |
||
118 | PointedEar | 520 | }()); |
151 | PointedEar | 521 | </script><noscript><?php echo tr('N/A'); ?></noscript></td> |
118 | PointedEar | 522 | </tr> |
523 | <tr> |
||
151 | PointedEar | 524 | <th><?php echo tr('Features'); ?>:</th> |
133 | PointedEar | 525 | <td><script type="text/javascript"> |
145 | PointedEar | 526 | var fullscreen = jsx.dom.window.fullscreen; |
158 | PointedEar | 527 | |
145 | PointedEar | 528 | (function () { |
529 | function getFeatures () |
||
530 | { |
||
531 | var features = []; |
||
532 | if (typeof document.cookie != "undefined") |
||
533 | { |
||
151 | PointedEar | 534 | var cookiesText = "<?php echo tr('Cookies'); ?>" |
145 | PointedEar | 535 | if (navigator.cookieEnabled) |
95 | PointedEar | 536 | { |
145 | PointedEar | 537 | if (document.cookie) |
118 | PointedEar | 538 | { |
158 | PointedEar | 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>'); |
||
118 | PointedEar | 545 | } |
145 | PointedEar | 546 | else |
118 | PointedEar | 547 | { |
145 | PointedEar | 548 | features.push('<span class="unavailable"' |
151 | PointedEar | 549 | + ' title="<?php echo tr('Cookies supported, but no data for this site'); ?>"' |
150 | PointedEar | 550 | + '>' + cookiesText + '<\/span>'); |
118 | PointedEar | 551 | } |
145 | PointedEar | 552 | } |
553 | else |
||
554 | { |
||
150 | PointedEar | 555 | features.push('<span class="offline"' |
151 | PointedEar | 556 | + ' title="<?php echo tr('Cookies supported, but disabled'); ?>"' |
150 | PointedEar | 557 | + '>' + cookiesText + '<\/span>'); |
145 | PointedEar | 558 | } |
559 | } |
||
560 | |||
561 | if (fullscreen.isSupportedBy(document.documentElement)) |
||
562 | { |
||
151 | PointedEar | 563 | features.push("<?php echo tr('Fullscreen'); ?>"); |
145 | PointedEar | 564 | } |
166 | PointedEar | 565 | |
145 | PointedEar | 566 | if (navigator.webkitGetGamepads && navigator.webkitGetGamepads().length) |
567 | { |
||
151 | PointedEar | 568 | features.push("<?php echo tr('Gamepad'); ?>"); |
145 | PointedEar | 569 | } |
166 | PointedEar | 570 | |
145 | PointedEar | 571 | if (navigator.geolocation) |
572 | { |
||
158 | PointedEar | 573 | features.push('<a href="#" title="<?php echo tr('Get location'); ?>"' |
181 | PointedEar | 574 | + ' onclick="return lcars.multiDisplay.geolocate(\'<?php echo tr('Geolocation'); ?>\', \'<?php echo $language; ?>\')"' |
158 | PointedEar | 575 | + '><?php echo tr('Geolocation'); ?><\/a>'); |
145 | PointedEar | 576 | } |
577 | |||
578 | if (typeof navigator.javaEnabled != "undefined" && navigator.javaEnabled()) |
||
579 | { |
||
580 | features.push("Java"); |
||
581 | } |
||
166 | PointedEar | 582 | |
145 | PointedEar | 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) |
||
95 | PointedEar | 589 | { |
145 | PointedEar | 590 | features.push('<span title="' |
591 | + navigator.plugins.length |
||
151 | PointedEar | 592 | + ' <?php echo tr('plugins installed'); ?>">Plugins<\/span>'); |
95 | PointedEar | 593 | } |
145 | PointedEar | 594 | else |
118 | PointedEar | 595 | { |
150 | PointedEar | 596 | features.push('<span class="unavailable"' |
151 | PointedEar | 597 | + ' title="<?php echo tr('Plugins supported, but none detected'); ?>"' |
150 | PointedEar | 598 | + '>Plugins<\/span>'); |
118 | PointedEar | 599 | } |
76 | PointedEar | 600 | } |
145 | PointedEar | 601 | |
602 | if (storage.sessionStorage.isSupported()) |
||
603 | { |
||
604 | features.push("Session Storage"); |
||
605 | } |
||
606 | |||
118 | PointedEar | 607 | if (typeof window.ontouchstart != "undefined") features.push("Touch"); |
608 | return features.join(" • "); |
||
76 | PointedEar | 609 | } |
145 | PointedEar | 610 | |
611 | function stripTags (s) |
||
612 | { |
||
158 | PointedEar | 613 | return s.replace(/<[^>]+>/g, ""); |
145 | PointedEar | 614 | } |
166 | PointedEar | 615 | |
118 | PointedEar | 616 | var sFeatures = getFeatures(); |
158 | PointedEar | 617 | document.write('<span id="features" title="' + stripTags(sFeatures) + '">' + sFeatures + '<\/span>'); |
118 | PointedEar | 618 | |
121 | PointedEar | 619 | var oFeatures; |
145 | PointedEar | 620 | var oFeaturesHtml; |
158 | PointedEar | 621 | var tFeatures = _runAsync(function () { |
121 | PointedEar | 622 | if (typeof oFeatures == "undefined") |
623 | { |
||
624 | oFeatures = document.getElementById("features"); |
||
625 | } |
||
626 | |||
627 | if (oFeatures) |
||
628 | { |
||
145 | PointedEar | 629 | var sNewFeatures = getFeatures(); |
121 | PointedEar | 630 | |
145 | PointedEar | 631 | if (!oFeaturesHtml) |
632 | { |
||
633 | oFeaturesHtml = document.createElement("span"); |
||
634 | } |
||
166 | PointedEar | 635 | |
145 | PointedEar | 636 | if (oFeaturesHtml) |
637 | { |
||
638 | oFeaturesHtml.innerHTML = sNewFeatures; |
||
639 | sNewFeatures = oFeaturesHtml.innerHTML; |
||
640 | } |
||
166 | PointedEar | 641 | |
145 | PointedEar | 642 | if (oFeatures.innerHTML != sNewFeatures) |
643 | { |
||
644 | oFeatures.innerHTML = sNewFeatures; |
||
645 | } |
||
646 | |||
133 | PointedEar | 647 | /* Converts CREs */ |
145 | PointedEar | 648 | var newTitle = stripTags(oFeatures.innerHTML) |
649 | if (oFeatures.title != newTitle) |
||
650 | { |
||
651 | oFeatures.title = newTitle; |
||
652 | } |
||
121 | PointedEar | 653 | } |
131 | PointedEar | 654 | |
655 | tFeatures = this.run(); |
||
118 | PointedEar | 656 | }, 1000); |
657 | }()); |
||
145 | PointedEar | 658 | |
158 | PointedEar | 659 | _addEventListener(document, "unload", function () { |
660 | tFeatures.unset(); |
||
661 | tFeatures = null; |
||
662 | }); |
||
663 | |||
151 | PointedEar | 664 | var windowText = "<?php echo tr("Window"); ?>"; |
665 | </script><noscript><?php echo tr('N/A'); ?></noscript></td> |
||
118 | PointedEar | 666 | </tr> |
667 | </table> |
||
668 | </div> |
||
92 | PointedEar | 669 | <ul class="commands"> |
97 | PointedEar | 670 | <li id="cmd1"><a href="index.php" |
92 | PointedEar | 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" |
||
151 | PointedEar | 680 | title="<?php echo tr('Printable version'); ?>" |
92 | PointedEar | 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()" |
||
151 | PointedEar | 687 | ><span class="text"><?php echo tr("Printable"); ?></span></a></li> |
92 | PointedEar | 688 | <li id="cmd3"><div class="button left right" |
115 | PointedEar | 689 | style="cursor: not-allowed !important" |
146 | PointedEar | 690 | onclick="fullscreen.requestOn(document.documentElement, this)" |
121 | PointedEar | 691 | onkeyup="if (event.keyCode == 13) { this.onclick(); }" |
92 | PointedEar | 692 | ><span class="text"><script type="text/javascript"> |
146 | PointedEar | 693 | var cmd3; |
95 | PointedEar | 694 | if (fullscreen.isSupportedBy(document.documentElement)) |
92 | PointedEar | 695 | { |
158 | PointedEar | 696 | _addEventListener(window, "load", function () { |
146 | PointedEar | 697 | if (typeof cmd3 == "undefined") |
698 | { |
||
699 | cmd3 = jsx.dom.getElementById("cmd3"); |
||
700 | } |
||
166 | PointedEar | 701 | |
146 | PointedEar | 702 | if (cmd3) |
703 | { |
||
704 | cmd3.firstChild.tabIndex = "1"; |
||
705 | } |
||
706 | }); |
||
147 | PointedEar | 707 | |
151 | PointedEar | 708 | var fullscreenText = "<?php echo tr("Fullscreen"); ?>"; |
147 | PointedEar | 709 | document.write(fullscreenText); |
146 | PointedEar | 710 | } |
166 | PointedEar | 711 | |
146 | PointedEar | 712 | var oScreenDim; |
713 | var oAvailDim; |
||
714 | var oInnerDim; |
||
715 | var _gEBI = jsx.dom.getElementById; |
||
716 | var previousIsFullscreen; |
||
717 | var oldHandler; |
||
166 | PointedEar | 718 | |
158 | PointedEar | 719 | _addEventListener(window, "resize", function () { |
720 | <?php /* FIXME: Also update title attribute value */ ?> |
||
146 | PointedEar | 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(); |
||
166 | PointedEar | 729 | |
146 | PointedEar | 730 | if (fullscreen.isSupportedBy(document.documentElement)) |
731 | { |
||
95 | PointedEar | 732 | var nowIsFullscreen = fullscreen.isFullscreen(); |
733 | if (nowIsFullscreen != previousIsFullscreen) |
||
734 | { |
||
146 | PointedEar | 735 | if (typeof cmd3 == "undefined") |
736 | { |
||
737 | cmd3 = document.getElementById("cmd3"); |
||
738 | } |
||
166 | PointedEar | 739 | |
95 | PointedEar | 740 | var target = cmd3.firstChild; |
741 | var textTarget = target.firstChild; |
||
742 | if (nowIsFullscreen) |
||
743 | { |
||
744 | oldHandler = target.onclick; |
||
146 | PointedEar | 745 | target.onclick = function () { |
746 | fullscreen.cancel(); |
||
747 | }; |
||
151 | PointedEar | 748 | textTarget.textContent = "<?php echo tr("Window"); ?>"; |
95 | PointedEar | 749 | } |
750 | else |
||
751 | { |
||
146 | PointedEar | 752 | target.onclick = oldHandler; |
147 | PointedEar | 753 | textTarget.textContent = fullscreenText; |
95 | PointedEar | 754 | } |
166 | PointedEar | 755 | |
95 | PointedEar | 756 | previousIsFullscreen = nowIsFullscreen; |
757 | } |
||
146 | PointedEar | 758 | } |
759 | }); |
||
92 | PointedEar | 760 | </script></span></div></li> |
761 | <li id="cmd4"><div class="button left right" style="cursor: not-allowed !important"> </div></li> |
||
762 | </ul> |
||
72 | PointedEar | 763 | </div> |
74 | PointedEar | 764 | <div class="elbo-button"> |
151 | PointedEar | 765 | <span class="text" title="<?php echo tr("Date of last modification"); ?>" |
107 | PointedEar | 766 | ><?php echo gmdate('Ym.d', $modi); ?></span> |
74 | PointedEar | 767 | </div> |
39 | PointedEar | 768 | <div class="elbo"> |
126 | PointedEar | 769 | <span class="text"><abbr title="Library Computer Access and Retrieval System">LCARS</abbr> PE-22A</span> |
39 | PointedEar | 770 | <div class="concave"> </div> |
771 | </div> |
||
79 | PointedEar | 772 | <div class="border"> |
773 | <div class="left"> </div> |
||
774 | <div class="right"> </div> |
||
775 | </div> |
||
39 | PointedEar | 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"> |
||
79 | PointedEar | 783 | <div class="border"> |
784 | <div class="left"> </div> |
||
785 | <div class="right"> </div> |
||
786 | </div> |
||
39 | PointedEar | 787 | </div> |
788 | </div> |
||
789 | </div> |
||
790 | </div> |
||
791 | </body> |
||
158 | PointedEar | 792 | </html> |