]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Generation of versionnumber in title bar
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 18 Mar 2002 22:52:03 +0000 (22:52 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 18 Mar 2002 22:52:03 +0000 (22:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@5583 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/title.html

index a1c1450c46e9909e2fec9e7d34472132eb0e8e1c..06024710ac5b399a9a21300062217775a88a601e 100644 (file)
@@ -5,26 +5,29 @@
 <title>deal.II Title Bar</title>
     <link href="screen.css" rel="StyleSheet" media="screen">
     <link href="print.css" rel="StyleSheet" media="print">
-    <meta name="author" content="Jan Schrage and others <deal@iwr.uni-heidelberg.de>">
-    <meta name="keywords" content="deal.II">
+    <meta name="author" content="deal.II <info@dealii.org>">
 </head>
 
 <!-- Page Body -->
-<body style="background-image:url(pictures/title-background.jpg);" lang="en">
-
-<!-- Title Frame -->
-
-<h1 style="text-align: center;">
-The deal.II homepage
-
-&nbsp;
-&nbsp;
-&nbsp;
-&nbsp;
-&nbsp;
-<b style="color:red">New web home (2002/03/07): www.dealii.org</b>
-</h1>
-
+<body style="background-image:url(pictures/title-background.jpg);">
+  <script type="text/javascript">
+  <!--
+  var version = "$Name$";
+  version=version.replace(/\$.*: */,"");
+  version=version.replace(/.*Version-/,"");
+  version=version.replace(/\$/, "");
+  version=version.replace(/-/g, ".");
+  version=version.replace(/ /g, "");
+  document.close();
+  document.open();
+  if (version != "")
+  {
+    document.writeln("<h1 style=\"text-align: center;\">The deal.II Homepage Version "+ version + "</h1>");
+  } else {
+    document.writeln("<h1 style=\"text-align: center;\">The deal.II Homepage</h1>");
+  }
+  //-->
+  </script>
 </body>
 </html>
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.