Subversion Repositories LCARS

Rev

Rev 211 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 211 Rev 236
Line 128... Line 128...
128
    </style>
128
    </style>
129
<?php /*
129
<?php /*
130
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/css/color,dom/ani,dom/window"></script>
130
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/css/color,dom/ani,dom/window"></script>
131
*/ ?>
131
*/ ?>
132
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/xpath,dom/window,dom/xpath,regexp"></script>
132
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/xpath,dom/window,dom/xpath,regexp"></script>
133
    <script type="text/javascript" src="application/scripts/vulcan-media-script.js"></script>
-
 
134
    <script type="text/javascript">
133
    <script type="text/javascript">
135
<?php /*
134
<?php /*
136
      /* Hardcore Frame Buster
135
      /* Hardcore Frame Buster
137
      if (parent.frames.length > 0 )
136
      if (parent.frames.length > 0 )
138
        parent.location.href = window.location.href;
137
        parent.location.href = window.location.href;
Line 248... Line 247...
248
      function lcars_translate_reset ()
247
      function lcars_translate_reset ()
249
      {
248
      {
250
        lcars_translate('en');
249
        lcars_translate('en');
251
      }
250
      }
252
251
253
      var LANG_VULCAN = "<?php echo $vulcan; ?>";
-
 
254
-
 
255
      function body_load (body)
252
      function body_load (body)
256
      {
253
      {
257
        if (typeof body.ontouchstart != 'undefined')
254
        if (typeof body.ontouchstart != 'undefined')
258
        {
255
        {
259
          body.ontouchstart = function () {};
256
          body.ontouchstart = function () {};
260
        }
257
        }
261
258
262
        lcars_translate_reset();
259
        lcars_translate_reset();
263
        mediaScript();
-
 
264
      }
-
 
265
-
 
266
      function navigateTo (link)
-
 
267
      {
-
 
268
<?php /*
-
 
269
        animate();
-
 
270
        window.setTimeout(function () {
-
 
271
          window.alert(link);
-
 
272
        }, 1000);
-
 
273
        return false;
-
 
274
*/ ?>
-
 
275
        return true;
-
 
276
      }
260
      }
277
    </script>
261
    </script>
278
  </head>
262
  </head>
279
  <body class="fade-in empty" onload="body_load(this)">
263
  <body class="fade-in empty" onload="body_load(this)">
280
    <div id="LCARS">
264
    <div id="LCARS">
Line 303... Line 287...
303
        border="0"
287
        border="0"
304
        onmouseover="return setStatus(this.title)"
288
        onmouseover="return setStatus(this.title)"
305
        onmouseout="return resetStatus()"></div>
289
        onmouseout="return resetStatus()"></div>
306
290
307
      <ul id="greeting">
291
      <ul id="greeting">
308
        <li style="white-space: nowrap"><p style="text-align: center" lang="<?php echo $vulcan; ?>">Dif-tor heh smusma</p></li>
292
        <li style="white-space: nowrap"><p style="text-align: center" lang="<?php echo $vulcan; ?>"><span class="text">Dif-tor heh smusma</span></p></li>
309
<?php foreach ($languages as $key => $name): ?>
293
<?php foreach ($languages as $key => $name): ?>
310
<?php   if ($key != $vulcan): ?>
294
<?php   if ($key != $vulcan): ?>
311
        <li style="white-space: nowrap"><p style="text-align: center" lang="<?php echo $key; ?>"><?php echo tr('Live long and prosper', $key); ?></p></li>
295
        <li style="white-space: nowrap"><p style="text-align: center" lang="<?php echo $key; ?>"><?php echo tr('Live long and prosper', $key); ?></p></li>
312
<?php   endif; ?>
296
<?php   endif; ?>
313
<?php endforeach; ?>
297
<?php endforeach; ?>
Line 327... Line 311...
327
                 class="button right" lang="<?php echo $key; ?>"
311
                 class="button right" lang="<?php echo $key; ?>"
328
                 hreflang="<?php echo $key; ?>"
312
                 hreflang="<?php echo $key; ?>"
329
                 accesskey="<?php echo strtolower($key[0]); ?>"
313
                 accesskey="<?php echo strtolower($key[0]); ?>"
330
                 onfocus="lcars_translate('<?php echo $key; ?>')"
314
                 onfocus="lcars_translate('<?php echo $key; ?>')"
331
                 onmouseover="lcars_translate('<?php echo $key; ?>')"
315
                 onmouseover="lcars_translate('<?php echo $key; ?>')"
332
                 onclick="return navigateTo(this)"
-
 
333
                 onblur="lcars_translate_reset()"
316
                 onblur="lcars_translate_reset()"
334
                 ><span class="key"><?php echo language_key_short($key); ?></span>
317
                 ><span class="key"><?php echo language_key_short($key); ?></span>
335
                  <span class="text"><?php echo language_name($key); ?></span></a></li>
318
                  <span class="text"><?php echo language_name($key); ?></span></a></li>
336
<?php endforeach; ?>
319
<?php endforeach; ?>
337
        </ul>
320
        </ul>