b312b42ad8c3e89350417bb7b05c9e05a1507281
kate
  Thu Jan 27 22:10:20 2011 -0800
Support for genome browser preview site.
1. Changes browser title in CGIs
2. Prints warning text on hgGateway
3. Prints warning text on home page

1. and 2. activated by HTTP_HOST prefix 'genome-preview', or by setting
test.preview=true in hg.conf

diff --git src/hg/htdocs/indexIntro.html src/hg/htdocs/indexIntro.html
index bfd99d8..2ed7f66 100755
--- src/hg/htdocs/indexIntro.html
+++ src/hg/htdocs/indexIntro.html
@@ -39,21 +39,32 @@
         	    examine expression patterns. 
 		    <A HREF="http://genome.ucsc.edu/cgi-bin/hgGenome?org=human">Genome 
 		    Graphs</A> allows you to 
         	    upload and display genome-wide data sets.</P>
 		    <P> 
 		    The UCSC Genome Browser is developed and maintained by the 
 		    Genome Bioinformatics Group,
 		    a cross-departmental team within the Center for Biomolecular
 		    Science and Engineering (<A HREF="http://www.cbse.ucsc.edu/"
 		    TARGET=_blank>CBSE</A>)  
 		    at the University of California Santa Cruz 
 		    (<A HREF="http://www.ucsc.edu/public/" 
 		    TARGET=_blank>UCSC</A>). 
 		    If you have feedback or questions concerning the tools or
 		    data on this website, feel free to contact us on our 
-		    <A HREF="contacts.html">public mailing list</A>. 
+		    <A HREF="contacts.html">public mailing list</A>.</P>
+
+<!--#if expr='"$SERVER_NAME" = "genome-preview.ucsc.edu" || "$SERVER_NAME" = "hgwdev-kate.cse.ucsc.edu"'-->
+<P><FONT color="grey">
+WARNING: This is our preview site. It is a weekly mirror of our internal 
+development server for public access.  Data and tools here are under 
+construction, have not been quality reviewed, and are subject to change 
+at any time.  We provide this site for early access, with the warning that it is
+less available and stable than our public site. For 
+high-quality reviewed annotations on our production server, visit
+<A href="http://genome.ucsc.edu">http://genome.ucsc.edu</a>.</P>
 		    </P>
+<!--#endif -->
                     </TD><TD WIDTH=15>
                 </TD></TR></TABLE>
             <BR></TD></TR></TABLE>
         </TD></TR></TABLE>