Subversion Repositories LCARS

Compare Revisions

Last modification

Regard whitespace Rev 210 → Rev 243

/trunk/index.php
110,19 → 110,19
}
 
.group {
width: 9.92em;
width: 13.92em;
}
 
#languages .button {
width: 8.25em;
width: 12.25em;
}
 
#languages .button .key {
min-width: 0.675em;
min-width: 1em;
}
 
#languages .button .text {
max-width: 4.55em;
max-width: 8.55em;
}
-->
</style>
129,7 → 129,8
<?php /*
<script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/css/color,dom/ani,dom/window"></script>
*/ ?>
<script type="text/javascript" src="scripts/builder?src=object,dom,dom/xpath,dom/window,dom/xpath,regexp"></script>
<script type="text/javascript" src="scripts/builder?src=object,dom,dom/events,dom/timeout,dom/xpath,dom/window,dom/xpath,regexp,dom/widgets,lcars"></script>
<script type="text/javascript" src="application/scripts/klingon.js"></script>
<script type="text/javascript" src="application/scripts/vulcan-media-script.js"></script>
<script type="text/javascript">
<?php /*
239,7 → 240,8
(translatable.lang.indexOf(language_prefix) == 0
|| translatable.firstChild.lang == language
|| translatable.firstChild.lang.indexOf("vuh") == 0
|| (translatable.firstChild.lang == "en" && language.indexOf("vuh") == 0))
|| (translatable.firstChild.lang == "en"
&& (language.indexOf("vuh") == 0)))
? ""
: "none";
}
250,6 → 252,7
lcars_translate('en');
}
 
var LANG_KLINGON = "<?php echo $klingon; ?>";
var LANG_VULCAN = "<?php echo $vulcan; ?>";
 
function body_load (body)
260,20 → 263,10
}
 
lcars_translate_reset();
pIqaD();
mediaScript();
lcars.insertSound();
}
 
function navigateTo (link)
{
<?php /*
animate();
window.setTimeout(function () {
window.alert(link);
}, 1000);
return false;
*/ ?>
return true;
}
</script>
</head>
<body class="fade-in empty" onload="body_load(this)">
305,7 → 298,7
onmouseout="return resetStatus()"></div>
 
<ul id="greeting">
<li style="white-space: nowrap"><p style="text-align: center" lang="<?php echo $vulcan; ?>">Dif-tor heh smusma</p></li>
<li style="white-space: nowrap"><p style="text-align: center" lang="<?php echo $vulcan; ?>"><span class="text">Dif-tor heh smusma</span></p></li>
<?php foreach ($languages as $key => $name): ?>
<?php if ($key != $vulcan): ?>
<li style="white-space: nowrap"><p style="text-align: center" lang="<?php echo $key; ?>"><?php echo tr('Live long and prosper', $key); ?></p></li>
321,15 → 314,15
 
<div class="group">
<div class="separator">&nbsp;</div>
<ul id="languages" onmouseout="lcars_translate_reset()">
<ul id="languages"
onmouseout="lcars_translate_reset()">
<?php foreach ($languages as $key => $name): ?>
<li><a href="index.<?php echo language_key_short($key); ?>"
class="button right" lang="<?php echo $key; ?>"
class="button" lang="<?php echo $key; ?>"
hreflang="<?php echo $key; ?>"
accesskey="<?php echo strtolower($key[0]); ?>"
onfocus="lcars_translate('<?php echo $key; ?>')"
onmouseover="lcars_translate('<?php echo $key; ?>')"
onclick="return navigateTo(this)"
onblur="lcars_translate_reset()"
><span class="key"><?php echo language_key_short($key); ?></span>
<span class="text"><?php echo language_name($key); ?></span></a></li>