Re: cvs: phpweb /include layout.inc

From: Date: Sat, 07 Oct 2006 14:04:38 +0000
Subject: Re: cvs: phpweb /include layout.inc
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32977@lists.php.net to get a copy of this message
You misread the url. It says *hide* from IE (all IE versions). If you use this method to _display_ something in IE it will print the "-->". (see my prior mail for suggested solution). -Hannes On 10/7/06, Gabor Hojtsy <goba@php.net> wrote:
goba            Sat Oct  7 13:53:32 2006 UTC
Modified files:
   /phpweb/include     layout.inc
Log: shorter conditional comments, source: http://www.456bereastreet.com/archive/200511/valid_downlevelrevealed_conditional_comments/ http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.250&r2=1.251&diff_format=u Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.250 phpweb/include/layout.inc:1.251
--- phpweb/include/layout.inc:1.250     Sat Oct  7 10:00:44 2006
+++ phpweb/include/layout.inc Sat Oct 7 13:53:32 2006 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.250 2006/10/07 10:00:44 goba Exp $ */ +/* $Id: layout.inc,v 1.251 2006/10/07 13:53:32 goba Exp $ */ // Set the static content root differently on php.net $_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ? @@ -127,11 +127,11 @@ @import url("{$_SERVER['STATIC_ROOT']}/styles/site.css"); @import url("{$_SERVER['STATIC_ROOT']}/styles/{$mirror_specific_style}.css"); </style> - <!--[if IE]><![if gte IE 6]><![endif]--> + <!--[if gte IE6]>--> <style type="text/css" media="print"> @import url("{$_SERVER['STATIC_ROOT']}/styles/print.css"); </style> - <!--[if IE]><![endif]><![endif]--> + <!--<![endif]--> <meta http-equiv="Content-Type" content="text/html; charset={$config['charset']}"/> <link rel="shortcut icon" href="{$_SERVER['STATIC_ROOT']}/favicon.ico" /> <script type="text/javascript" src="{$_SERVER['STATIC_ROOT']}/userprefs.js"></script>{$base}{$meta}{$moreheadtags}


« previous php.mirrors (#32977) next »