cvs: phpweb /include layout.inc /user css.php index.php
| From: | James Cox | Date: | Tue, 13 May 2003 21:16:38 +0000 |
| Subject: | cvs: phpweb /include layout.inc /user css.php index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17559@lists.php.net to get a copy of this message | ||
imajes Tue May 13 17:16:38 2003 EDT
Removed files:
/phpweb/user css.php index.php
Modified files:
/phpweb/include layout.inc
Log:
ok, so actually we get even more of a gain by removing the /user/css.php stuff.
Flame me later, but this is going to stay.. we can't afford the apache hit this causes on
every page load.
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.148 phpweb/include/layout.inc:1.149
--- phpweb/include/layout.inc:1.148 Mon May 12 07:48:36 2003
+++ phpweb/include/layout.inc Tue May 13 17:16:38 2003
@@ -1,6 +1,6 @@
<?php
-/* $Id: layout.inc,v 1.148 2003/05/12 11:48:36 goba Exp $ */
+/* $Id: layout.inc,v 1.149 2003/05/13 21:16:38 imajes Exp $ */
// Print an image for a sized spacer
function spacer($width = 1, $height = 1, $return = false, $align = false, $extras = false)
@@ -203,7 +203,11 @@
<head>
<title>PHP<?php if ($title) echo ": $title";?></title>
<link rel="stylesheet" href="/style.css" />
- <link rel="stylesheet" href="/user/css.php" />
+ <?php
+ if (i2c_valid_country()) {
+ echo "<style>\n.event_$COUNTRY { font-weight: bold; }\</style>";
+ }
+ ?>
<link rel="shortcut icon" href="/favicon.ico" />
<?php echo (isset($SEARCH_BASE) ? '<base href="' . $SEARCH_BASE .
'" />' : ''); ?>
</head>