summaryrefslogtreecommitdiffstats
path: root/packaging/adaptive-index-html/index.html.in
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-09-19 01:13:03 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-09-19 01:13:03 +0000
commit046efff9292446effed9f022efe7f34fc99e924b (patch)
treef67ba0c59bfa687b36daa8e1d9bc394c6533aed4 /packaging/adaptive-index-html/index.html.in
parent73d3cf813083699bf550806f718e301c686ffc8b (diff)
downloadfedora-doc-utils-046efff9292446effed9f022efe7f34fc99e924b.tar.gz
fedora-doc-utils-046efff9292446effed9f022efe7f34fc99e924b.tar.xz
fedora-doc-utils-046efff9292446effed9f022efe7f34fc99e924b.zip
Moving these scripts to the packaging directory; they don't make sense
here in the per-revision directory.
Diffstat (limited to 'packaging/adaptive-index-html/index.html.in')
-rw-r--r--packaging/adaptive-index-html/index.html.in53
1 files changed, 53 insertions, 0 deletions
diff --git a/packaging/adaptive-index-html/index.html.in b/packaging/adaptive-index-html/index.html.in
new file mode 100644
index 0000000..4edcd26
--- /dev/null
+++ b/packaging/adaptive-index-html/index.html.in
@@ -0,0 +1,53 @@
+<!--
+ vim: ts=2 sw=2
+ -->
+<HTML>
+<HEAD>
+<SCRIPT language="javascript">
+<!--
+function getlanguage() {
+ language=navigator.language.replace( /-/, "_");
+ if( language == "" ) {
+ language = "<pri_lang/>";
+ }
+ prefix = "<prefix/>";
+ suffix = "<suffix/>";
+ switch( language ) {
+ default :
+ middle = language;
+ switch( middle ) {
+ default:
+ middle = "<pri_lang/>";
+ break;
+ <REMAP/>
+ }
+ break;
+ //* These browser languages are directly supported
+ <LANGS/>
+ }
+ window.location=prefix + middle + suffix;
+}
+// -->
+</SCRIPT>
+</HEAD>
+<BODY onload="javascript:getlanguage();">
+ <H1>Fedora Release Notes</H1>
+ <PARA>
+ In a moment, you should see the release notes in your language.
+ </PARA>
+ <PARA>
+ Depending on your browser, we may not be able to determine the
+ proper language to use.
+ </PARA>
+ <PARA>
+ If there is any problem, choose from the list below.
+ </PARA>
+ <PARA>
+ Use the links below to view the Feodra Release Notes in the language
+ of your choice.
+ </PARA>
+ <DL>
+ <ITEMS/>
+ </DL>
+</BODY>
+</HTML>