Show
Ignore:
Timestamp:
02/18/2005 02:27:34 PM (7 years ago)
Author:
kstemen
Message:

Set page encoding to UTF8 (some of the data from the MatML files is in UTF8, not ANSI).

Changed heat capacity so it uses Kelvin, like Thermal Conductivity.

Categorization color key is fixed for IE.

The extra 1's in unit descriptions have been removed, e.g. W-1-1/1-1-m-K is now W/m-K.

The unit conversion code now converts between degrees Fahrenheit, degrees Celcius, and Kelvin by only multiplying or dividing if those units appear with negative powers. I think this means I am treating all degrees Fahrenheit with negative powers as Rankin.

Upon Laura's request, the page title has been switched back to MatDL: MatML and Material Grapher.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/matml/webselector/php/select_other.php

    r152 r155  
    11<?php 
     2header("Content-Type: text/html; charset=utf-8");  
    23include("dbquery.php.inc"); 
    34include "setvars.inc.php"; 
     
    78<html> 
    89<head> 
    9    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
     10   <!--<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">--> 
    1011   <meta name="Author" content="MatDL Team"> 
    1112   <meta name="Description" content="MatDL Simple Selector"> 
     
    1920    <th width="24%" bordercolor="#BDB583" bgcolor="#BDB583" scope="col"><div align="center"><img src="images/MATDL-LOGO.JPG" width="240" height="85" border="0" usemap="#Map" /></div></th> 
    2021    <th width="49%" height="84" bordercolor="#BDB583" bgcolor="#BDB583" scope="col"><p> 
    21 <b><em style="font-size: 40px">MatDL: MatML and Ashby Plots Selector</em></b> 
     22<b><em style="font-size: 40px">MatDL: MatML and Material Grapher</em></b> 
    2223</p>    </th> 
    2324    <th width="27%" colspan="2" bordercolor="#BDB583" bgcolor="#BDB583" scope="col"><div align="center"><img src="images/NSF+NSDL-LOGO.JPG" width="256" height="77" border="0" usemap="#Map3Map" /> 
     
    5051echo "<td>\n"; 
    5152$color=$category_raw_colors[$number]; 
    52 echo sprintf("<table border=1 width=8 height=8 bgcolor=#%02X%02X%02X></table>\n",$color[0],$color[1],$color[2]); 
     53echo sprintf("<table border=1 width=8 height=8 bgcolor=#%02X%02X%02X><tr><td></td></tr></table>\n",$color[0],$color[1],$color[2]); 
    5354echo "</td>\n"; 
    5455echo "<td>\n"; 
     
    6869    echo "<tr>\n"; 
    6970    echo "<td>\n"; 
    70     echo sprintf("<table border=1 width=8 height=8 bgcolor=#%02X%02X%02X></table>\n",$color[0],$color[1],$color[2]); 
     71    echo sprintf("<table border=1 width=8 height=8 bgcolor=#%02X%02X%02X><tr><td></td></tr></table>\n",$color[0],$color[1],$color[2]); 
    7172    echo "</td>\n"; 
    7273    echo "<td>\n&nbsp;&nbsp;";