cvs: phpweb /include layout.inc

From: Date: Sat, 07 Oct 2006 10:00:44 +0000
Subject: cvs: phpweb /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32965@lists.php.net to get a copy of this message
goba Sat Oct 7 10:00:44 2006 UTC Modified files: /phpweb/include layout.inc Log: trying to hide print stylesheet from IE (below 6.0) http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.249&r2=1.250&diff_format=u Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.249 phpweb/include/layout.inc:1.250 --- phpweb/include/layout.inc:1.249 Thu Sep 28 13:34:12 2006 +++ phpweb/include/layout.inc Sat Oct 7 10:00:44 2006 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.249 2006/09/28 13:34:12 bjori Exp $ */ +/* $Id: layout.inc,v 1.250 2006/10/07 10:00:44 goba Exp $ */ // Set the static content root differently on php.net $_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ? @@ -123,13 +123,15 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>PHP{$title}</title> - <style type="text/css"> + <style type="text/css" media="all"> @import url("{$_SERVER['STATIC_ROOT']}/styles/site.css"); @import url("{$_SERVER['STATIC_ROOT']}/styles/{$mirror_specific_style}.css"); </style> - <style type="text/css" media="print"> - @import url("{$_SERVER['STATIC_ROOT']}/styles/print.css"); - </style> + <!--[if IE]><![if gte IE 6]><![endif]--> + <style type="text/css" media="print"> + @import url("{$_SERVER['STATIC_ROOT']}/styles/print.css"); + </style> + <!--[if IE]><![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 (#32965) next »