Rev 74 | Rev 79 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 74 | Rev 76 | ||
---|---|---|---|
Line 138... | Line 138... | ||
138 | if (!$printable) |
138 | if (!$printable) |
139 | {
|
139 | {
|
140 | ?>
|
140 | ?>
|
141 | <p style="text-align: center"><?php
|
141 | <p style="text-align: center"><?php
|
142 | echo sprintf( |
142 | echo sprintf( |
143 | _("If this site is not displayed properly, please try <a href='index.%s?printable=1'>%s</a>."), |
143 | _("If this site is not displayed properly, please try the <a href='index.%s?printable=1'>%s</a>."), |
144 | $language, |
144 | $language, |
145 | _('the printable version')); |
145 | _('Printable version')); |
146 | ?></p>
|
146 | ?></p>
|
147 | <?php
|
147 | <?php
|
148 | }
|
148 | }
|
149 | 149 | ||
150 | /*
|
150 | /*
|
Line 317... | Line 317... | ||
317 | <li><a href="http://setiathome.berkeley.edu/show_user.php?userid=378921" |
317 | <li><a href="http://setiathome.berkeley.edu/show_user.php?userid=378921" |
318 | target="_top" class="button secondary" |
318 | target="_top" class="button secondary" |
319 | title="<?php echo _("The Search for Extra-Terrestrial Intelligence at HOME"); ?>" |
319 | title="<?php echo _("The Search for Extra-Terrestrial Intelligence at HOME"); ?>" |
320 | ><span class="text">SETI at home</span></a></li> |
320 | ><span class="text">SETI at home</span></a></li> |
321 | </ul> |
321 | </ul> |
322 | <?php /* |
- | |
323 | <script type="text/javascript" src="scripts/builder?src=object"></script>
|
322 | <script type="text/javascript" src="scripts/builder?src=object"></script> |
- | 323 | <?php /* |
|
324 | <script type="text/javascript">
|
324 | <script type="text/javascript">
|
325 | var sURL = location.href;
|
325 | var sURL = location.href;
|
326 | var sFavAnchorTitle =
|
326 | var sFavAnchorTitle =
|
327 | "Klicken Sie hier, um PointedEars' Website Ihren Favoriten"
|
327 | "Klicken Sie hier, um PointedEars' Website Ihren Favoriten"
|
328 | + " hinzuzufügen";
|
328 | + " hinzuzufügen";
|
Line 372... | Line 372... | ||
372 | title="<?php echo _('Printable version'); ?>" |
372 | title="<?php echo _('Printable version'); ?>" |
373 | tabindex="1" |
373 | tabindex="1" |
374 | class="button left right" id="cmd2" |
374 | class="button left right" id="cmd2" |
375 | ><span class="text"><?php echo _("Printable"); ?></span></a> |
375 | ><span class="text"><?php echo _("Printable"); ?></span></a> |
376 | <div id="cmd3" class="button left right" style="cursor: not-allowed"> </div> |
376 | <div id="cmd3" class="button left right" style="cursor: not-allowed"> </div> |
- | 377 | <script type="text/javascript"> |
|
- | 378 | var fullScreen = (function () { |
|
- | 379 | var _isHostMethod = jsx.object.isHostMethod; |
|
- | 380 | ||
- | 381 | return { |
|
- | 382 | isSupportedBy: function (elem) { |
|
- | 383 | var prefixes = ["", "mozR", "webkitR"]; |
|
- | 384 | var suffix = "equestFullscreen"; |
|
- | 385 | ||
- | 386 | for (var i = 0, len = prefixes.length; i < len; ++i) |
|
- | 387 | { |
|
- | 388 | var prefix = prefixes[i]; |
|
- | 389 | ||
- | 390 | if (_isHostMethod(elem, prefix + suffix)) |
|
- | 391 | { |
|
- | 392 | return prefix + suffix; |
|
- | 393 | } |
|
- | 394 | } |
|
- | 395 | ||
- | 396 | return false; |
|
- | 397 | }, |
|
- | 398 | ||
- | 399 | isEnabled: function () { |
|
- | 400 | return document.fullscreenEnabled || document.mozFullscreenEnabled || document.webkitFullscreenEnabled; |
|
- | 401 | }, |
|
- | 402 | ||
- | 403 | cancel: function (target, oldHandler, textTarget) { |
|
- | 404 | var prefixes = ["", "mozC", "webkitC"]; |
|
- | 405 | var suffix = "ancelFullScreen"; |
|
- | 406 | ||
- | 407 | for (var i = 0, len = prefixes.length; i < len; ++i) |
|
- | 408 | { |
|
- | 409 | var prefix = prefixes[i]; |
|
- | 410 | ||
- | 411 | if (_isHostMethod(document, prefix + suffix)) |
|
- | 412 | { |
|
- | 413 | document[prefix + suffix](); |
|
- | 414 | ||
- | 415 | /* NOTE: ...FullscreenEnabled not reliable after cancel */ |
|
- | 416 | if (textTarget) |
|
- | 417 | { |
|
- | 418 | textTarget.textContent = "<?php echo _("Full Screen"); ?>"; |
|
- | 419 | } |
|
- | 420 | ||
- | 421 | if (target) |
|
- | 422 | { |
|
- | 423 | target.onclick = oldHandler; |
|
- | 424 | } |
|
- | 425 | } |
|
- | 426 | } |
|
- | 427 | }, |
|
- | 428 | ||
- | 429 | requestOn: function (elem, eventTarget, textTarget) { |
|
- | 430 | var requestMethodName; |
|
- | 431 | ||
- | 432 | if (elem && (requestMethodName = this.isSupportedBy(elem))) |
|
- | 433 | { |
|
- | 434 | elem[requestMethodName](); |
|
- | 435 | if (textTarget && this.isEnabled()) |
|
- | 436 | { |
|
- | 437 | var oldText = textTarget.textContent; |
|
- | 438 | var me = this; |
|
- | 439 | var oldHandler = eventTarget.onclick; |
|
- | 440 | eventTarget.onclick = function () { |
|
- | 441 | me.cancel(this, oldHandler, textTarget); |
|
- | 442 | }; |
|
- | 443 | textTarget.textContent = "<?php echo _("Window"); ?>"; |
|
- | 444 | } |
|
- | 445 | } |
|
- | 446 | } |
|
- | 447 | }; |
|
- | 448 | }()); |
|
- | 449 | </script> |
|
377 | <div id="cmd4" class="button left right" style="cursor: not-allowed"> </div> |
450 | <div id="cmd4" class="button left right" |
- | 451 | onclick="fullScreen.requestOn(document.documentElement, this, this.firstChild)" |
|
- | 452 | tabindex="1" |
|
- | 453 | ><span class="text"><script type="text/javascript"> |
|
- | 454 | if (fullScreen.isSupportedBy(document.documentElement)) |
|
- | 455 | { |
|
- | 456 | document.write("<?php echo _("Full Screen"); ?>"); |
|
- | 457 | } |
|
- | 458 | </script></span></div> |
|
378 | </div> |
459 | </div> |
379 | <div class="elbo-button"> |
460 | <div class="elbo-button"> |
380 | <span class="text"><?php echo gmdate('Ym.d', $modi); ?></span> |
461 | <span class="text"><?php echo gmdate('Ym.d', $modi); ?></span> |
381 | </div> |
462 | </div> |
382 | <div class="elbo"> |
463 | <div class="elbo"> |