1
0
mirror of https://github.com/php/web-php.git synced 2026-04-01 04:02:10 +02:00
Files
archived-web-php/user/css.php
Gabor Hojtsy 14f886ad82 Let the country validity check at one place,
as we will need it more then once
2003-05-03 20:06:01 +00:00

14 lines
297 B
PHP

<?php
/* $Id$ */
include_once "prepend.inc";
// The output of this page should not be cached
header_nocache();
// If we have a valid country, output a CSS rule
// marking the events in the user's country specially
if (i2c_valid_country()) {
echo ".event_$COUNTRY { font-weight: bold; }";
}