changeset 83:766bc2221e0b

Merged.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 13 Mar 2014 02:59:08 +0200
parents cd121447a2e1 (diff) 3428ff77ff47 (current diff)
children 7ec0ad742009
files
diffstat 1 files changed, 14 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Thu Mar 13 02:58:50 2014 +0200
+++ b/index.php	Thu Mar 13 02:59:08 2014 +0200
@@ -315,13 +315,20 @@
 }
 
 // Copyright information etc.
-$progName = "AlchTool 1.6.0";
+$progName = "AlchTool 1.6.1";
 $progCopyright ="&copy; 2006-2014 Jeskko &amp; Ggr Pupunen";
 
 ?>
 <html>
  <head>
-  <title><?php echo $progName." - ".$dbModes[$mode][0]." view (".$dbNames[$dbModes[$mode][1]][$active].")"; ?></title>
+  <title><?php
+  $mdb = $dbModes[$mode];
+  $mdn = $dbNames[$mdb[1]][$active];
+  if (is_array($mdn))
+    $mdn = implode(" / ", $mdn);
+  
+  echo $progName." - ".$mdb[0]." view (".$mdn.")";
+  ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <link href="alch.css" title="compact" rel="stylesheet" type="text/css">
  </head>
@@ -332,10 +339,13 @@
 {
   var e = document.getElementById('legend');
   e.style.height = "3em";
-  if (e.style.top != "0px") {
+  if (e.style.top != "0px")
+  {
     savePos = e.style.top;
     e.style.top = "0px";
-  } else {
+  }
+  else
+  {
     e.style.top = savePos;
   }
 }